Dilation(Complete Code & Explanation) | Image Processing | MATLAB
USECASE Question:
Suppose you want to remove all the circuit lines from the original circuit image, leaving only the rectangular outlines of microchips.
Prerequisite:
Prerequisite:
https://www.mathworks.com/help/images/ref/imerode.html
Image Erosion | MATLAB (with Animation)
https://www.youtube.com/watch?v=cp540HLuXRQ
Dilate image using imdilate:
https://www.mathworks.com/help/images/ref/imdilate.html
Code:
%%
%Reading the Image
clc
clear all
close all
I=imread('circbw.tif');
imshow(I);
%%
%Structural Element
SE = ones(30,30);
B=imerode(I,SE);
%%
%Plotting the Images
subplot(1,2,1);
imshow(I);
title('Original Image');
subplot(1,2,2);
BW3 =imdilate(B,SE);
imshow(BW3)
title('Detecting Rectangles');
#ImageProcessing #DIP #DSP
Видео Dilation(Complete Code & Explanation) | Image Processing | MATLAB автора Молодежный Python-гид
Видео Dilation(Complete Code & Explanation) | Image Processing | MATLAB автора Молодежный Python-гид
Информация
3 декабря 2023 г. 19:11:28
00:04:41
Похожие видео