Identifying Round Objects MATLAB | Digital Image Processing

Опубликовано: 02 Октябрь 2024
на канале: Knowledge Amplifier
1,336
21

VVI:
------
Shape Factor – (4 * PI * Area) / (Perimeter^2).
This gives an indication as to the objects shape. Circles have the greatest area to perimeter ratio and this formula will approach a value of 1 for a perfect circle.
Squares are around 0.78 because Area of Square=a^2 , perimeter of Square is=4*a , so (4 * PI * Area) / (Perimeter^2)=(4*pi*a^2)/((4*a)^2)=(4*pi*a^2)/(16*a^2)=pi/4=0.78539816339744830961566084581988
So this parameter (Shape Factor) can be used to differentiate between Circles and Squares.

Code is given in the comment section.

Learn Complete Machine Learning & Data Science using MATLAB:
   • Data Science & Machine Learning using...  

Learn Digital Signal Processing using MATLAB:
   • Digital Signal Processing Matlab  

Learn Complete Image Processing & Computer Vision using MATLAB:
   • Digital Image Processing using MATLAB  

🙏🙏🙏🙏🙏🙏🙏🙏
YOU JUST NEED TO DO
3 THINGS to support my channel
LIKE
SHARE
&
SUBSCRIBE
TO MY YOUTUBE CHANNEL

#MATLAB #DigitalImageProcessing #ComputerVision