I had an fingerprint image, i want to make the fingerprint in the image white and the background black how to do that ?
5 views (last 30 days)
Show older comments
Raj Sekhar Sana
on 24 Oct 2017
Answered: Akira Agata
on 26 Oct 2017
I mean FingerPrint masking as mentioned in the image.
0 Comments
Accepted Answer
Akira Agata
on 26 Oct 2017
% Read image
I = imread('1_1.jpg');
% Binarize
Igray = rgb2gray(I);
BW = imbinarize(Igray);
% Create mask
BWmask = bwconvhull(~BW);
% Show the result
imshowpair(I,BWmask,'montage')
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!