Detect corners of different scales

machinevision

#1

Are there any settings in Images.imcorner that “tune” the scale or radius of the corners being detected? I tried setting blockSize here but I can’t get it to work…

For example, I’d like to detect the corners of the large squares in the following image, not the corners of all the small notches:

Possible solutions are:

  • reduce the image size: but that would reduce the accuracy of the corners’ locations.
  • try not to get those notches in the segmentation process, but that seems too sensitive to changes in the original images.

This relates to my previous question

Thanks!