Image with LAB colorspace

Hi everyone,

Just wanted to know how can I have an image with LAB colorspace as it is done for example RGB.

itk::Image<itk::RGBPixel<InputDataType>, Diemnsions>

Thank you.

Regards,

Hrach

I don’t think LABPixel already exists, but nothing prevents you from inheriting from RGBPixel and defining conversions to/from RGB via constructors and assignment operators.