1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-17 07:04:18 +08:00

Fast F-transform added.

New method added plus minor fixes

Tests finalization

Whitespace fix.

Warning fixes.

Whitespace warning.
This commit is contained in:
Pavel Vlasanek
2017-05-14 16:47:49 +02:00
parent fa94c16065
commit aceaa03473
5 changed files with 370 additions and 5 deletions

View File

@@ -121,6 +121,24 @@ namespace ft
*/
CV_EXPORTS_W int FT02D_iteration(InputArray matrix, InputArray kernel, OutputArray output, InputArray mask, OutputArray maskOutput, bool firstStop);
/** @brief Sligtly less accurate version of F0-transfrom computation optimized for higher speed. The methods counts with linear basic function.
@param matrix Input 3 channels matrix.
@param radius Radius of the **LINEAR** basic function.
@param output Output array.
This function computes F-transfrom and inverse F-transfotm using linear basic function in one step. It is ~10 times faster than **FT02D_process** method.
*/
CV_EXPORTS_W void FT02D_FL_process(InputArray matrix, const int radius, OutputArray output);
/** @brief Sligtly less accurate version of F0-transfrom computation optimized for higher speed. The methods counts with linear basic function.
@param matrix Input 3 channels matrix.
@param radius Radius of the **LINEAR** basic function.
@param output Output array.
This function computes F-transfrom and inverse F-transfotm using linear basic function in one step. It is ~9 times faster then **FT02D_process** method and more accurate than **FT02D_FL_process** method.
*/
CV_EXPORTS_W void FT02D_FL_process_float(InputArray matrix, const int radius, OutputArray output);
//! @}
}
}

View File

@@ -56,7 +56,7 @@ namespace ft
/** @brief Creates kernel from basic functions.
@param A Basic function used in axis **x**.
@param B Basic function used in axis **y**.
@param kernel Final 32-b kernel derived from **A** and **B**.
@param kernel Final 32-bit kernel derived from **A** and **B**.
@param chn Number of kernel channels.
The function creates kernel usable for latter fuzzy image processing.
@@ -67,7 +67,7 @@ namespace ft
@param function Function type could be one of the following:
- **LINEAR** Linear basic function.
@param radius Radius of the basic function.
@param kernel Final 32-b kernel.
@param kernel Final 32-bit kernel.
@param chn Number of kernel channels.
The function creates kernel from predefined functions.