From: luka perne on 14 Jun 2010 04:23 I have a grayscale *.bmp image and I want to make some wavelet operations on it, so I need it in matrix dimensions m-by-n. But when I read the image using the command imread(), matlab puts it in m-by-n-by-3 matrix. I have already tried using the command rgb2ind() but without luck, because it darkens the picture totally. Can anyone help? tnx!
From: kinor on 14 Jun 2010 04:31 "luka perne" <akulenrep(a)gmail.com> wrote in message <hv4ot8$rfi$1(a)fred.mathworks.com>... > I have a grayscale *.bmp image and I want to make some wavelet operations on it, so I need it in matrix dimensions m-by-n. But when I read the image using the command imread(), matlab puts it in m-by-n-by-3 matrix. I have already tried using the command rgb2ind() but without luck, because it darkens the picture totally. Can anyone help? > tnx! help rgb2gray
From: luka perne on 14 Jun 2010 05:05 "kinor " <kinor.removethiswithdot(a)gmx.de> wrote in message <hv4pca$qn8$1(a)fred.mathworks.com>... > "luka perne" <akulenrep(a)gmail.com> wrote in message <hv4ot8$rfi$1(a)fred.mathworks.com>... > > I have a grayscale *.bmp image and I want to make some wavelet operations on it, so I need it in matrix dimensions m-by-n. But when I read the image using the command imread(), matlab puts it in m-by-n-by-3 matrix. I have already tried using the command rgb2ind() but without luck, because it darkens the picture totally. Can anyone help? > > tnx! > > help rgb2gray That's what I was looking for! tnx!
From: Sean on 14 Jun 2010 09:45 "luka perne" <akulenrep(a)gmail.com> wrote in message <hv4orb$o1f$1(a)fred.mathworks.com>... > I have a grayscale *.bmp image and I want to make some wavelet operations on it, so I need it in matrix dimensions m-by-n. But when I read the image using the command imread(), matlab puts it in m-by-n-by-3 matrix. I have already tried using the command rgb2ind() but without luck, because it darkens the picture totally. Can anyone help? > tnx! >>help rgb2gray
|
Pages: 1 Prev: how to get a m-by-n matrix from grayscale image? Next: GUI without GUIDE |