Calculating Object Perimeters in Binary Images Using MATLAB
This MATLAB code demonstrates how to find the perimeter of objects in a binary image by applying erosion and image subtraction techniques in digital image processing.
About this video
Code:
clc
clear all
close all
warning off
x=imread('circles.png');
imshow(x);
title('Original Image');
se=ones(3,3);
sq=imerode(x,se);
figure;imshow(x-sq);
title('Perimeter Extraction using own code');
figure;imshow(bwperim(x));
title('Perimeter Extraction using MATLAB inbuilt function');
figure;imshow(abs((x-sq)-bwperim(x,8)));
title('Difference between 2 extracted perimeters');
Learn Image Processing using MATLAB:
https://www.youtube.com/watch?v=L9hku2og874&list=PLjfRmoYoxpNostbIaNSpzJr06mDb6qAJ0&index=2&t=9s
#DigitalImageProcessing #MATLAB #ComputerVision
4.3
2 user reviews
Write a Review
User Reviews
0 reviewsBe the first to comment...
Video Information
Views
2.9K
Total views since publication
Likes
31
User likes and reactions
Duration
5:38
Video length
Published
Jul 15, 2020
Release date
Quality
hd
Video definition
About the Channel
Related Trending Topics
LIVE TRENDSThis video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!
THIS VIDEO IS TRENDING!
This video is currently trending in Spain under the topic 'g'.
Share This Video
SOCIAL SHAREShare this video with your friends and followers across all major social platforms including X (Twitter), Facebook, Youtube, Pinterest, VKontakte, and Odnoklassniki. Help spread the word about great content!