motmot.imops - manipulate image codings

This package contains code to convert between different image codings.

motmot.imops.imops

manipulate image codings

motmot.imops.imops.is_coding_color()
return whether a coding represents a color image
motmot.imops.imops.to_mono8()

convert image to MONO8 encoding

Arguments

format : string
a string specifying the input format (e.g. ‘MONO8’,’YUV422’, etc.)
image : array-like
the raw image data in the format specified

Returns

mono8 : array-like
the image data in MONO8 encoding
motmot.imops.imops.to_rgb8()

convert image to RGB8 encoding

Arguments

format : string
a string specifying the input format (e.g. ‘MONO8’,’YUV422’, etc.)
image : array-like
the raw image data in the format specified

Returns

rgb8 : array-like
the image data in RGB8 encoding

Important links

Table Of Contents

Previous topic

motmot.FastImage – SIMD image processing

Next topic

Citations

This Page