I am implementing an iris recognition system in matlab and have performed the following steps according to an algorithm proposed in a paper
For each row in the filtered image, assign a value of one to the pixels that have the minimum value in that row and the other pixels to zero
Again median filtering to remove white spots here and there.
States that: Get the row and column that has maximum number of ones. Then find the center (xo, yo) and the radii (rx, ry) as follows: xo = the index of this column, yo = the index of this row, rx = the number of ones in this row/2, ry = the number of ones in this column/2
My question is how do i do step 5 in MATLAB?