how can i compare plot of a image of bacteria with different plots of images of microorganism

4 views (last 30 days)
sir i am talking about plots of images.hope you are getting me comparison simply means in context of shape of image.sir i want to compare two images of different sample and identify the type on basis of shape

Accepted Answer

Image Analyst
Image Analyst on 25 Jan 2014
Extract the blue channel, threshold, call imclearborder to get rid of partial cells, label, then call regionprops and ask for various shape parameters like area, perimeter, EulerNumber, Solidity, etc.
  3 Comments
shanu
shanu on 26 Jan 2014
sir, if i want to compare the shape of two different images of different sample then how could i do that?Please reply soon for this...
Image Analyst
Image Analyst on 26 Jan 2014
Edited: Image Analyst on 26 Jan 2014
You could try morphometrics: http://en.wikipedia.org/wiki/Morphometrics No, I don't have any MATLAB code for that. Or you could calculate other things like the circularity =Perimeter^2/(4*pi*area), Solidity, major and minor axes, etc. I think I've done a great deal for you. Surely you must expect to do some of this yourself and not have me write the whole thing for you for free. I'll give you one more snippet to calculate circularities.
allPerimeters = [blobMeasurements.Perimeter];
allAreas = [blobMeasurements.Area];
circularities = appPerimeters .^ 2 ./ (4*pi*allAreas);
% Perfect circles will be 1 and gets bigger the more tortuous the border is.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!