Owen code for imopen morphology function why not work ?how to solve ?
Show older comments
clc
clear all
close all
im=imread('C:\Users\ASLAN\Desktop\ders\image processing\hw2\fingerprint.tif');
[m,n]=size(im);
a=[0 1 0;1 1 1;0 1 0];
for i=1:m
for j=1:n
if a(i,j)==0
im(i,j)=0;
[i,j]=min(im);
mm=min(im);
end
end
end
figure
imshow (mm);
2 Comments
KALYAN ACHARJYA
on 5 Nov 2019
[i,j]=min(im) ;
Can you elaborate more, what you are trying to do?
aslan memo
on 5 Nov 2019
Edited: aslan memo
on 5 Nov 2019
Answers (0)
Categories
Find more on Morphological Operations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!