Back to Adaptive Vision Library website

You are here: Start » Function Reference » Image Basics » CreateImageFromSurface

CreateImageFromSurface


Header:AVL.h
Namespace:avl

Creates an image of z-values of the given points.

Syntax

C++
C#
 
void avl::CreateImageFromSurface
(
	const avl::Surface& inSurface,
	avl::PlainType::Type inPixelType,
	atl::Optional<double> inPixelOffset,
	atl::Optional<double> inPixelScale,
	atl::Optional<float> inMissingPointValue,
	avl::Image& outImage
)

Parameters

Name Type Range Default Description
inSurface const Surface& Input surface
inPixelType PlainType::Type Real Output image pixel type
inPixelOffset Optional<double> NIL Offset that the input surface values have in the output image; if set to Nil, surface zOffset is chosen
inPixelScale Optional<double> 0.0 - 1.0D Scale that the input surface values have in the output image; if set to Nil, surface zScale is chosen
inMissingPointValue Optional<float> 0.0f Value assigned to pixels where point is undefined
outImage Image& Input surface depth image