why would i need planes for

why would i need planes for

why should (and what is it?) 'planes' for ?

are planes layer ? of different images ?
or is plane 1 .. the reds
plane 2 the green
and plane 3 the blue ?

i do not understand

if i want to work with a 32 bits image with alpha channel
what do i need to use with imalloc ?

with using CreateDIBSection, i'll never have any plane
(i'm not english but dutch, and i looked everywhere, but i just don't get the idea of plane)

please someone explain,

friendly greetings,
Menno de Ruiter

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi,

you know, multi-channels images can be represented by different ways. In pixel-interleaved representation each pixel's color values are adjacent in memory. For 4 channel 4x3 image it look like this

c0c1c2c3 c0c1c2c3 c0c1c2c3 c0c1c2c3

c0c1c2c3 c0c1c2c3 c0c1c2c3 c0c1c2c3
c0c1c2c3 c0c1c2c3 c0c1c2c3 c0c1c2c3

whereas for plan-interleaved images each color values are grouped into different arrays. For example, for 4 channel 4x3 image:
c0c0c0c0

c0c0c0c0

c0c0c0c0

c1c1c1c1

c1c1c1c1

c1c1c1c1

c2c2c2c2

c2c2c2c2

c2c2c2c2

c3c3c3c3

c3c3c3c3

c3c3c3c3

Hope, this help.

Regards,
Vladimir

ah, ok,

so, like typical cyan magenta etc. stuff.. i use 4planes for output/sereration etc. ok..

Is there anypreferred used method for a 'normal' RGB & Alpha images (like an BMP with alpha channel or tga).. is this the 8u_AC4 ? or does this have a maximum or 256 colors (for each pixel) ? or does this have because there are 3 rgb channels of each 8 bits thus a full 24 bits 16 million color image ?

this is where i get confused... does 8u_ means it holds 8 bits on each color/C(hannel).. or do i need 32s_AC4 ? or is this a extreme way of producing extreme billinos of collors ?

is 8u_C3 being used for a 'normal' rgb 25 bits color bitmap ?
or a 32s_C1 (or 32s_C3) ?

Friendly Regards,
Menno de Ruiter

Leave a Comment

Please sign in to add a comment. Not a member? Join today