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 comentarios

ensg
ensg el 24 de Nov. de 2014
this is the histogram
ensg
ensg el 25 de Nov. de 2014
and i need this histogram my question is how i get the umbral 'T' I NEED A CODE TO GET T

Iniciar sesión para comentar.

Respuestas (4)

Image Analyst
Image Analyst el 25 de Nov. de 2014
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 comentarios

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?

Iniciar sesión para comentar.

ensg
ensg el 26 de Nov. de 2014
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 el 26 de Nov. de 2014
you don´t pay attention to the comments in the code
ensg
ensg el 27 de Nov. de 2014
thank you very much i have understood this command and i have got the umbral

Preguntada:

el 24 de Nov. de 2014

Respondida:

el 27 de Nov. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by