dcv.imgproc.color

Module contains color format convertion operations.

Module contains:
rgb2gray gray2rgb rgb2hsv hsv2rgb rgb2yuv yuv2rgb

Members

Enums

Rgb2GrayConvertion
enum Rgb2GrayConvertion

RGB to Grayscale convertion strategy.

Functions

bgr2gray
Slice!(SliceKind.contiguous, [2], V*) bgr2gray(Slice!(SliceKind.contiguous, [3], V*) input, Slice!(SliceKind.contiguous, [2], V*) prealloc, Rgb2GrayConvertion conv)

Convert BGR image to grayscale.

bgr2grayImplLuminance
void bgr2grayImplLuminance(RGBGRAY pack)
Undocumented in source. Be warned that the author may not have intended to support it.
gray2rgb
Slice!(SliceKind.contiguous, [3], V*) gray2rgb(Slice!(SliceKind.contiguous, [2], V*) input, Slice!(SliceKind.contiguous, [3], V*) prealloc)

Convert gray image to RGB.

gray2rgbImpl
void gray2rgbImpl(GRAYRGB pack)
Undocumented in source. Be warned that the author may not have intended to support it.
hsv2rgb
Slice!(SliceKind.contiguous, [3], R*) hsv2rgb(Slice!(SliceKind.contiguous, [3], V*) input, Slice!(SliceKind.contiguous, [3], R*) prealloc)

Convert HSV image to RGB color format.

hsv2rgbImpl
void hsv2rgbImpl(HSVRGB pack)
Undocumented in source. Be warned that the author may not have intended to support it.
rgb2gray
Slice!(SliceKind.contiguous, [2], V*) rgb2gray(Slice!(SliceKind.contiguous, [3], V*) input, Slice!(SliceKind.contiguous, [2], V*) prealloc, Rgb2GrayConvertion conv)

Convert RGB image to grayscale.

rgb2grayImplLuminance
void rgb2grayImplLuminance(RGBGRAY pack)
Undocumented in source. Be warned that the author may not have intended to support it.
rgb2grayImplMean
void rgb2grayImplMean(P pack)
Undocumented in source. Be warned that the author may not have intended to support it.
rgb2hsv
Slice!(SliceKind.contiguous, [3], R*) rgb2hsv(Slice!(SliceKind.contiguous, [3], V*) input, Slice!(SliceKind.contiguous, [3], R*) prealloc)

Convert RGB image to HSV color format.

rgb2hsvImpl
void rgb2hsvImpl(RGBHSV pack)
Undocumented in source. Be warned that the author may not have intended to support it.
rgb2yuv
Slice!(SliceKind.contiguous, [3], V*) rgb2yuv(Slice!(SliceKind.contiguous, [3], V*) input, Slice!(SliceKind.contiguous, [3], V*) prealloc)

Convert RGB image format to YUV.

rgb2yuvImpl
void rgb2yuvImpl(RGBYUV pack)
Undocumented in source. Be warned that the author may not have intended to support it.
yuv2rgb
Slice!(SliceKind.contiguous, [3], V*) yuv2rgb(Slice!(SliceKind.contiguous, [3], V*) input, Slice!(SliceKind.contiguous, [3], V*) prealloc)

Convert YUV image to RGB.

yuv2rgbImpl
void yuv2rgbImpl(YUVRGB pack)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta

Authors

Relja Ljubobratovic

License

$(LINK3 http://www.boost.org/LICENSE_1_0.txt, Boost Software License - Version 1.0).