EasyImage::GradientScalar

Computes the (scalar) gradient image derived from a given source image.

Namespace: Euresys::Open_eVision

[C++]

void GradientScalar(
   EROIBW8* sourceImage,
   EROIBW8* destinationImage,
   EROIBW8* lookupTable
)

void GradientScalar(
   EROIBW32* sourceImage,
   EROIBW8* destinationImage,
   EROIBW8* lookupTable
)

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination image/ROI.

lookupTable

Pointer to the image/ROI used as a preset lookup-table. This lookup table can be generated by one of EasyImage::ArgumentImage or EasyImage::ModulusImage, or be user-defined.

Remarks

The scalar value derived from the gradient depends on the preset lookup-table image.
The gradient of a gray-scale image corresponds to a vector, the components of which are the partial derivatives of the gray-level signal in the horizontal and vertical direction. A vector can be characterized by a direction and a length, corresponding to the gradient orientation, here called argument, and the gradient magnitude, here called magnitude.
Function EasyImage::GradientScalar generates a gradient direction or gradient magnitude map (gray-level image) from a given gray-level image. For efficiency, a pre-computed lookup-table is used to define the desired transformation. This lookup-table is stored as a standard EImageBW8/EImageBW16. Use one of EasyImage::ArgumentImage or EasyImage::ModulusImage once before calling EasyImage::GradientScalar.

EasyImage.GradientScalar

Computes the (scalar) gradient image derived from a given source image.

Namespace: Euresys.Open_eVision

[C#]

void GradientScalar(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 destinationImage,
   Euresys.Open_eVision.EROIBW8 lookupTable
)

void GradientScalar(
   Euresys.Open_eVision.EROIBW32 sourceImage,
   Euresys.Open_eVision.EROIBW8 destinationImage,
   Euresys.Open_eVision.EROIBW8 lookupTable
)

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination image/ROI.

lookupTable

Pointer to the image/ROI used as a preset lookup-table. This lookup table can be generated by one of EasyImage::ArgumentImage or EasyImage::ModulusImage, or be user-defined.

Remarks

The scalar value derived from the gradient depends on the preset lookup-table image.
The gradient of a gray-scale image corresponds to a vector, the components of which are the partial derivatives of the gray-level signal in the horizontal and vertical direction. A vector can be characterized by a direction and a length, corresponding to the gradient orientation, here called argument, and the gradient magnitude, here called magnitude.
Function EasyImage::GradientScalar generates a gradient direction or gradient magnitude map (gray-level image) from a given gray-level image. For efficiency, a pre-computed lookup-table is used to define the desired transformation. This lookup-table is stored as a standard EImageBW8/EImageBW16. Use one of EasyImage::ArgumentImage or EasyImage::ModulusImage once before calling EasyImage::GradientScalar.