Hello, Could any one help me differentiate between these two pictures of currencies?
1 view (last 30 days)
Show older comments
Mennat Allah Elsenousy
on 27 Jun 2014
Commented: Mennat Allah Elsenousy
on 27 Jun 2014
I want a way of getting a feature that could differentiate between different currencies like the these two currencies.
<<
>>
0 Comments
Accepted Answer
Image Analyst
on 27 Jun 2014
How about just convert to grayscale, threshold, and look at the area fraction of white pixels? It will probably be very different for the two notes.
3 Comments
Image Analyst
on 27 Jun 2014
grayImage = rgb2gray(rgbImage);
threshold = grayThresh(grayImage);
binaryImage = im2bw(grayImage, threshold);
areaFraction = sum(binaryImage) / numel(binaryImage);
More Answers (0)
See Also
Categories
Find more on Image Data Workflows 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!