ImageMap Method (Rect, Size2D)

CVB.Net Documentation
Creates a mapped image of the sourceRect region of this image scaled to the targetSize.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public MappedImage Map(
	Rect sourceRect,
	Size2D targetSize
)

Parameters

sourceRect
Type: Stemmer.CvbRect
Region to create map from.
targetSize
Type: Stemmer.CvbSize2D
Target size of the mapped image.

Return Value

Type: MappedImage
Mapped image.
Remarks

As this is simply a view to another image no interpolation is done when the mapped pixels are accessed. Smaller sizes result in pixel skipping while larger sizes result in replicated pixels.
See Also

Reference