00001 00016 #ifndef _DLR_NUMERIC_CONVOLUTIONSTRATEGY_H_ 00017 #define _DLR_NUMERIC_CONVOLUTIONSTRATEGY_H_ 00018 00019 namespace dlr { 00020 00021 namespace numeric { 00022 00023 enum ConvolutionStrategy { 00024 DLR_CONVOLVE_TRUNCATE_RESULT, 00025 DLR_CONVOLVE_PAD_RESULT, 00026 00028 DLR_CONVOLVE_ZERO_PAD_RESULT, 00029 00030 DLR_CONVOLVE_PAD_SIGNAL, 00031 DLR_CONVOLVE_ZERO_PAD_SIGNAL, 00032 DLR_CONVOLVE_REFLECT_SIGNAL, 00033 DLR_CONVOLVE_WRAP_SIGNAL 00034 }; 00035 00036 00037 enum ConvolutionROI { 00038 DLR_CONVOLVE_ROI_SAME, 00039 DLR_CONVOLVE_ROI_VALID, 00040 DLR_CONVOLVE_ROI_FULL 00041 }; 00042 00043 } // namespace numeric 00044 00045 } // namespace dlr 00046 00047 00048 /* ======= Declarations to maintain compatibility with legacy code. ======= */ 00049 00050 namespace dlr { 00051 00052 using numeric::ConvolutionStrategy; 00053 using numeric::DLR_CONVOLVE_TRUNCATE_RESULT; 00054 using numeric::DLR_CONVOLVE_ZERO_PAD_RESULT; 00055 using numeric::DLR_CONVOLVE_ZERO_PAD_SIGNAL; 00056 using numeric::DLR_CONVOLVE_REFLECT_SIGNAL; 00057 using numeric::DLR_CONVOLVE_WRAP_SIGNAL; 00058 00059 } // namespace dlr 00060 00061 #endif // #ifndef _DLR_NUMERIC_CONVOLUTIONSTRATEGY_H_
1.5.2