thresholding background of a image

1 view (last 30 days)
tilak tenneti
tilak tenneti on 6 Nov 2014
Commented: Image Analyst on 10 Nov 2014
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

Answers (1)

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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!