I am trying to find the corners of the "rectangular" shapes. This code is working very well. But I dont know exactly how it works. Can you explain me ??
[I,J] = find(binaryimg>max(binaryimg(:))/2); IJ = [I,J]; [~,idx] = min(IJ*[1 1; -1 1; 1 -1; -1 -1].'); Corners = IJ(idx,:);
4 years ago | 2 answers | 0
Rough Fuzzy c-means for image segmentation
I want to apply RFCM to MRI images for segmentation. I am trying to find Matlab code but I couldn't find.
4 years ago | 1 answer | 0