OpenCV 4.5.3(日本語機械翻訳)
ximgproc.hpp
1 /*
2 * By downloading, copying, installing or using the software you agree to this license.
3 * If you do not agree to this license, do not download, install,
4 * copy or use the software.
5 *
6 *
7 * License Agreement
8 * For Open Source Computer Vision Library
9 * (3 - clause BSD License)
10 *
11 * Redistribution and use in source and binary forms, with or without modification,
12 * are permitted provided that the following conditions are met :
13 *
14 * * Redistributions of source code must retain the above copyright notice,
15 * this list of conditions and the following disclaimer.
16 *
17 * * Redistributions in binary form must reproduce the above copyright notice,
18 * this list of conditions and the following disclaimer in the documentation
19 * and / or other materials provided with the distribution.
20 *
21 * * Neither the names of the copyright holders nor the names of the contributors
22 * may be used to endorse or promote products derived from this software
23 * without specific prior written permission.
24 *
25 * This software is provided by the copyright holders and contributors "as is" and
26 * any express or implied warranties, including, but not limited to, the implied
27 * warranties of merchantability and fitness for a particular purpose are disclaimed.
28 * In no event shall copyright holders or contributors be liable for any direct,
29 * indirect, incidental, special, exemplary, or consequential damages
30 * (including, but not limited to, procurement of substitute goods or services;
31 * loss of use, data, or profits; or business interruption) however caused
32 * and on any theory of liability, whether in contract, strict liability,
33 * or tort(including negligence or otherwise) arising in any way out of
34 * the use of this software, even if advised of the possibility of such damage.
35 */
36
37 #ifndef __OPENCV_XIMGPROC_HPP__
38 #define __OPENCV_XIMGPROC_HPP__
39
40 #include "ximgproc/edge_filter.hpp"
41 #include "ximgproc/disparity_filter.hpp"
42 #include "ximgproc/sparse_match_interpolator.hpp"
43 #include "ximgproc/structured_edge_detection.hpp"
44 #include "ximgproc/edgeboxes.hpp"
45 #include "ximgproc/edge_drawing.hpp"
46 #include "ximgproc/seeds.hpp"
47 #include "ximgproc/segmentation.hpp"
48 #include "ximgproc/fast_hough_transform.hpp"
49 #include "ximgproc/estimated_covariance.hpp"
50 #include "ximgproc/weighted_median_filter.hpp"
51 #include "ximgproc/slic.hpp"
52 #include "ximgproc/lsc.hpp"
53 #include "ximgproc/paillou_filter.hpp"
54 #include "ximgproc/fast_line_detector.hpp"
55 #include "ximgproc/deriche_filter.hpp"
56 #include "ximgproc/peilin.hpp"
57 #include "ximgproc/fourier_descriptors.hpp"
58 #include "ximgproc/ridgefilter.hpp"
59 #include "ximgproc/brightedges.hpp"
60 #include "ximgproc/run_length_morphology.hpp"
61 #include "ximgproc/edgepreserving_filter.hpp"
62 #include "ximgproc/color_match.hpp"
63
64
119 namespace cv
120{
121 namespace ximgproc
122{
123
124 enum ThinningTypes{
125 THINNING_ZHANGSUEN = 0, // Thinning technique of Zhang-Suen
126 THINNING_GUOHALL = 1 // Thinning technique of Guo-Hall
127};
128
137 };
138
141
174 CV_EXPORTS_W void niBlackThreshold( InputArray _src, OutputArray _dst,
175 double maxValue, int type,
176 int blockSize, double k, int binarizationMethod = BINARIZATION_NIBLACK,
177 double r = 128 );
178
187 CV_EXPORTS_W void thinning( InputArray src, OutputArray dst, int thinningType = THINNING_ZHANGSUEN);
188
209 CV_EXPORTS_W void anisotropicDiffusion(InputArray src, OutputArray dst, float alpha, float K, int niters );
210
212
213}
214}
215
216 #endif // __OPENCV_XIMGPROC_HPP__
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:295
LocalBinarizationMethods
Specifies the binarization method to use in cv::ximgproc::niBlackThreshold
Definition: ximgproc.hpp:132
CV_EXPORTS_W void anisotropicDiffusion(InputArray src, OutputArray dst, float alpha, float K, int niters)
Performs anisotropic diffusion on an image.
CV_EXPORTS_W void niBlackThreshold(InputArray _src, OutputArray _dst, double maxValue, int type, int blockSize, double k, int binarizationMethod=BINARIZATION_NIBLACK, double r=128)
Performs thresholding on input images using Niblack's technique or some of the popular variations it ...
CV_EXPORTS_W void thinning(InputArray src, OutputArray dst, int thinningType=THINNING_ZHANGSUEN)
Applies a binary blob thinning operation, to achieve a skeletization of the input image.
@ BINARIZATION_SAUVOLA
Sauvola's technique. See .
Definition: ximgproc.hpp:134
@ BINARIZATION_WOLF
Wolf's technique. See .
Definition: ximgproc.hpp:135
@ BINARIZATION_NICK
NICK technique. See .
Definition: ximgproc.hpp:136
@ BINARIZATION_NIBLACK
Classic Niblack binarization. See .
Definition: ximgproc.hpp:133
cv
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75