help how do i get the umbral in my histogram? segmentation
Show older comments
i have done the segmentation by the otsu method my question is how i get the umbral in my histogram that determinate the separation between the two regions? i need a code thanks
Answers (4)
Image Analyst
on 25 Nov 2014
0 votes
I've never heard of the umbral. But to find the half way point in between the two peaks, first find the peaks, using findpeaks() if you have the Signal Processing Toolbox, or with thresholding and regionprops() if you have the Image Processing Toolbox. Then just take the average of the two locations.
3 Comments
Image Analyst
on 25 Nov 2014
ensg's reply moved from being an "Answer" to a comment here:
please i don´t understand the command findpeaks(). Please i attach my code and please can you put this command in my code? thank you
https://drive.google.com/file/d/0B9tyjtz9MlU9ZGU1dXpUUWZsaDg/view?usp=sharing https://drive.google.com/file/d/0B9tyjtz9MlU9N1otdjRqNjFpQmc/view?usp=sharing https://drive.google.com/file/d/0B9tyjtz9MlU9X3p5R2NmV2sxczQ/view?usp=sharing https://drive.google.com/file/d/0B9tyjtz9MlU9YkpsSi1ITXZRcUE/view?usp=sharing
here are the links the main code is called codigo thank you. i am doing my final project of my degree.
Image Analyst
on 25 Nov 2014
Do you have the Signal or Image processing Toolboxes? Please attach your code and data here with the paper clip icon.
Image Analyst
on 26 Nov 2014
Do you have the Signal or Image processing Toolboxes?
ensg
on 26 Nov 2014
0 votes
ensg
on 26 Nov 2014
0 votes
ensg
on 27 Nov 2014
0 votes
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!