blobFromImages (cv.Net) - MATLAB File Help
cv.Net.blobFromImages

Creates 4-dimensional blob from image or series of images

blob = cv.Net.blobFromImages(img)
blob = cv.Net.blobFromImages(imgs)
blob = cv.Net.blobFromImages(..., 'OptionName',optionValue, ...)

Input

Output

Options

Creates blob and optionally resizes and crops the images from center, subtracts mean values, scales values, and swaps blue and red channels.

If Crop is true, input image is resized so one side after resize is equal to corresponding dimension in Size and another one is equal or larger. Then, crop from the center is performed. If Crop is false, direct resize without cropping and preserving aspect ratio is performed.

A blob is a 4-dimensional matrix (so-called batch) with the following shape: [num, cn, rows, cols].

See also
Method Details
Access public
Sealed false
Static true