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
Sur cette page du site, vous pouvez voir la vidéo en ligne Identifying Round Objects MATLAB | Digital Image Processing durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Knowledge Amplifier 13 décembre 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,336 fois et il a aimé 21 téléspectateurs. Bon visionnage!