dcv.imgproc.imgmanip

Image manipulation module.

Members

Functions

remap
auto remap(ImageTensor image, MapTensor map, ImageTensor prealloc = ImageTensor.init)

Pixel-wise remapping of the image.

resize
Slice!(SliceKind.contiguous, packs, V*) resize(Slice!(kind, packs, V*) slice, size_t[SN] newsize, TaskPool pool = taskPool)

Resize array using custom interpolation function.

scale
Slice!(kind, packs, V*) scale(Slice!(kind, packs, V*) slice, ScaleValue[SN] scale, TaskPool pool = taskPool)

Scale array size using custom interpolation function.

transformAffine
Slice!(kind, packs, V*) transformAffine(Slice!(kind, packs, V*) slice, inout TransformMatrix transform, size_t[2] outSize = [0, 0])

Transform an image by given affine transformation.

transformPerspective
Slice!(kind, packs, V*) transformPerspective(Slice!(kind, packs, V*) slice, TransformMatrix transform, size_t[2] outSize = [0, 0])

Transform an image by given perspective transformation.

warp
auto warp(ImageTensor image, MapTensor map, ImageTensor prealloc = ImageTensor.init)

Pixel-wise warping of the image.

Meta

Authors

Relja Ljubobratovic

License

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

Module contains:
resize scale transformAffine transformPerspective warp remap