How to convert a multipage tif image in RGB into Grayscale
显示 更早的评论
Hi, I have a multipage tif image in RGB mode obtained from a video. Since the video is recorded in RGB mode,
I need to convert this multipage tif image from RGB into Grayscale. Can anyone help me ?
Thank you very much.
回答(2 个)
Ben11
2014-6-26
So you have one single RGB image? If so you can use
rgb2gray(Image)
to get the grayscale. Otherwise you can access individual channels with (:,:,Channel), which will be grayscale. Is that it?
Image Analyst
2014-6-26
0 个投票
What output format do you want? An avi file (movie file)? I've not dealt with multipage tiff images before - is that what your video camera gave you?
3 个评论
zy
2014-6-26
Image Analyst
2014-6-26
Do you want single frames (one image per one TIFF file)? Or a multi-page TIFF (multiple images in a single TIFF file)?
zy
2014-6-26
类别
在 帮助中心 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!