imaqLineProfile

NI Vision for LabWindows/CVI Function

imaqLineProfile

Usage

LineProfile* imaqLineProfile(const Image* image, Point start, Point end);

Purpose

Computes the profile of a line of pixels.

Image Types Supported

IMAQ_IMAGE_U8, IMAQ_IMAGE_I16, IMAQ_IMAGE_SGL

Parameters

Name

Type

Description

image const Image* The image containing a line whose profile the function computes.
start Point The first point of the line.
end Point The last point of the line.

Return Value

Type

Description

LineProfile* On success, this function returns a report containing information about the line. On failure, this function returns NULL. To get extended error information, call imaqGetLastError(). When you are finished with the line profile, dispose of it by calling imaqDispose().