InverseDft
Compute the inverse DFT for a given frequency image.
Syntax
Definition:
HRESULT InverseDft(
HRESULT hrPrev,
ITcVnImage* ipFrequencyImage,
ITcVnImage*& ipSpatialImage,
bool bRealOutput
)
Parameters
Name |
Type |
Description |
---|---|---|
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | |
ipFrequencyImage |
Source frequency image (elements of type REAL or LREAL, 1 (packed CCS) or 2 (Re + Im) channels) | |
ipSpatialImage |
Destination image (Same type as ipFrequencyImage, but number of channels can vary depending on bRealOutput. An appropriate image will be created if required.) | |
bRealOutput |
bool |
Only relevant if ipFrequencyImage has 2 channels. If true, the result image will have only 1 channel. Otherwise, the result image will have 2 separate channels (Re + Im). If ipFrequencyImage has only 1 channel, packed CCS format is assumed and the result image will always have only 1 channel. |
Required License
TC3 Vision Base
System Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT V3.1.4024.54 or later | PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU | Tc3_Vision |