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

조회 수: 1 (최근 30일)
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
Penny13
Penny13 2019년 4월 27일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2019년 4월 27일
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
Rodrick
Rodrick 2019년 4월 27일
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 ?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Dimensionality Reduction and Feature Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by