Enumeration Case

kvImageCopyInPlace

A flag that copies the value of the edge pixel in the source to the destination.

Declaration

kvImageCopyInPlace = 2

Discussion

When you set this flag, and a convolution function is processing an image pixel for which some of the kernel extends beyond the image boundaries, vImage does not compute the convolution. Instead, the value of the particular pixel unchanged; it’s simply copied to the destination image. This flag is valid only for convolution operations. The morphology functions do not use this flag because they do not use pixels outside the image in any of their calculations.

See Also

Edging Modes

kvImageBackgroundColorFill

A flag that uses the background color for missing pixels.

kvImageEdgeExtend

A flag that extends the edges of the image infinitely.

kvImageTruncateKernel

A flag that uses only the part of the kernel that overlaps the image.