Image processing Image conversion

3 次查看(过去 30 天)
Dipak
Dipak 2012-6-22
编辑: DGM 2023-12-31
Hello,
How Do i convert any 8 bit,.16 bit,32 bit, 64 bit image to RGB that is 24 bit image? can any one has answer?
  1 个评论
Walter Roberson
Walter Roberson 2012-6-22
Are those "8 bits per channel", "16 bits per channel", and so on, or are those "8 bits monochrome", "16 bits monochrome", and so on?
Is "RGB that is 24 bit image" 8 bits for each of 3 channels = 24 bits total per pixel, or is it 24 bits for each channel = 72 bits total per pixel ?

请先登录,再进行评论。

回答(1 个)

DGM
DGM 2023-12-30
编辑:DGM 2023-12-31
Okay, so the output is a 24b RGB image. We can assume this means an 8,8,8,0,0 arrangement; that's pretty common. So the goal seems specific.
The input is "any 8 bit, 16 bit, 32 bit, 64 bit image". It's not enough to say that's unclear. It's universal. Are those also RGB formats? Maybe. Are they I/IA/RGBA/indexed? Maybe. How are the contents of an RGB pixel packed into 16 bits? Any way they might be. Are these images represented as a prismatic arrays in the workspace, or are they still somehow encoded in a file on disk? Maybe. Are they being read via imread()? What about fread()? -- or are they being accessed via .NET? Yes, maybe. Is any of this design ambiguity resolved prior to the developed solution being applied? No, apparently not.
What is the route from anywhere to Albequerque NM? It's the envelope which contains both Albequerque and the entire universe. Allot extra travel time in case it turns out that you didn't actually even want to go to Albequerque in the first place.

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by