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
In questa pagina del sito puoi guardare il video online Identifying Round Objects MATLAB | Digital Image Processing della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Knowledge Amplifier 13 dicembre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,336 volte e gli è piaciuto 21 spettatori. Buona visione!