How can I remove the circles(different colours) from the dermoscopic image?

조회 수: 2 (최근 30일)
Nazia Hameed
Nazia Hameed 2017년 10월 2일
댓글: Nazia Hameed 2017년 10월 9일
My dataset contains a variety of noise. One noise is in the form of different shapes(circles) of different sizes and colors at different locations. How can I remove them? Please give me some guidelines or some hints/code from where to start. Please see the attached image. I will be really thankful
  댓글 수: 6
Nazia Hameed
Nazia Hameed 2017년 10월 3일
편집: Nazia Hameed 2017년 10월 3일
ok. Thank you, I will have a look. I tried color segmentation and getting initial results. Thank so much.
Nazia Hameed
Nazia Hameed 2017년 10월 3일
I have tried and I generated a mask. Can you plz tell me how can I fill the holes? I have tried your code available on https://uk.mathworks.com/matlabcentral/answers/195337-i-want-to-fill-some-small-holes-into-black-because-the-whole-shape-is-black-but-there-are-some-irreg But its not working. I have also tried imfill function. for filling holes I am writing the below code
%
smallestAcceptableHoleSize = 4000; % in pixels.
fillimage2 = bwareaopen(fillimage, smallestAcceptableHoleSize);
subplot(4, 4, 13);
imshow(fillimage2, []),title('Fill Image');

댓글을 달려면 로그인하십시오.

답변 (2개)

Selva Karna
Selva Karna 2017년 10월 7일
first separate region based object, after that apply contour , further apply binary selection .

Image Analyst
Image Analyst 2017년 10월 7일
What I'd do is to threshold the saturation channel since the colored circles have much higher saturation than the skin. Attached is a demo.
  댓글 수: 1
Nazia Hameed
Nazia Hameed 2017년 10월 9일
First of all Thank you so much for your time you are spending to help me. I am really really thankful to you and may you have the best of all the things. I tried your code but this is also detecting the area of interest. All I want is to create a generic code/algo that can be applied on all the images (with circles/without circles) with different types of diseases. The benign cancer is really small but the malignant cancer are really large in size and also the colour is different. When I apply the one developed by you as well as by me it detects the region of interest too. Please see attached picture. is there any way I can detect using shape?
once again thank you so much.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by