Is there some full code for the problem about pixel density for feature extraction?

1 view (last 30 days)
Hay all, i have some 64x64 pixels image(bitscale) in different folder, try there some folder A,B,...until E. I want to extraction that image to get their feature and loop that extraction in every folder. Let's say 1 for black and 0 for white.
Here example of that image:
Deeply in my heart, i appreciate every help that you gave. Thank you very much.

Accepted Answer

Image Analyst
Image Analyst on 15 Jan 2018
You can get a binary image like
binaryImage = grayImage < 128; % or whatever value works.
beyond that you can use regionprops() or somehow otherwise obtain the features you want, like morphology or whatever.
  10 Comments
Elder Winter
Elder Winter on 6 Feb 2018
How about this code
counterFirst = sum(blockSize(:)==1);
blockImage = blockproc(setInteger,blockSize,counterFirst);
I don't know what kind of function is needed

Sign in to comment.

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!