help how do i get the umbral in my histogram? segmentation

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

2 Kommentare

this is the histogram
and i need this histogram my question is how i get the umbral 'T' I NEED A CODE TO GET T

Melden Sie sich an, um zu kommentieren.

Antworten (4)

Image Analyst
Image Analyst am 25 Nov. 2014

0 Stimmen

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 Kommentare

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.
Do you have the Signal or Image processing Toolboxes? Please attach your code and data here with the paper clip icon.
Do you have the Signal or Image processing Toolboxes?

Melden Sie sich an, um zu kommentieren.

ensg
ensg am 26 Nov. 2014

0 Stimmen

the volume i put the link because it´s too big tacnasal20.m is the main code you must to change 2.0 to 2.2 because i give you the volume 2.2 thank youu
ensg
ensg am 26 Nov. 2014

0 Stimmen

you don´t pay attention to the comments in the code
ensg
ensg am 27 Nov. 2014

0 Stimmen

thank you very much i have understood this command and i have got the umbral

Gefragt:

am 24 Nov. 2014

Beantwortet:

am 27 Nov. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by