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 Comments

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

Sign in to comment.

Answers (4)

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

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?

Sign in to comment.

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
you don´t pay attention to the comments in the code
thank you very much i have understood this command and i have got the umbral

Asked:

on 24 Nov 2014

Answered:

on 27 Nov 2014

Community Treasure Hunt

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

Start Hunting!