thresholding background of a image

i have a rgb image [lesion] and its lesion_mask[appears black]. The lesion mask has value 0 outside the border,i.e, black and 1 on the border ,i.e, white and 2 [ colored] inside the border. i want to threshold the outside part of the border and overlay this mask on the lesion . can i do it with the following
lesion.*uint8(lesion_mask)
the lesion is attached
i am a beginner in image processing so your help with syntax will be appreciated
thank you

Respuestas (1)

Image Analyst
Image Analyst el 6 de Nov. de 2014

0 votos

I don't see the lesion mask image. For starters, study my attached masking demo.

2 comentarios

tilak tenneti
tilak tenneti el 10 de Nov. de 2014
i have attached the mask , please check since it has zero values on the background it appears black
Image Analyst
Image Analyst el 10 de Nov. de 2014
Then your segmentation algorithm is not effective. Choose a different one that will give you a mask that is not all zeros.

Iniciar sesión para comentar.

Preguntada:

el 6 de Nov. de 2014

Comentada:

el 10 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