- 20.5 Retinal Images, Analysis of Eye, etc.
- 20.5.1 Eye, Cornea, Corneal Images
- 20.5.2 Optic Disc Location, Optic Disc Detection
- 20.5.3 Retinal Images, Angiography, Blood Vessels in the Eye
- 20.5.3.1 Retinal Microaneurysms, Detection
- 20.5.4 Glaucoma Retinopathy, Retinal Analysis Application
- 20.5.5 Cataracts, Detection, Analysis, Surgery
- 20.5.6 Diabetic Retinopathy, Retinal Analysis Application
- 20.5.7 Macular Degeneration Detection, AMD, Retinal Analysis Application
- 20.5.8 Retinal Images, Optical Coherence Tomography, OCT
locate a perfect circular boundary of a segmented region
2 次查看(过去 30 天)
显示 更早的评论
%segementation of cup using active counter(snakes)
I = imread('after opening 1.jpg'); %-- load the image
m = zeros(size(I,1),size(I,2)); %-- create initial mask
m(300:329,300:329) = 1;
I = imresize(I,.5); %-- make image smaller
m = imresize(m,.5); % for fast computation
subplot(2,2,1); imshow(I); title('Input Image');
subplot(2,2,2); imshow(m); title('Initialization');
subplot(2,2,3); title('Segmentation');
seg = region_seg(I, m,220); %-- Run segmentation
subplot(2,2,4);figure, imshow(seg); title('segemented cup');
imwrite(seg,'segemented cup 1.jpg')
I segmented the Cup region using an active counter (snake). Now I want to locate the segmented region on the original image as a perfect circular boundary. Could you assist in modifying the code to accomplish this?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1171903/image.jpeg)
0 个评论
采纳的回答
Image Analyst
2022-10-29
Find better algorithms here:
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Retinal Imaging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!