MCPcopy Create free account
hub / github.com/MasteringOpenCV/code / resizeImage

Function resizeImage

Chapter8_FaceRecognition/ImageUtils_0.7.cpp:1568–1625  ·  view source on GitHub ↗

Creates a new image copy that is of a desired size. The aspect ratio will be kept constant if 'keepAspectRatio' is true, by cropping undesired parts so that only pixels of the original image are shown, instead of adding extra blank space. Remember to free the new image later.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

cvRectFunction · 0.85
cvSizeFunction · 0.85
cropImageFunction · 0.70

Tested by

no test coverage detected