Description: Objective
-
The program should recognize objects like circles, rectangles, and squares the input image.
Introduction
This is a shapes classifier based on the properties of each shape, like roundness, ratio of dimensions, centroid,?etc
In this classifier we will recognize only shapes like circles, rectangles, and squares the input image.
So, we will concentrate on the steps we will follow to recognize those shapes any input image.
We have seven steps:
1 - Read the RGB (colored) image in user.
2 - Convert image (RGB) colored to gray image.
3 - Threshold the image (convert gray image to binary image).
4 - Invert the binary image (in order to speed up the time of processing).
5 - Find the boundaries concentrate.
6 - Determine shapes properties (ratio of dimensions, roundness).
7 - Classify shapes according to its properties.
Input
-
RGB image have the shapes to recognize.
Output
The RGB image with shapes recognized and labeled.
To Search:
File list (Check if you may need any files):
test.bmp
Classify.m
license.txt