Foundation (CVFoundation.dll) 14.0
Conversion Functions

Functions

cvbres_t ConvertTo16BPPSigned (IMG ImgIn, IMG &ImgOut)
 Creates a copy of an image, that is converted to 16 bit signed pixel data. More...
 
cvbres_t ConvertTo16BPPUnsigned (IMG ImgIn, IMG &ImgOut)
 Creates a copy of an image, that is converted to 16 bit unsigned pixel data. More...
 
cvbres_t ConvertTo32BPPFloat (IMG ImgIn, IMG &ImgOut)
 Creates a copy of an image, that is converted to 32 bit floating point data. More...
 
cvbres_t ConvertTo32BPPSigned (IMG ImgIn, IMG &ImgOut)
 Creates a copy of an image, that is converted to 32 bit signed pixel data. More...
 
cvbres_t ConvertTo8BPPUnsigned (IMG ImgIn, IMG &ImgOut)
 Creates a copy of an image, that is converted to 8 bit unsigned pixel data. More...
 
cvbres_t ScaleTo16BPPSigned (IMG ImgIn, IMG &ImgOut)
 Creates a copy of an image, that is scaled to 16 bit signed pixel data. More...
 
cvbres_t ScaleTo16BPPUnsigned (IMG ImgIn, IMG &ImgOut)
 Creates a copy of an image, that is scaled to 16 bit unsigned pixel data. More...
 
cvbres_t ScaleTo32BPPFloat (IMG ImgIn, IMG &ImgOut, double MinVal, double MaxVal)
 Creates a copy of an image, that is scaled to 32 bit floating point pixel data. More...
 
cvbres_t ScaleTo32BPPSigned (IMG ImgIn, IMG &ImgOut)
 Creates a copy of an image, that is scaled to 32 bit signed pixel data. More...
 
cvbres_t ScaleTo8BPPUnsigned (IMG ImgIn, IMG &ImgOut)
 Creates a copy of an image, that is scaled to 8 bit unsigned pixel data. More...
 

Detailed Description

Function Documentation

◆ ConvertTo16BPPSigned()

cvbres_t ConvertTo16BPPSigned ( IMG  ImgIn,
IMG ImgOut 
)

Creates a copy of an image, that is converted to 16 bit signed pixel data.

Attention
Check the supported image formats for the input image before.
Parameters
[in]ImgInHandle of image object.
[out]ImgOutHandle of result image.
Returns
0 : OK
< 0: an error occurred.
Supported platforms:
Win32
Win64
Related Topics:
ConvertTo8BPPUnsigned, ConvertTo16BPPUnsigned, ConvertTo32BPPSigned, ConvertTo32BPPFloat
ScaleTo8BPPUnsigned, ScaleTo16BPPUnsigned, ScaleTo16BPPSigned, ScaleTo32BPPSigned, ScaleTo32BPPFloat
Examples:
Visual Basic - VB Dynamic Threshold OCX Example
Visual C++ - VC Dynamic Threshold Example

◆ ConvertTo16BPPUnsigned()

cvbres_t ConvertTo16BPPUnsigned ( IMG  ImgIn,
IMG ImgOut 
)

Creates a copy of an image, that is converted to 16 bit unsigned pixel data.

Attention
Check the supported image formats for the input image before.
Parameters
[in]ImgInHandle of image object.
[out]ImgOutHandle of result image.
Returns
0 : OK
< 0: an error occurred.
Supported platforms:
Win32
Win64
Related Topics:
ConvertTo8BPPUnsigned, ConvertTo16BPPSigned, ConvertTo32BPPSigned, ConvertTo32BPPFloat
ScaleTo8BPPUnsigned, ScaleTo16BPPUnsigned, ScaleTo16BPPSigned, ScaleTo32BPPSigned, ScaleTo32BPPFloat
Examples:
Visual Basic - VB Dynamic Threshold OCX Example
Visual C++ - VC Dynamic Threshold Example

◆ ConvertTo32BPPFloat()

cvbres_t ConvertTo32BPPFloat ( IMG  ImgIn,
IMG ImgOut 
)

Creates a copy of an image, that is converted to 32 bit floating point data.

Attention
Check the supported image formats for the input image before.
Parameters
[in]ImgInHandle of image object.
[out]ImgOutHandle of result image.
Returns
0 : OK
< 0: an error occurred.
Supported platforms:
Win32
Win64
Related Topics:
ConvertTo8BPPUnsigned, ConvertTo16BPPSigned, ConvertTo32BPPSigned, ConvertTo16BPPUnsigned
ScaleTo8BPPUnsigned, ScaleTo16BPPUnsigned, ScaleTo16BPPSigned, ScaleTo32BPPSigned, ScaleTo32BPPFloat
Examples:
Visual Basic - VB Dynamic Threshold OCX Example
Visual C++ - VC Dynamic Threshold Example

◆ ConvertTo32BPPSigned()

cvbres_t ConvertTo32BPPSigned ( IMG  ImgIn,
IMG ImgOut 
)

Creates a copy of an image, that is converted to 32 bit signed pixel data.

Attention
Check the supported image formats for the input image before.
Parameters
[in]ImgInHandle of image object.
[out]ImgOutHandle of result image.
Returns
0 : OK
< 0: an error occurred.
Supported platforms:
Win32
Win64
Related Topics:
ConvertTo8BPPUnsigned, ConvertTo16BPPSigned, ConvertTo32BPPFloat, ConvertTo16BPPUnsigned
ScaleTo8BPPUnsigned, ScaleTo16BPPUnsigned, ScaleTo16BPPSigned, ScaleTo32BPPSigned, ScaleTo32BPPFloat
Examples:
Visual Basic - VB Dynamic Threshold OCX Example
Visual C++ - VC Dynamic Threshold Example

◆ ConvertTo8BPPUnsigned()

cvbres_t ConvertTo8BPPUnsigned ( IMG  ImgIn,
IMG ImgOut 
)

Creates a copy of an image, that is converted to 8 bit unsigned pixel data.

Attention
Check the supported image formats for the input image before.
Parameters
[in]ImgInHandle of image object.
[out]ImgOutHandle of result image.
Returns
0 : OK
< 0: an error occurred.
Supported platforms:
Win32
Win64
Related Topics:
ConvertTo32BPPSigned, ConvertTo16BPPSigned, ConvertTo32BPPFloat, ConvertTo16BPPUnsigned
ScaleTo8BPPUnsigned, ScaleTo16BPPUnsigned, ScaleTo16BPPSigned, ScaleTo32BPPSigned, ScaleTo32BPPFloat
Examples:
Visual Basic - VB Dynamic Threshold OCX Example
Visual C++ - VC Dynamic Threshold Example

◆ ScaleTo16BPPSigned()

cvbres_t ScaleTo16BPPSigned ( IMG  ImgIn,
IMG ImgOut 
)

Creates a copy of an image, that is scaled to 16 bit signed pixel data.

Attention
Check the supported image formats for the input image before.
Parameters
[in]ImgInHandle of image object.
[out]ImgOutHandle of result image.
Returns
0 : OK
< 0: an error occurred.
Supported platforms:
Win32
Win64
Related Topics:
ConvertTo32BPPSigned, ConvertTo16BPPSigned, ConvertTo32BPPFloat, ConvertTo16BPPUnsigned, ConvertTo8BPPUnsigned
ScaleTo8BPPUnsigned, ScaleTo16BPPUnsigned, ScaleTo32BPPSigned, ScaleTo32BPPFloat
Examples:
Visual Basic - VB Dynamic Threshold OCX Example
Visual C++ - VC Dynamic Threshold Example

◆ ScaleTo16BPPUnsigned()

cvbres_t ScaleTo16BPPUnsigned ( IMG  ImgIn,
IMG ImgOut 
)

Creates a copy of an image, that is scaled to 16 bit unsigned pixel data.

Attention
Check the supported image formats for the input image before.
Parameters
[in]ImgInHandle of image object.
[out]ImgOutHandle of result image.
Returns
0 : OK
< 0: an error occurred.
Supported platforms:
Win32
Win64
Related Topics:
ConvertTo32BPPSigned, ConvertTo16BPPSigned, ConvertTo32BPPFloat, ConvertTo16BPPUnsigned, ConvertTo8BPPUnsigned
ScaleTo8BPPUnsigned, ScaleTo16BPPSigned, ScaleTo32BPPSigned, ScaleTo32BPPFloat
Examples:
Visual Basic - VB Dynamic Threshold OCX Example
Visual C++ - VC Dynamic Threshold Example

◆ ScaleTo32BPPFloat()

cvbres_t ScaleTo32BPPFloat ( IMG  ImgIn,
IMG ImgOut,
double  MinVal,
double  MaxVal 
)

Creates a copy of an image, that is scaled to 32 bit floating point pixel data.

Attention
Check the supported image formats for the input image before.
Parameters
[in]ImgInHandle of image object.
[out]ImgOutHandle of result image.
[in]MinValMinimum value to occur in the pixel data of the output image.
[in]MaxValMaximum value to occur in the pixel data of the output image.
Returns
0 : OK
< 0: an error occurred.
Supported platforms:
Win32
Win64
Related Topics:
ConvertTo32BPPSigned, ConvertTo16BPPSigned, ConvertTo32BPPFloat, ConvertTo16BPPUnsigned, ConvertTo8BPPUnsigned
ScaleTo8BPPUnsigned, ScaleTo16BPPSigned, ScaleTo32BPPSigned, ScaleTo16BPPUnsigned
Examples:
Visual Basic - VB Dynamic Threshold OCX Example
Visual C++ - VC Dynamic Threshold Example

◆ ScaleTo32BPPSigned()

cvbres_t ScaleTo32BPPSigned ( IMG  ImgIn,
IMG ImgOut 
)

Creates a copy of an image, that is scaled to 32 bit signed pixel data.

Attention
Check the supported image formats for the input image before.
Parameters
[in]ImgInHandle of image object.
[out]ImgOutHandle of result image.
Returns
0 : OK
< 0: an error occurred.
Supported platforms:
Win32
Win64
Related Topics:
ConvertTo32BPPSigned, ConvertTo16BPPSigned, ConvertTo32BPPFloat, ConvertTo16BPPUnsigned, ConvertTo8BPPUnsigned
ScaleTo8BPPUnsigned, ScaleTo16BPPSigned, ScaleTo32BPPFloat, ScaleTo16BPPUnsigned
Examples:
Visual Basic - VB Dynamic Threshold OCX Example
Visual C++ - VC Dynamic Threshold Example

◆ ScaleTo8BPPUnsigned()

cvbres_t ScaleTo8BPPUnsigned ( IMG  ImgIn,
IMG ImgOut 
)

Creates a copy of an image, that is scaled to 8 bit unsigned pixel data.

Attention
Check the supported image formats for the input image before.
Parameters
[in]ImgInHandle of image object.
[out]ImgOutHandle of result image.
Returns
0 : OK
< 0: an error occurred.
Supported platforms:
Win32
Win64
Related Topics:
ConvertTo32BPPSigned, ConvertTo16BPPSigned, ConvertTo32BPPFloat, ConvertTo16BPPUnsigned, ConvertTo8BPPUnsigned
ScaleTo32BPPFloat, ScaleTo16BPPSigned, ScaleTo32BPPSigned, ScaleTo16BPPUnsigned
Examples:
Visual Basic - VB Dynamic Threshold OCX Example
Visual C++ - VC Dynamic Threshold Example