MATLAB: I need to calculate certain parameters for chromosome in the image. how can i select region of chromosome alone from the background to calculate parameters.

image processingImage Processing Toolbox

Best Answer

Threshold:
binaryImage = grayImage > thresholdValue;
measurements = regionprops(binaryImage, 'all');