Shortcuts

caer.filters

caer.filters.brighten(img)[source]

Brighten any BGR/RGB image

Parameters

img (ndarray) – Any regular BGR/RGB image

Returns

Brightened image

caer.filters.invert(img)[source]

Invert any BGR/RGB image

Parameters

img (ndarray) – Any regular BGR/RGB image

Returns

Inverted image

caer.filters.summer(img)[source]

Convert an image using a “Winter” filter For values of gamma above 1, the values are increased and for below 1, the pixel values are decreased. It is implemented by creating a lookup table and using cv2.LUT(). The values of the Red channel of BGR and Saturation of HSV is increased by taking a value of gamma greater than 1 and the values of the Blue channel is decreased by taking a value less than 1.

Parameters

img (ndarray) – Any regular BGR/RGB image

Returns

Winter image

caer.filters.winter(img)[source]

Convert an image using a “Winter” filter

Parameters

img (ndarray) – Any regular BGR/RGB image

Returns

Winter image

Read the Docs v: stable
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.