Is there a way that I could prove that the pattern of distribution of white pixels in the two attached images are different?

1 Ansicht (letzte 30 Tage)
Hello,
In the two attached binary images, I want to find a way to prove that the pattern of white pixels in the two images are different, so is there any way in MATLAB statistics or digital image processing to approach such a problem?
Thanks for your guidance,
  6 Kommentare
Penny13
Penny13 am 27 Apr. 2019
Thank you @Image Analyst. I will look into particle size analysis. I also attached gray level images. The other thing is I want to possibly use SVM for training and testing because I want to find the difference between those two group of the images first.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Image Analyst
Image Analyst am 27 Apr. 2019
Well there are tons of things you could measure. Area fraction, nearest neighbor distances, area distribution, blob intensities, etc. Literally dozens upon dozens of things.
One approach is to just measure everything you can think of, then use principal components analysis, pca(), to make a model. You could threshold on the first principal component if there are two classes.
Or you could try kmeans() if you know there are two classes.
Or you should try the Classification Learner app to find out which classification/prediction scheme works best given the measurements you have made. Often random forest, though very ad hoc, turns out to be best. Or try several of them and have them "vote" like "adaboost" methods.
But don't discount deep learning - it may end up being the best of them all.
  4 Kommentare
Rodrick
Rodrick am 27 Apr. 2019
Hello Penny13. I am writing a Matlab code for a project (Intelligent Tobacco Curing Control Based on Color Recognition). I am using a Raspberry Pi and Pi Camera to capture images of leaves and then the code has to determine the curing stage. The curing stages are identified by the color of the leaf and there are basically 3 main colors(identifiers). There are two parameters(temperature and humidity) which must then be adjusted to required levels unique to each of the 3 stages.
The colors are: 1. Green (Initial Stage) 2. Yellow (Yellowing Stage) 3. Lemonish Colour (Colour fixing stage). A captured process image will be compared with a dataset in Matlab to recognise the curing stage. After recognising the color and stage MATLAB has to then command the Pi to Switch on a control mechanism or end effector, for the prototype it (the end effector) may just be a small Fan to show control of humidity and temperature adjustments will be shown by switiching on of a LED for each temperature level.
So my question is, what are the resources you recommend for me to read to accomplish my goals and have you done something almost similar before ?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Dimensionality Reduction and Feature Extraction finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by