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.
🔥 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 Thailand under the topic 'สภาพอากาศ'.
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
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