Prev: GUI, pushbutton, callback
Next: BPSK demodulator
From: Suchita on 9 Sep 2009 09:22 Hey this part is not working again.. ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <1add3253-de4c-41c1-893a-90c0cf7ac780(a)l9g2000yqi.googlegroups.com>... > On Sep 8, 11:06?pm, "Suchita " <suchitamanand...(a)hotmail.com> wrote: > > Or is it like the image should be only RGB not the gray scale one. But if I need to make it run for any kind of image(no matter whelther it is RGB or gray scale one) , is there any common way to do that ? > -------------------------------------------------------------------------------------------------------------- > You can't have a blue tint unless the image is RGB. So convert your > monochrome images to RGB. You could use that cat(3,..) or ind2rgb() > functions. > Something like: > > [rows columns numberOfColors] = size(imageArray); > if numberOfColors == 1 > rgbImage = ind2rgb(imageArray); > end |