I need to draw 3 circles on retinal images for classification.Can we draw circles of required radius using matlab program?.

1 回表示 (過去 30 日間)
Hi,I am doing project on Diabetic Retinopathy. I need to classify retinal images into mild,moderate and severe conditions.For this classification I have to draw 3 circles-1/3 of optic disc diameter,1 optic disc diameter and 2 OD diameter.Please suggest me the matlab program to draw circles automatically.
  2 件のコメント
arun anoop m
arun anoop m 2020 年 6 月 27 日
use boundingbox in matlab to "Rectangle" around the object
Image Analyst
Image Analyst 2020 年 6 月 27 日
I think you meant viscircles(), not bounding box.

サインインしてコメントする。

回答 (4 件)

Vineet
Vineet 2013 年 4 月 24 日
Use the following command: pdecirc(xc,yc,radius) specify the center of the circle in xc and yc.
  3 件のコメント
Anoop
Anoop 2015 年 2 月 23 日
please attach your code as its for Diabetic retinopathy grading using 3 circles.Even I am need of it very badly
Anoop
Anoop 2015 年 3 月 8 日
i did it using region props and pixel list and used circle.m program to get required output

サインインしてコメントする。


Anoop
Anoop 2015 年 2 月 23 日
please attach your code as its for Diabetic retinopathy grading using 3 circles.Even I am need of it very badly

Anoop
Anoop 2015 年 3 月 8 日
i did it using region props and pixel list and used circle.m program to get required output

Image Analyst
Image Analyst 2020 年 6 月 27 日
Assuming you have the centroid (x,y) and diameter of the optic disk, you can use viscircles():
% Get 3 centers.
centers = repmat([x, y], 3, 1]);
% Make diameters of 1/3, 1, and 2 times the optic disk diameter.
diameters = [opticDiskDiameter / 3, opticDiskDiameter, 2 * opticDiskDiameter];
% Draw the circles over the image.
viscircles(centers, diameters);

カテゴリ

Help Center および File ExchangeExplore and Edit Images with Image Viewer App についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by