| cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
| cristy | fe676ee | 2013-11-18 13:03:38 +0000 | [diff] [blame^] | 2 | Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization |
| cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 3 | dedicated to making software imaging solutions freely available. |
| 4 | |
| 5 | You may not use this file except in compliance with the License. |
| 6 | obtain a copy of the License at |
| 7 | |
| 8 | http://www.imagemagick.org/script/license.php |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | |
| 16 | MagickCore discrete Fourier transform (DFT) methods. |
| 17 | */ |
| 18 | #ifndef _MAGICKCORE_FFT_H |
| 19 | #define _MAGICKCORE_FFT_H |
| 20 | |
| 21 | #if defined(__cplusplus) || defined(c_plusplus) |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
| cristy | 790190d | 2013-10-04 00:51:51 +0000 | [diff] [blame] | 25 | typedef enum |
| 26 | { |
| 27 | UndefinedComplexOperator, |
| cristy | 19f7886 | 2013-10-05 22:21:46 +0000 | [diff] [blame] | 28 | AddComplexOperator, |
| cristy | 790190d | 2013-10-04 00:51:51 +0000 | [diff] [blame] | 29 | ConjugateComplexOperator, |
| 30 | DivideComplexOperator, |
| cristy | f46941c | 2013-10-06 22:25:41 +0000 | [diff] [blame] | 31 | MagnitudePhaseComplexOperator, |
| cristy | 19f7886 | 2013-10-05 22:21:46 +0000 | [diff] [blame] | 32 | MultiplyComplexOperator, |
| cristy | f46941c | 2013-10-06 22:25:41 +0000 | [diff] [blame] | 33 | RealImaginaryComplexOperator, |
| cristy | 19f7886 | 2013-10-05 22:21:46 +0000 | [diff] [blame] | 34 | SubtractComplexOperator |
| cristy | 790190d | 2013-10-04 00:51:51 +0000 | [diff] [blame] | 35 | } ComplexOperator; |
| 36 | |
| cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 37 | extern MagickExport Image |
| cristy | 790190d | 2013-10-04 00:51:51 +0000 | [diff] [blame] | 38 | *ComplexImages(const Image *,const ComplexOperator,ExceptionInfo *), |
| cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 39 | *ForwardFourierTransformImage(const Image *,const MagickBooleanType, |
| 40 | ExceptionInfo *), |
| cristy | c955079 | 2009-11-13 20:05:42 +0000 | [diff] [blame] | 41 | *InverseFourierTransformImage(const Image *,const Image *, |
| 42 | const MagickBooleanType,ExceptionInfo *); |
| cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 43 | |
| 44 | #if defined(__cplusplus) || defined(c_plusplus) |
| 45 | } |
| 46 | #endif |
| 47 | |
| 48 | #endif |