I am working on palm print recognisation,I have an PALM image ,I need to extract R G B components and NRI,CAN ANYONE TELL HOW TO PROCESS,i HAVE UPLOADED THE IMAGE http://imgur.com/wNXiE

댓글 수: 1

Hitarth
Hitarth 2013년 5월 30일
im1=I(:,:,1);
im2=rgb2gray(I);
im3=imsubtract(im1,im2);
imshow(im3)
im4=im2bw(im3,0.5);
imshow(im4)

댓글을 달려면 로그인하십시오.

 채택된 답변

Image Analyst
Image Analyst 2011년 9월 24일

1 개 추천

If you have an RGB image, to get the red, green, and blue:
% Extract the individual red, green, and blue color channels.
redChannel = rgbImage(:, :, 1);
greenChannel = rgbImage(:, :, 2);
blueChannel = rgbImage(:, :, 3);
If you have some special format image, such as a multi-page TIFF image, with the "N" image also stored in it (as your web page hints at), then you might look into the Tiff class. Look it up in the help, especially the page on "Reading Image Data and Metadata from TIFF Files"

댓글 수: 3

FIR
FIR 2011년 9월 26일
thank u siR,could u please tell how to extraxt NIR PORTION for taht image which i have uploaded
http://imgur.com/wNXiE
Walter Roberson
Walter Roberson 2011년 9월 26일
That image is a PNG file. PNG files are not able to store additional bands, with the exception that a band could be encoded as the alpha (transparency) channel.
It is, however, not clear that what you uploaded was the _original_ image, so we could suspect that the original image was stored in some other file format.
Or is the question merely one of cropping that (already small) image to extract the portion labled NIR ? Working with images that small seems unlikely to be productive.
Kwen
Kwen 2013년 11월 12일
This was exactly what I needed, thank you!!!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

질문:

FIR
2011년 9월 24일

댓글:

2013년 11월 12일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by