F_VN_InverseDft
Compute the inverse DFT for a given frequency image.
Syntax
Definition:
FUNCTION F_VN_InverseDft : HRESULT
VAR_INPUT
ipFrequencyImage : ITcVnImage;
ipSpatialImage : Reference To ITcVnImage;
bRealOutput : BOOL;
hrPrev : HRESULT;
END_VAR
Inputs
Name |
Type |
Description |
---|---|---|
ipFrequencyImage |
Source frequency image (elements of type REAL or LREAL, 1 (packed CCS) or 2 (Re + Im) channels) | |
ipSpatialImage |
Reference To ITcVnImage |
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. |
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) |
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 |