Question: Solve the q using matlab based on this algorithim ( - Get BW image - Determine the expected center (Colc Rowc) - Initialize the expected
Solve the q using matlab based on this algorithim
(
- Get BW image
- Determine the expected center (Colc Rowc)
- Initialize the expected array r (ranges from 1: max expected radius)
- Find the indices of white points (expected circumference points)
(rows,cols)
- Calculate the distance R between the expected center and each white point.
- Increment r(R) by 1.
- Get where r==max(r) and this the obtained radius which has the max number of white points composing the circumference.
- Draw a circle with that radius around the expected center.
Matlab For image proccessing :
Q- Write a Matlab code that can apply Hough transform to detect the circular shapes in medical images (use the retinal images to detect the optic disc) ?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
