Identifying circles that have black dots in them

조회 수: 2 (최근 30일)
AAS
AAS 2021년 2월 18일
댓글: KALYAN ACHARJYA 2021년 2월 19일
Is there any way to identify all the circles in this image and within that can we identify the circles that have black dots in them?
For example can we identify the circles in red markup that have black dots and circles in blue markup those that dont.

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2021년 2월 18일
The name of color is for human perception only. Are they absolutely black, if yes, after converting to a gray image, 0 should be a gray level? Please check, or you can check the corresponding coordinates, or 0 in all three color planes.
grayImage=rgb2gray(rgbImage);
data=grayImage==0;
imshow(data);
Next count the all disjoint white blobs.(Simple: See Morpho Operations)
If the level of black gray cannot be considered absolute black, then you can try with a slightly higher gray value.
grayImage=rgb2gray(rgbImage);
data=grayImage<=5; % Check the threshold value
imshow(data);
It is all about putting in more and more effort and achieving accurate results.
  댓글 수: 2
AAS
AAS 2021년 2월 18일
편집: AAS 2021년 2월 18일
I dont think this works as the outline of the cells are also "black". the problem is because its a microscopy image, the outlines are uneven and hence cant be used to separate the circle from the "black" dot inside.
I have attached the image where I am showing all the 0 values in the image.
KALYAN ACHARJYA
KALYAN ACHARJYA 2021년 2월 19일
Can you again clarify the logic "which cells to detect"?
I am expecting a clear statement for the condition (If Possible: Maths language is much better)

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

카테고리

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

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by