Extract max height of each blob of an image with many blobs
Mostra commenti meno recenti
%Loaded the variables on mat-file workspace: data file is given as height %Identified the threshold for removing the background using histogram %Plot of the data height scaling it %Save the data above 200 %Everything that was below 200 is not a number, above 200 is 1. %Transformed the data height to binary data %Created a structered element to be used on the erosion fuctions. In this a disk, size 5 was used. %Used Erode function to output the minimum value of the image data in the structuring element %Used Dilate funtion to outputs the maximum value of the image; %Blob; Separate the images in blobs and indentify the number of blobs %Identified 43 blobs using regionprops which gives Area, centroid and a boundingbox. %How to extract the max height of each blob? I have two set of data one is height(output data froma tool, each pixel one height. Transformed this to binary data.
Risposte (1)
Mohammads M's
il 22 Gen 2012
0 voti
Thank you so much,..........
Categorie
Scopri di più su Image Quality in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!