Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
double to RGB image

Subject: double to RGB image

From: Nor Aznim

Date: 2 Apr, 2010 13:26:21

Message: 1 of 7

hi...

anyone can help me on image processing?i have an image that i've convert it into luminance,then splitting it into 8x8 blocks, then i have quantized its coefficient before insert another bit of hidden image inside the earlier image.now i have a double class image,and i want to convert it into RGB.
do anyone can give me the idea?

Subject: double to RGB image

From: ImageAnalyst

Date: 2 Apr, 2010 14:42:36

Message: 2 of 7

On Apr 2, 9:26 am, "Nor Aznim" <chempaka_darw...@yahoo.com> wrote:
> hi...
>
> anyone can help me on image processing?i have an image that i've convert it into luminance,then splitting it into 8x8 blocks, then i have quantized its coefficient before insert another bit of hidden image inside the earlier image.now i have a double class image,and i want to convert it into RGB.
> do anyone can give me the idea?

----------------------------------------
Not exactly sure I follow what you said, but if you just want to get
to a regular 24 bit RGB image (8 bits for each color channel) just
cast it with the uint8() function
rgb8bit = uint8(rgbDouble);

Subject: double to RGB image

From: Dave Robinson

Date: 2 Apr, 2010 15:33:22

Message: 3 of 7

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <725759f7-2dee-4103-8fce-ee4794ac9f82@n13g2000vbn.googlegroups.com>...
> On Apr 2, 9:26 am, "Nor Aznim" <chempaka_darw...@yahoo.com> wrote:
> > hi...
> >
> > anyone can help me on image processing?i have an image that i've convert it into luminance,then splitting it into 8x8 blocks, then i have quantized its coefficient before insert another bit of hidden image inside the earlier image.now i have a double class image,and i want to convert it into RGB.
> > do anyone can give me the idea?
>
> ----------------------------------------
> Not exactly sure I follow what you said, but if you just want to get
> to a regular 24 bit RGB image (8 bits for each color channel) just
> cast it with the uint8() function
> rgb8bit = uint8(rgbDouble);

Hi IA

That was my first thought, but then noticed that he said he had converted his image to luminance, but never said he had kept the colour information, if this had been discarded then we are back to the situation where what he asks is impossible. Even if he had kept the colour information, the description of the processing is that vague that it isn't at all obvious how you would, or even could reform back to a full colour image.

Have a good Easter

Dave Robinson


Regards

Dave Robinson

Subject: double to RGB image

From: us

Date: 2 Apr, 2010 15:40:37

Message: 4 of 7

"Nor Aznim" <chempaka_darwish@yahoo.com> wrote in message <hp4r9t$peo$1@fred.mathworks.com>...
> hi...
>
> anyone can help me on image processing?i have an image that i've convert it into luminance,then splitting it into 8x8 blocks, then i have quantized its coefficient before insert another bit of hidden image inside the earlier image.now i have a double class image,and i want to convert it into RGB.
> do anyone can give me the idea?

probably - if only CSSMers knew what ...exactly... you meant by
...convert it into RGB...
eg, 2D -> 3D (?)...

us

Subject: double to RGB image

From: ImageAnalyst

Date: 2 Apr, 2010 16:30:44

Message: 5 of 7

Dave:
You're right. I ignored all that vague, poorly stated stuff in the
beginning and (not feeling like prodding for more info at the moment),
simply answered his question (knowing full well that he may get
unexpected results). Perhaps he'll clarify.

Subject: double to RGB image

From: Nor Aznim

Date: 9 Apr, 2010 12:36:07

Message: 6 of 7

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <d3a5b5b9-3635-48fc-a824-6ac25a7e37b9@j41g2000vbe.googlegroups.com>...
> Dave:
> You're right. I ignored all that vague, poorly stated stuff in the
> beginning and (not feeling like prodding for more info at the moment),
> simply answered his question (knowing full well that he may get
> unexpected results). Perhaps he'll clarify.

dear IA and dave

actually the process is about an image compression in DCT. so that, the compressed image cannot be read in RGB anymore?thanx for giving response

Subject: double to RGB image

From: Rob Campbell

Date: 9 Apr, 2010 12:54:22

Message: 7 of 7

insert another bit of hidden image inside the earlier image.now i have a double class image,and i want to convert it into RGB.
> do anyone can give me the idea?

Do you mean this:
http://www.mathworks.com/matlabcentral/fileexchange/26322-mat2im

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us