Home | Tutorials | Wiki | Issues
Ask Your Question
0

What R_FLOAT32 stand for in PixelFormat enum ?

asked 2015-08-20 07:10:47 -0600

Hugo Start gravatar image

I'm especially wondering about the R_.

public: enum PixelFormat
{
    UNKNOWN_PIXEL_FORMAT = 0,
    L_INT8,
    L_INT16,
    RGB_INT8,
    RGBA_INT8,
    BGRA_INT8,
    RGB_INT16,
    RGB_INT32,
    BGR_INT8,
    BGR_INT16,
    BGR_INT32,
    R_FLOAT16,
    RGB_FLOAT16,
    R_FLOAT32, // <- This one
    RGB_FLOAT32,
    BAYER_RGGB8,
    BAYER_RGGR8,
    BAYER_GBRG8,
    BAYER_GRBG8,
    PIXEL_FORMAT_COUNT
};

Source: Image.hh on gazebo Bitbucket repo

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-08-20 07:54:05 -0600

nkoenig gravatar image

R_FLOAT32 has one 32bit float value stored in the red channel.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-08-20 07:10:47 -0600

Seen: 129 times

Last updated: Aug 20 '15