teakay
teakay

Reputation: 65

Matlab detect darker red in all red image

I want to analyze medical image by segmenting darker red from this image, because the darker red indicating internal bleeding. (Sorry if the image looks creepy). enter image description here

1st image is original image

2nd image with adjusted contrast

3rd grayscale image

4th binary image with not setting threshold

5th binary image with minthreshold 0 and maxthreshold 15

6th imcomplement image

The problem here is, if you see the original image, you can see darker red on the upper right, and thin dark red line on the swollen part in the middle, which is the internal bleeding I want to get...but I cant get it.

Is there any specific method to get it?

Any help I really appreciate. Thanks in advance.

Upvotes: 1

Views: 296

Answers (2)

Dima
Dima

Reputation: 39389

Try using SegmentTool: An Interactive GUI for Segmenting Images

Upvotes: 1

lennon310
lennon310

Reputation: 12689

Maybe you can try segmentation in LAB color space:

colorTransform = makecform('srgb2lab');
I = applycform(I, colorTransform);
imshow(I(:,:,2)>165)

enter image description here

I implement the lab conversion on your original image, you can try to observe the difference on your image with intensity adjusted.

Upvotes: 3

Related Questions