| MIL 10 Reference
| Customize Help
| Save Settings

MimWaveletSetFilter



See also
Availability
Not available in MIL-Lite
Available in MIL

Available on Windows
Available on Linux

Available on Non-Matrox computer
Available on Matrox 4Sight-X
Available on Matrox 4Sight GP
Available on Matrox Supersight
function map Function map
Examples
None.
Synopsis
Set wavelet filters for a custom wavelet context.
Syntax
void MimWaveletSetFilter(
MIL_ID WaveletContextImId, //in
MIL_ID LowForwardRealFilterId, //in
MIL_ID HighForwardRealFilterId, //in
MIL_ID LowReverseRealFilterId, //in
MIL_ID HighReverseRealFilterId, //in
MIL_ID LowForwardImaginaryFilterId, //in
MIL_ID HighForwardImaginaryFilterId, //in
MIL_ID LowReverseImaginaryFilterId, //in
MIL_ID HighReverseImaginaryFilterId, //in
MIL_INT64 ControlFlag //in
)
Description

This function allows you to set wavelet filters for a custom wavelet context.

Filter parameters must specify the identifier of a kernel buffer allocated using MbufAlloc...() with M_KERNEL. Each kernel buffer type must be 32-bit float (32 + M_FLOAT). The height (SizeY) of each kernel buffer must be 1. The width (SizeX) of each kernel buffer must be identical. Kernels contain the filter values used by the wavelet transformation, when you call MimWaveletTransform() with a custom wavelet context.

Each filter parameter can be set to M_NULL if you do not require its information. At least one filter parameter must specify the identifier of a kernel.

Note that this function reference has not been updated for a MIL system added during a MIL update. Refer to the MIL system's release note to see if there is complementary information.
Parameters
This function is not supported on the selected boards.
Parameters
WaveletContextImId

Specifies the identifier of a custom wavelet image processing context allocated using MimAlloc() with M_WAVELET_TRANSFORM_CUSTOM_CONTEXT.

LowForwardRealFilterId

Specifies the identifier of the kernel buffer containing the real part of the complex numbers used for the low-pass filter of a forward wavelet transformation. The kernel must be 32-bit float, have a height of 1, and a width that is identical to the other kernels. If you do not require the filter information related to this parameter, set it to M_NULL.

HighForwardRealFilterId

Specifies the identifier of the kernel buffer containing the real part of the complex numbers used for the high-pass filter of a forward wavelet transformation. The kernel must be 32-bit float, have a height of 1, and a width that is identical to the other kernels. If you do not require the filter information related to this parameter, set it to M_NULL.

LowReverseRealFilterId

Specifies the identifier of the kernel buffer containing the real part of the complex numbers used for the low-pass filter of a reverse wavelet transformation. The kernel must be 32-bit float, have a height of 1, and a width that is identical to the other kernels. If you do not require the filter information related to this parameter, set it to M_NULL.

HighReverseRealFilterId

Specifies the identifier of the kernel buffer containing the real part of the complex numbers used for the high-pass filter of a reverse wavelet transformation. The kernel must be 32-bit float, have a height of 1, and a width that is identical to the other kernels. If you do not require the filter information related to this parameter, set it to M_NULL.

LowForwardImaginaryFilterId

Specifies the identifier of the kernel buffer containing the imaginary part of the complex numbers used for the low-pass filter of a forward wavelet transformation. The kernel must be 32-bit float, have a height of 1, and a width that is identical to the other kernels. If you do not require the filter information related to this parameter, set it to M_NULL.

HighForwardImaginaryFilterId

Specifies the identifier of the kernel buffer containing the imaginary part of the complex numbers used for the high-pass filter of a forward wavelet transformation. The kernel must be 32-bit float, have a height of 1, and a width that is identical to the other kernels. If you do not require the filter information related to this parameter, set it to M_NULL.

LowReverseImaginaryFilterId

Specifies the identifier of the kernel buffer containing the imaginary part of the complex numbers used for the low-pass filter of a reverse wavelet transformation. The kernel must be 32-bit float, have a height of 1, and a width that is identical to the other kernels. If you do not require the filter information related to this parameter, set it to M_NULL.

HighReverseImaginaryFilterId

Specifies the identifier of the kernel buffer containing the imaginary part of the complex numbers used for the high-pass filter of a reverse wavelet transformation. The kernel must be 32-bit float, have a height of 1, and a width that is identical to the other kernels. If you do not require the filter information related to this parameter, set it to M_NULL.

ControlFlag

Reserved for future expansion and must be set to M_DEFAULT.

Compilation information
Header Include mil.h.
Library Use mil.lib; milim.lib.
DLL Requires mil.dll; milim.dll.
WAVELET TRANSFORM CUSTOM CONTEXT FLOAT FLOAT FLOAT FLOAT FLOAT FLOAT FLOAT FLOAT