You are here: Start » AVL.NET » AVS.ImageProfileAlongPath Method

AVS.ImageProfileAlongPath Method

Creates a series of segments across the input path, measures the average pixel intensity on each of the segments, and creates the final profile from those values.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ImageProfileAlongPath
(
	AvlNet.ScanMapState ioState,
	AvlNet.Image inImage,
	AvlNet.Path inScanPath,
	int inScanWidth,
	AvlNet.SamplingParams inSamplingParams,
	float inSmoothingStdDev,
	AvlNet.AccumulationMode inAccumulationMode,
	AvlNet.Profile outProfile,
	AvlNet.Path outPath
)

Parameters

Name Type Range Default Description
ioStateAvlNet.ScanMapState
inImageAvlNet.ImageInput image.
inScanPathAvlNet.PathPath along which the profile is extracted.
inScanWidthint<1, INF>5Width of the scan field in pixels. Default value: 5.
inSamplingParamsAvlNet.SamplingParamsParameters controlling the sampling process.
inSmoothingStdDevfloat<0.0f, INF>0.6fStandard deviation of the gaussian smoothing applied to the extracted profile. Default value: 0.6f.
inAccumulationModeAvlNet.AccumulationModeDetermines how the pixel values are combined.
outProfileAvlNet.ProfileThe resulting profile of the pixel brightness.
outPathAvlNet.PathThe path consisting of the points from which the resulting profile is extracted.

Function Overrides

See also