How to effectively classify images based on color feature?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have set of currency images which i am classifying based on their RGB value. Due to some similarity in pixels of different class images I am not able to classify them properly..
Please suggest some ways to improve Thanks
댓글 수: 0
답변 (1개)
Image Analyst
2014년 4월 2일
Just take the mean LAB value. Convert RGB into LAB with applycform. Get the right transform and be able to handle illumination differences by using an x-rite Color Checker Chart so that you can calibrate your intensities and colors. The notes almost certainly have different LAB means. If they don't then look at the means in smaller areas, say, divide the note up into quadrants and look at the means there. It should not be too hard to figure out which image is which currency note.
댓글 수: 2
Image Analyst
2014년 12월 26일
From the help for makecform:
Convert RGB image to L*a*b*, assuming input image is sRGB.
rgb = imread('peppers.png');
cform = makecform('srgb2lab');
lab = applycform(rgb,cform);
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!