thresholding background of a image

1 次查看(过去 30 天)
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

回答(1 个)

Image Analyst
Image Analyst 2014-11-6
I don't see the lesion mask image. For starters, study my attached masking demo.
  2 个评论
tilak tenneti
tilak tenneti 2014-11-10
i have attached the mask , please check since it has zero values on the background it appears black
Image Analyst
Image Analyst 2014-11-10
Then your segmentation algorithm is not effective. Choose a different one that will give you a mask that is not all zeros.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by