I am given a series of images taken from similar heights and am tasked to count how many coins there are in each picture. I used imfindcircles and completed it but is there a similar approach that can be used to find square/rectangular objects such as dice? If not, then how am I able to get MATLAB to pick out the white in the die and count each one. I attempted to select a few white pixels from the image and use a range to find the die but I didn't know where to go afterward.
MATLAB: Does MATLAB have a way to detect squares in an image
image segmentation
Best Answer