ImageD  v2_7_5 (24.06.22)
ImageD is an image processing software designed for rapid prototyping and implementing algorithms and solutions for science, research and teaching.
d_img_proc_2dfactory.h
Go to the documentation of this file.
1 /************************************
2  * added: 16.05.2019 *
3  * author: David Eilenstein *
4  * contact: D.Eilenstein@gsi.de *
5  * project: ImageD *
6  * facility: GSI Darmstadt, Ger *
7  ************************************/
8 
9 #ifndef D_IMG_PROC_2DFACTORY_H
10 #define D_IMG_PROC_2DFACTORY_H
11 
12 //own
13 #include <d_enum.h>
14 #include <d_img_proc.h>
15 #include <d_stat.h>
16 #include <d_component.h>
17 #include <d_component_list.h>
19 
20 //general
21 #include <iostream>
22 #include <vector>
23 #include <fstream>
24 #include <sstream>
25 #include <thread>
26 
27 //Qt
28 #include <QMainWindow>
29 #include <QImage>
30 #include <QPainter>
31 #include <QPen>
32 #include <QColor>
33 #include <QFileInfo>
34 #include <QDir>
35 #include <QString>
36 #include <QDebug>
37 
38 //openCV
39 #include <opencv2/core/core.hpp>
40 #include <opencv2/highgui/highgui.hpp>
41 #include <opencv2/imgproc/imgproc.hpp>
42 
43 //namespaces
44 using namespace std;
45 //using namespace cv; (prohibited because of abigous names with qtdatavisualization)
46 #include <d_opencv_typedefs.h>
47 
53 {
54 public:
56 
57 
58  //0 Input -> 1 Output
59  static function<int (Mat *)> Generate_byValueFunction (int width, int height, function<double (double x, double y)> value_function);
60  static function<int (Mat *)> Generate_byValueFunction_Complex (int width, int height, function<complex<double> (complex<double> x, complex<double> y)> value_function);
61  static function<int (Mat *)> Load_From_Path_Raw (string path, int width, int height, int out_type);
62  static function<int (Mat *)> Draw_Contours (vector<vector<Point>> vContours, int line_thickness, double value);
63  static function<int (Mat *)> Draw_ContourText_InPlace (vector<vector<Point>> vContours, QStringList QSL_Texts, vector<Point2f> vTextOrigins, int line_thickness, int text_thickness, double text_scale, double value);
64 
65 
66  //1 Input -> 1 Output
67  static function<int (Mat *, Mat *)> Convert_Color (int cvt_mode);
68  static function<int (Mat *, Mat *)> Convert_Color2Mono (int col2mono_code);
69  static function<int (Mat *, Mat *)> Normalize (int norm, int type, double min, double max);
70  static function<int (Mat *, Mat *)> Convert_Depth_NoScaling (int depth);
71  static function<int (Mat *, Mat *)> Channel_Split (int channel);
72  static function<int (Mat *, Mat *)> Channel_Supression (bool use_r = true, bool use_g = true, bool use_b = true, bool force_3ch = false);
73  static function<int (Mat *, Mat *)> Convert_8UC1_binary ();
74  static function<int (Mat *, Mat *)> Visualize_to8bit (int mode_crop, int mode_trafo, int mode_anchor, int mode_range, double val_anchor, double val_range, double val_min, double val_max, double val_gamma, double val_center, double val_scale, bool keep_min_max = false);
75  static function<int (Mat *, Mat *)> Sign2Color (bool norm = false);
76 
77  static function<int (Mat *, Mat *)> Threshold_Auto (int mode, int max, int auto_type);
78  static function<int (Mat *, Mat *)> Threshold_Value (int mode, int max, int thresh);
79  static function<int (Mat *, Mat *)> Threshold_Absolute (double thresh);
80  static function<int (Mat *, Mat *)> Threshold_Realtive (double base, double thresh_rel);
81  static function<int (Mat *, Mat *)> Threshold_Adaptive (int mode, int max, int mask_type, int mask_size, double offset);
82  static function<int (Mat *, Mat *)> Threshold_Adaptive_Gauss (int size, double sigma, double offset, double scale);
83  static function<int (Mat *, Mat *)> Threshold_RankOrderOffsetHysteresis (double radius, double quantile, double thresh_offset_indicator, double thresh_offset_hysteresis, bool labeling = false);
84 
85  static function<int (Mat *, Mat *)> Labeling (int connectivity, int out_depth);
86  static function<int (Mat *, Mat *)> Grab_Color (int color_space, int out_mode, vector<uchar> min, vector<uchar> max);
87  static function<int (Mat *, Mat *)> Fill_Holes ();
88 
89  static function<int (Mat *, Mat *)> Crop_Rect_Rel (double x1_rel, double y1_rel, double x2_rel, double y2_rel);
90  static function<int (Mat *, Mat *)> Crop_Rect_Abs (int x, int y, int width, int height);
91  static function<int (Mat *, Mat *)> Crop_Rect_Rot (int x, int y, int width, int height, double angle);
92  static function<int (Mat *, Mat *)> Crop_Circle (int x, int y, int r);
93  static function<int (Mat *, Mat *)> Scale_Factor (double scale_x, double scale_y);
94  static function<int (Mat *, Mat *)> Scale_ToSize (int size_x, int size_y);
95  static function<int (Mat *, Mat *)> Pad_Border (int size_x, int size_y, int type = BORDER_CONSTANT);
96  static function<int (Mat *, Mat *)> ForceSize (int width, int heigth, int border_type = BORDER_CONSTANT);
97  static function<int (Mat *, Mat *)> Floodfill_Border (double new_val);
98  static function<int (Mat *, Mat *)> Floodfill_Delta (int seed_x, int seed_y, uchar val_new, uchar val_delta);
99 
100  static function<int (Mat *, Mat *)> Morphology_Elemental (int morph_type, int elem_type, int elem_size_X, int elem_size_Y, int border_type, int iterations);
101  static function<int (Mat *, Mat *)> Morphology_Skeleton (int elem_type, int elem_size_X, int elem_size_Y, int border_type);
102  static function<int (Mat *, Mat *)> Morphology_LocMax_Rect (int elem_size_X = 3, int elem_size_Y = 3);
103  static function<int (Mat *, Mat *)> Filter_Maximum_1C (size_t mask_size_x, size_t mask_size_y);
104 
105 
106  static function<int (Mat *, Mat *)> Filter_Mean (int size_x, int size_y, int border, int out_depth, bool norm);
107  static function<int (Mat *, Mat *)> Filter_RootMeanSquare (int size_x, int size_y, int border, int out_depth, bool norm);
108  static function<int (Mat *, Mat *)> Filter_Gauss (int size_x, int size_y, int border, double sigma_x, double sigma_y);
109  static function<int (Mat *, Mat *)> Filter_Median (int size);
110  static function<int (Mat *, Mat *)> Filter_Laplace (int size, int border, int out_depth, double scale, double delta);
111  static function<int (Mat *, Mat *)> Filter_Sobel (int size, int border, int out_depth, double scale, double delta, int d_x, int d_y);
112  static function<int (Mat *, Mat *)> Filter_Canny (int size, double thres_low, double thres_high, bool L2_gradient);
113  static function<int (Mat *, Mat *)> Filter_Bilateral (int diameter, int border, double sigma_color, double sigma_space);
114  static function<int (Mat *, Mat *)> Filter_Gabor (int size_x, int size_y, int border, int out_depth, double sigma, double theta, double lambda, double gamma, double psi, double delta);
115  static function<int (Mat *, Mat *)> Filter_Eilenstein (int comp, int size_x, int size_y, bool normalized, double constant);
116  static function<int (Mat *, Mat *)> Filter_Stat_Circular (double radius, int stat, int border_type = BORDER_CONSTANT);
117  static function<int (Mat *, Mat *)> Filter_Stat_Rect (int size_x, int size_y, int stat, int border_type = BORDER_CONSTANT);
118 
119  static function<int (Mat *, Mat *)> Filter_RankOrder_Circular (double quantil, double radius);
120  static function<int (Mat *, Mat *)> Filter_RankOrder_Rect (double quantil, int size_x, int size_y);
121 
122  static function<int (Mat *, Mat *)> Math_1img_Inversion ();
123  static function<int (Mat *, Mat *)> Math_1img_Addition (double summmand);
124  static function<int (Mat *, Mat *)> Math_1img_Subtraction (double subtrahend);
125  static function<int (Mat *, Mat *)> Math_1img_Multiplication (double factor);
126  static function<int (Mat *, Mat *)> Math_1img_Division (double divisor);
127  static function<int (Mat *, Mat *)> Math_1img_Power (double power);
128  static function<int (Mat *, Mat *)> Math_1img_Root ();
129  static function<int (Mat *, Mat *)> Math_1img_Log ();
130 
131  static function<int (Mat *, Mat *)> Transformation_Distance (int metric, int precision);
132 
133  static function<int (Mat *, Mat *)> Transformation_Watershed_Auto (double distance, bool include_not_seeded, bool conv_8bit, bool exclude_border);
134  static function<int (Mat *, Mat *)> Transformation_Watershed_Auto (int size, double sigma, bool include_not_seeded, bool conv_8bit, bool exclude_border);
135 
136  static function<int (Mat *, Mat *)> Feature_Value (int feature, int connectivity);
137  static function<int (Mat *, Mat *)> FeatureContext_Value (int pt_type1, int pt_type2, double dist_min, double dist_max, int feat, int stat, int connectivity = 4);
138  static function<int (Mat *, Mat *)> Feature_Select (int feature, double f_min, double f_max, int connectivity);
139  static function<int (Mat *, Mat *)> FeatureContext_Select (int pt_type1, int pt_type2, double dist_min, double dist_max, int feat, int stat, double t_min, double t_max, int connectivity = 4);
140  static function<int (Mat *, Mat *)> Feature_Visualize (int feature, int connectivity, int thickness, double scale);
141  static function<int (Mat *, Mat *)> Feature_Connect (int pt_type1, int pt_type2, double dist_min, double dist_max, int feat1, int feat2, function<bool(double, double)> comp, int connect_mode = c_CONNECT_CLOSEST, int connectivity = 4, int thickness = 2);
142 
143  static function<int (Mat *, Mat *)> Geometric_Reduce (int geometric, int connectivity, int thickness, uchar value);
144 
145  static function<int (Mat *, Mat *)> Histogram_Equalize ();
146  static function<int (Mat *, Mat *)> GammaSpread (double gamma, double in_min, double in_max, double out_min, double out_max, bool force_8bit);
147  static function<int (Mat *, Mat *)> GammaSpread_Quantiles (double gamma, double quantile_low, double quantile_high, double out_min = 0, double out_max = 255, bool force_8bit = false, bool ignore_zeros = true);
148  static function<int (Mat *, Mat *)> DistancesStat (function<double (vector<double>)> F_Stat);
149  static function<int (Mat *, Mat *)> Convert_Angle2Color_Rad (uchar Saturation = 255, uchar Value = 255);
150 
151  static function<int (Mat *, Mat *)> OverlayOverwrite (uchar r, uchar g, uchar b, double intensity_overlay);
152  static function<int (Mat *, Mat *)> Draw_ContourText (vector<vector<Point>> vContours, QStringList QSL_Texts, vector<Point2f> vTextOrigins, int line_thickness, int text_thickness, double text_scale, double value);
153 
154  //2 Input -> 1 Output
155  static function<int (Mat *, Mat *, Mat *)> Shading_Correct ();
156 
157  static function<int (Mat *, Mat *, Mat *)> Hysteresis (bool labeling = false);
158 
159  static function<int (Mat *, Mat *, Mat *)> Filter_RankOrder (double quantil);
160  static function<int (Mat *, Mat *, Mat *)> Filter_Median ();
161  static function<int (Mat *, Mat *, Mat *)> Filter_Eilenstein (function<double (double cur, double nei)> response_CurNei, function<double (double res, double wei)> weight_ResWeigth, function<double (vector<double> v_res)> combine_Responses);
162  static function<int (Mat *, Mat *, Mat *)> Filter_Function (function<double (double cur, double nei)> F1_CenterImage, function<double (double f1r, double msk)> F2_f1mask, function<double (vector<double> vf2r)> F3_Combine, function<double (double f3r, double cen)> F4_f3center, int border_type = BORDER_CONSTANT, bool DoNonZeroMaskOnly = false);
163  static function<int (Mat *, Mat *, Mat *)> Filter_Function_8bit (function<uchar (double cur, double nei)> F1_CenterImage, function<uchar (double f1r, double msk)> F2_f1mask, function<uchar (vector<double> vf2r)> F3_Combine, function<uchar (double f3r, double cen)> F4_f3center, int border_type = BORDER_CONSTANT, bool DoNonZeroMaskOnly = false);
164  static function<int (Mat *, Mat *, Mat *)> Filter_Stat (int stat, int border_type = BORDER_CONSTANT);
165 
166  static function<int (Mat *, Mat *, Mat *)> Math_2img_Addition ();
167  static function<int (Mat *, Mat *, Mat *)> Math_2img_AdditionWeighted (double weight_1, double weight_2, double weight_sum);
168  static function<int (Mat *, Mat *, Mat *)> Math_2img_Subtraction ();
169  static function<int (Mat *, Mat *, Mat *)> Math_2img_SubtractionAbsolute ();
170  static function<int (Mat *, Mat *, Mat *)> Math_2img_Multiplication (double scale);
171  static function<int (Mat *, Mat *, Mat *)> Math_2img_Division (double scale);
172  static function<int (Mat *, Mat *, Mat *)> Math_2img_BitwiseAnd ();
173  static function<int (Mat *, Mat *, Mat *)> Math_2img_BitwiseOr ();
174  static function<int (Mat *, Mat *, Mat *)> Math_2img_BitwiseXor ();
175  static function<int (Mat *, Mat *, Mat *)> Math_2img_Minimum ();
176  static function<int (Mat *, Mat *, Mat *)> Math_2img_Maximum ();
177  static function<int (Mat *, Mat *, Mat *)> Math_2img_Compare (int comp);
178  static function<int (Mat *, Mat *, Mat *)> Math_2img_Function (function<double (double x, double y)> function_img1_img2);
179  static function<int (Mat *, Mat *, Mat *)> Math_2img_Function_8bit (function<uchar (double x, double y)> function_img1_img2);
180  static function<int (Mat *, Mat *, Mat *)> Math_2img_Function_Complex (function<complex<double> (complex<double> x, complex<double> y)> function_img1_img2);
181  static function<int (Mat *, Mat *, Mat *)> Matrix_Product ();
182 
183  static function<int (Mat *, Mat *, Mat *)> Transformation_Fourier (bool complex_input = true, bool invers = false, bool force_fft = true, bool out_real = false, int out_complex_mode = c_COMPLEX2REAL_ABS, bool out_scale = false, bool out_center = true, bool out_nof0 = true);
184  static function<int (Mat *, Mat *, Mat *)> Transformation_Watershed ();
185  static function<int (Mat *, Mat *, Mat *)> Transformation_Watershed_Auto (bool include_not_seeded, bool conv_8bit, bool exclude_border);
186 
187  static function<int (Mat *, Mat *, Mat *)> Draw_Label_Numbers (double scale, double thickness, bool center);
188  static function<int (Mat *, Mat *, Mat *)> Draw_Label_Numbers_LUT (vector<double> v_LUT, bool border, double scale, double thickness, bool center, int precision, uchar r = 0, uchar g = 0, uchar b = 0);
189  static function<int (Mat *, Mat *, Mat *)> Draw_Label_Text (QStringList QSL_LabelTexts, bool border, double scale, double thickness, bool center, uchar r = 0, uchar g = 0, uchar b = 0, int connectivity = 4);
190  static function<int (Mat *, Mat *, Mat *)> ClassBorder_kNN (int n);
191 
192  static function<int (Mat *, Mat *, Mat *)> OverlayOverwrite (double intensity_overlay, double intensity_backg);
193  static function<int (Mat *, Mat *, Mat *)> OverlayOverwrite (uchar r, uchar g, uchar b, double intensity_overlay, double intensity_backgr);
194 
195  static function<int (Mat *, Mat *, Mat *)> ValueStat (int stat, int connectivity = 8);
196  static function<int (Mat *, Mat *, Mat *)> ValueStat_Select (int stat, double thresh_min, double thresh_max, int connectivity = 8);
197 
198 
199  //3 Input -> 1 Output
200  static function<int (Mat *, Mat *, Mat *, Mat*)> Transformation_Watershed_Custom (int connectivity = 8);
201 
202  static function<int (Mat *, Mat *, Mat *, Mat*)> Math_3img_Addition ();
203  static function<int (Mat *, Mat *, Mat *, Mat*)> Math_3img_Addition (double summand);
204  static function<int (Mat *, Mat *, Mat *, Mat*)> Math_3img_Multiplication ();
205  static function<int (Mat *, Mat *, Mat *, Mat*)> Math_3img_Multiplication (double factor);
206  static function<int (Mat *, Mat *, Mat *, Mat*)> Math_3img_BitwiseAnd ();
207  static function<int (Mat *, Mat *, Mat *, Mat*)> Math_3img_BitwiseOr ();
208 
209  static function<int (Mat *, Mat *, Mat *, Mat *)> Channel_Merge ();
210  static function<int (Mat *, Mat *, Mat *, Mat *)> RadiometricStereo (double S1X, double S1Y, double S1Z, double S2X, double S2Y, double S2Z, double S3X, double S3Y, double S3Z, int out_mode);
211 
212  static function<int (Mat *, Mat *, Mat *, Mat *)> Morphology_Reconstruction (double quantil = 1);
213 
214  //4 Input -> 2 Output
215  static function<int (Mat *, Mat *, Mat *, Mat *, Mat *)> Channel_Merge (int channel_count, bool channels_use[4]);
216 
217  static function<int (Mat *, Mat *, Mat *, Mat *, Mat *)> Math_4img_Addition ();
218  static function<int (Mat *, Mat *, Mat *, Mat *, Mat *)> Math_4img_Addition (double summand);
219  static function<int (Mat *, Mat *, Mat *, Mat *, Mat *)> Math_4img_Multiplication ();
220  static function<int (Mat *, Mat *, Mat *, Mat *, Mat *)> Math_4img_Multiplication (double factor);
221  static function<int (Mat *, Mat *, Mat *, Mat *, Mat *)> Math_4img_BitwiseAnd ();
222  static function<int (Mat *, Mat *, Mat *, Mat *, Mat *)> Math_4img_BitwiseOr ();
223 
224  static function<int (Mat *, Mat *, Mat *, Mat *, Mat *)> Stitch_Border_abs (int border_R, int border_B, int overlap_R, int overlap_B, Stitcher::Mode mode = Stitcher::SCANS);
225  static function<int (Mat *, Mat *, Mat *, Mat *, Mat *)> Stitch_Border_rel (double border_R, double border_B, double overlap_R, double overlap_B, Stitcher::Mode mode = Stitcher::SCANS);
226  static function<int (Mat *, Mat *, Mat *, Mat *, Mat *)> Stitch_Border_abs_custom (int border_R, int border_B, int overlap_R, int overlap_B);
227  static function<int (Mat *, Mat *, Mat *, Mat *, Mat *)> Stitch_Border_rel_custom (double border_R, double border_B, double overlap_R, double overlap_B);
228 
229 };
230 
231 #endif // D_IMG_PROC_2DFACTORY_H
D_Img_Proc_2dFactory::Math_2img_Minimum
static function< int(Mat *, Mat *, Mat *)> Math_2img_Minimum()
Definition: d_img_proc_2dfactory.cpp:1347
Mat
cv::Mat Mat
Definition: d_opencv_typedefs.h:28
D_Img_Proc_2dFactory::Draw_Contours
static function< int(Mat *)> Draw_Contours(vector< vector< Point >> vContours, int line_thickness, double value)
Definition: d_img_proc_2dfactory.cpp:48
D_Img_Proc::Fill_Holes
static int Fill_Holes(Mat *pMA_Out, Mat *pMA_In)
Definition: d_img_proc.cpp:12257
D_Img_Proc_2dFactory::FeatureContext_Select
static function< int(Mat *, Mat *)> FeatureContext_Select(int pt_type1, int pt_type2, double dist_min, double dist_max, int feat, int stat, double t_min, double t_max, int connectivity=4)
Definition: d_img_proc_2dfactory.cpp:744
D_Img_Proc_2dFactory::ValueStat_Select
static function< int(Mat *, Mat *, Mat *)> ValueStat_Select(int stat, double thresh_min, double thresh_max, int connectivity=8)
Definition: d_img_proc_2dfactory.cpp:1597
D_Img_Proc::Crop_Rect_Abs
static int Crop_Rect_Abs(Mat *pMA_Out, Mat *pMA_In, int x, int y, int width, int height)
Definition: d_img_proc.cpp:5514
D_Img_Proc_2dFactory::Fill_Holes
static function< int(Mat *, Mat *)> Fill_Holes()
Definition: d_img_proc_2dfactory.cpp:332
D_Img_Proc_2dFactory::Math_3img_BitwiseAnd
static function< int(Mat *, Mat *, Mat *, Mat *)> Math_3img_BitwiseAnd()
Definition: d_img_proc_2dfactory.cpp:1681
D_Img_Proc_2dFactory::Convert_Color
static function< int(Mat *, Mat *)> Convert_Color(int cvt_mode)
Definition: d_img_proc_2dfactory.cpp:80
BORDER_CONSTANT
const int BORDER_CONSTANT
Definition: d_opencv_typedefs.h:77
D_Img_Proc_2dFactory::Geometric_Reduce
static function< int(Mat *, Mat *)> Geometric_Reduce(int geometric, int connectivity, int thickness, uchar value)
Definition: d_img_proc_2dfactory.cpp:800
D_Img_Proc::Visualize_to8bit
static int Visualize_to8bit(Mat *pMA_Out, Mat *pMA_In, int mode_crop, int mode_trafo, int mode_anchor, int mode_range, double val_anchor, double val_range, double val_min, double val_max, double val_gamma, double val_center, double val_scale, bool keep_min_max=false, int mode_complex=c_COMPLEX2REAL_RE_IM)
Definition: d_img_proc.cpp:5082
D_Img_Proc::Math_Or
static int Math_Or(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2)
Definition: d_img_proc.cpp:12702
D_Img_Proc::Math_And
static int Math_And(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2)
Definition: d_img_proc.cpp:12645
d_component.h
D_Img_Proc::Math_ImgScal_Pow
static int Math_ImgScal_Pow(Mat *pMA_Out, Mat *pMA_In, double power)
Definition: d_img_proc.cpp:13056
D_Img_Proc::Filter_RankOrder
static int Filter_RankOrder(Mat *pMA_Out, Mat *pMA_In, Mat *pMA_Mask, double quantil_relPos)
D_Img_Proc::Filter_RankOrder performs Rank order filtering with huang algorithm for any quantile.
Definition: d_img_proc.cpp:9143
D_Img_Proc_2dFactory::Sign2Color
static function< int(Mat *, Mat *)> Sign2Color(bool norm=false)
Definition: d_img_proc_2dfactory.cpp:192
D_Img_Proc::Math_ImgImg_Diff
static int Math_ImgImg_Diff(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2)
Definition: d_img_proc.cpp:13125
D_Img_Proc_2dFactory::Filter_Laplace
static function< int(Mat *, Mat *)> Filter_Laplace(int size, int border, int out_depth, double scale, double delta)
Definition: d_img_proc_2dfactory.cpp:403
D_Img_Proc_2dFactory::Crop_Rect_Rot
static function< int(Mat *, Mat *)> Crop_Rect_Rot(int x, int y, int width, int height, double angle)
Definition: d_img_proc_2dfactory.cpp:950
D_Img_Proc_2dFactory::Convert_Angle2Color_Rad
static function< int(Mat *, Mat *)> Convert_Angle2Color_Rad(uchar Saturation=255, uchar Value=255)
Definition: d_img_proc_2dfactory.cpp:873
D_Img_Proc::GammaSpread
static int GammaSpread(Mat *pMA_Out, Mat *pMA_In, double gamma, double in_min, double in_max, double out_min=0, double out_max=255, bool force_8bit=false)
Definition: d_img_proc.cpp:4903
D_Img_Proc::Filter_Median
static int Filter_Median(Mat *pMA_Out, Mat *pMA_In, int size)
Definition: d_img_proc.cpp:9097
c_COMPLEX2REAL_ABS
@ c_COMPLEX2REAL_ABS
Definition: d_enum.h:976
D_Img_Proc_2dFactory::Pad_Border
static function< int(Mat *, Mat *)> Pad_Border(int size_x, int size_y, int type=BORDER_CONSTANT)
Definition: d_img_proc_2dfactory.cpp:1006
D_Img_Proc::Morphology_Skeleton
static int Morphology_Skeleton(Mat *pMA_Out, Mat *pMA_In, int elem_type, unsigned int elem_size_X, unsigned int elem_size_Y, int border_type)
Definition: d_img_proc.cpp:7064
D_Img_Proc_2dFactory::Visualize_to8bit
static function< int(Mat *, Mat *)> Visualize_to8bit(int mode_crop, int mode_trafo, int mode_anchor, int mode_range, double val_anchor, double val_range, double val_min, double val_max, double val_gamma, double val_center, double val_scale, bool keep_min_max=false)
Definition: d_img_proc_2dfactory.cpp:169
D_Img_Proc_2dFactory::Feature_Connect
static function< int(Mat *, Mat *)> Feature_Connect(int pt_type1, int pt_type2, double dist_min, double dist_max, int feat1, int feat2, function< bool(double, double)> comp, int connect_mode=c_CONNECT_CLOSEST, int connectivity=4, int thickness=2)
Definition: d_img_proc_2dfactory.cpp:779
D_Img_Proc_2dFactory::Filter_Eilenstein
static function< int(Mat *, Mat *)> Filter_Eilenstein(int comp, int size_x, int size_y, bool normalized, double constant)
Definition: d_img_proc_2dfactory.cpp:489
D_Img_Proc_2dFactory::Labeling
static function< int(Mat *, Mat *)> Labeling(int connectivity, int out_depth)
Definition: d_img_proc_2dfactory.cpp:304
D_Img_Proc_2dFactory::Math_2img_BitwiseAnd
static function< int(Mat *, Mat *, Mat *)> Math_2img_BitwiseAnd()
Definition: d_img_proc_2dfactory.cpp:1311
D_Img_Proc_2dFactory::Stitch_Border_abs
static function< int(Mat *, Mat *, Mat *, Mat *, Mat *)> Stitch_Border_abs(int border_R, int border_B, int overlap_R, int overlap_B, Stitcher::Mode mode=Stitcher::SCANS)
Definition: d_img_proc_2dfactory.cpp:1853
D_Img_Proc::Threshold_Adaptive
static int Threshold_Adaptive(Mat *pMA_Out, Mat *pMA_In, int out_mode, double max_val, int adapt_mode, unsigned int mask_size, double offset)
Definition: d_img_proc.cpp:6669
D_Img_Proc_2dFactory::Draw_ContourText
static function< int(Mat *, Mat *)> Draw_ContourText(vector< vector< Point >> vContours, QStringList QSL_Texts, vector< Point2f > vTextOrigins, int line_thickness, int text_thickness, double text_scale, double value)
Definition: d_img_proc_2dfactory.cpp:902
D_Img_Proc::Math_ImgImg_Min
static int Math_ImgImg_Min(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2)
Definition: d_img_proc.cpp:13232
D_Img_Proc::Floodfill_Delta
static int Floodfill_Delta(Mat *pMA_Out, Mat *pMA_In, int seed_x, int seed_y, uchar val_new, uchar val_delta)
Definition: d_img_proc.cpp:16775
D_Img_Proc::Histo_Equal
static int Histo_Equal(Mat *pMA_Out, Mat *pMA_In)
Definition: d_img_proc.cpp:14397
D_Img_Proc::Math_ImgImg_BitXor
static int Math_ImgImg_BitXor(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2)
Definition: d_img_proc.cpp:13217
D_Img_Proc_2dFactory::FeatureContext_Value
static function< int(Mat *, Mat *)> FeatureContext_Value(int pt_type1, int pt_type2, double dist_min, double dist_max, int feat, int stat, int connectivity=4)
Definition: d_img_proc_2dfactory.cpp:711
D_Img_Proc::Math_ImgImg_AddWeighted
static int Math_ImgImg_AddWeighted(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2, double weight_1, double weight_2, double weight_sum)
Definition: d_img_proc.cpp:13107
D_Img_Proc::Feature_Select
static int Feature_Select(Mat *pMA_Out, Mat *pMA_In, int feature, double f_min, double f_max, int connectivity=4)
Definition: d_img_proc.cpp:15710
D_Img_Proc_2dFactory::Stitch_Border_abs_custom
static function< int(Mat *, Mat *, Mat *, Mat *, Mat *)> Stitch_Border_abs_custom(int border_R, int border_B, int overlap_R, int overlap_B)
Definition: d_img_proc_2dfactory.cpp:1891
D_Img_Proc::Draw_Contours
static int Draw_Contours(Mat *pMA_Target, vector< vector< Point >> vContours, int line_thickness, double value)
D_Img_Proc::Draw_Contours draws a list of constours to an image.
Definition: d_img_proc.cpp:19134
D_Img_Proc_2dFactory::Math_4img_BitwiseOr
static function< int(Mat *, Mat *, Mat *, Mat *, Mat *)> Math_4img_BitwiseOr()
Definition: d_img_proc_2dfactory.cpp:1839
D_Img_Proc::Math_ImgImg_Max
static int Math_ImgImg_Max(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2)
Definition: d_img_proc.cpp:13247
D_Img_Proc::Filter_Stat_Circular
static int Filter_Stat_Circular(Mat *pMA_Out, Mat *pMA_In, double radius, int stat, int border_type=BORDER_CONSTANT)
Definition: d_img_proc.cpp:12170
D_Img_Proc_2dFactory::Filter_Median
static function< int(Mat *, Mat *, Mat *)> Filter_Median()
Definition: d_img_proc_2dfactory.cpp:1157
D_Img_Proc::Math_ImgScal_Sub
static int Math_ImgScal_Sub(Mat *pMA_Out, Mat *pMA_In, double subtrahend)
Definition: d_img_proc.cpp:13019
d_value_distribution_list.h
D_Img_Proc_2dFactory::Generate_byValueFunction_Complex
static function< int(Mat *)> Generate_byValueFunction_Complex(int width, int height, function< complex< double >(complex< double > x, complex< double > y)> value_function)
Definition: d_img_proc_2dfactory.cpp:21
D_Img_Proc::Math_ImgImg_Comp
static int Math_ImgImg_Comp(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2, int comp)
Definition: d_img_proc.cpp:13262
D_Img_Proc::Normalize
static int Normalize(Mat *pMA_Out, Mat *pMA_In, unsigned int norm, unsigned int type, double min, double max)
Definition: d_img_proc.cpp:3814
D_Img_Proc_2dFactory::ClassBorder_kNN
static function< int(Mat *, Mat *, Mat *)> ClassBorder_kNN(int n)
Definition: d_img_proc_2dfactory.cpp:1539
D_Img_Proc_2dFactory::Math_4img_Addition
static function< int(Mat *, Mat *, Mat *, Mat *, Mat *)> Math_4img_Addition()
Definition: d_img_proc_2dfactory.cpp:1767
D_Img_Proc::Math_Mult
static int Math_Mult(Mat *pMA_Out, Mat *pMA_In1, double factor)
Definition: d_img_proc.cpp:12504
D_Img_Proc_2dFactory::Math_2img_BitwiseOr
static function< int(Mat *, Mat *, Mat *)> Math_2img_BitwiseOr()
Definition: d_img_proc_2dfactory.cpp:1323
D_Img_Proc_2dFactory::ValueStat
static function< int(Mat *, Mat *, Mat *)> ValueStat(int stat, int connectivity=8)
Definition: d_img_proc_2dfactory.cpp:1583
D_Img_Proc::Filter_Eilenstein
static int Filter_Eilenstein(Mat *pMA_Out, Mat *pMA_In, int comp, unsigned int size_x, unsigned int size_y, bool normalized, double constant)
Definition: d_img_proc.cpp:10982
D_Img_Proc::Stitch_Border_rel_custom
static int Stitch_Border_rel_custom(Mat *pMA_Out, Mat *pMA_In_Main, Mat *pMA_In_R, Mat *pMA_In_B, Mat *pMA_In_BR, double border_R, double border_B, double overlap_R, double overlap_B)
Definition: d_img_proc.cpp:6189
D_Img_Proc_2dFactory::Filter_Function
static function< int(Mat *, Mat *, Mat *)> Filter_Function(function< double(double cur, double nei)> F1_CenterImage, function< double(double f1r, double msk)> F2_f1mask, function< double(vector< double > vf2r)> F3_Combine, function< double(double f3r, double cen)> F4_f3center, int border_type=BORDER_CONSTANT, bool DoNonZeroMaskOnly=false)
Definition: d_img_proc_2dfactory.cpp:1184
D_Img_Proc_2dFactory::Crop_Rect_Rel
static function< int(Mat *, Mat *)> Crop_Rect_Rel(double x1_rel, double y1_rel, double x2_rel, double y2_rel)
Definition: d_img_proc_2dfactory.cpp:920
D_Img_Proc::GammaSpread_Quantiles
static int GammaSpread_Quantiles(Mat *pMA_Out, Mat *pMA_In, double gamma, double quantile_low, double quantile_high, double out_min=0, double out_max=255, bool force_8bit=false, bool ignore_zeros=true)
Definition: d_img_proc.cpp:5057
D_Img_Proc_2dFactory::Math_1img_Multiplication
static function< int(Mat *, Mat *)> Math_1img_Multiplication(double factor)
Definition: d_img_proc_2dfactory.cpp:596
D_Img_Proc_2dFactory::Hysteresis
static function< int(Mat *, Mat *, Mat *)> Hysteresis(bool labeling=false)
Definition: d_img_proc_2dfactory.cpp:1131
D_Img_Proc_2dFactory::Math_1img_Log
static function< int(Mat *, Mat *)> Math_1img_Log()
Definition: d_img_proc_2dfactory.cpp:643
D_Img_Proc_2dFactory::Filter_Canny
static function< int(Mat *, Mat *)> Filter_Canny(int size, double thres_low, double thres_high, bool L2_gradient)
Definition: d_img_proc_2dfactory.cpp:437
D_Img_Proc::Labeling
static int Labeling(Mat *pMA_Out, Mat *pMA_In, int connectivity, int out_depth)
Definition: d_img_proc.cpp:12350
D_Img_Proc_2dFactory::Math_2img_Addition
static function< int(Mat *, Mat *, Mat *)> Math_2img_Addition()
Definition: d_img_proc_2dfactory.cpp:1234
D_Img_Proc::Load_From_Path_Raw
static int Load_From_Path_Raw(Mat *pMA_Out, string path, int width, int height, int out_type)
Definition: d_img_proc.cpp:137
D_Img_Proc_2dFactory::Stitch_Border_rel_custom
static function< int(Mat *, Mat *, Mat *, Mat *, Mat *)> Stitch_Border_rel_custom(double border_R, double border_B, double overlap_R, double overlap_B)
Definition: d_img_proc_2dfactory.cpp:1909
D_Img_Proc::Math_ImgScal_Mult
static int Math_ImgScal_Mult(Mat *pMA_Out, Mat *pMA_In, double factor)
Definition: d_img_proc.cpp:13037
D_Img_Proc::Transformation_Distance
static int Transformation_Distance(Mat *pMA_Out, Mat *pMA_In, int metric, int precision)
Definition: d_img_proc.cpp:7486
D_Img_Proc_2dFactory::Threshold_Adaptive
static function< int(Mat *, Mat *)> Threshold_Adaptive(int mode, int max, int mask_type, int mask_size, double offset)
Definition: d_img_proc_2dfactory.cpp:257
D_Img_Proc::Filter_Gabor
static int Filter_Gabor(Mat *pMA_Out, Mat *pMA_In, int size_x, int size_y, int border, int out_depth, double sigma, double theta, double lambda, double gamma, double psi, double delta)
Definition: d_img_proc.cpp:10811
D_Img_Proc::Matrix_Product
static int Matrix_Product(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2)
Definition: d_img_proc.cpp:14057
D_Img_Proc_2dFactory::Draw_ContourText_InPlace
static function< int(Mat *)> Draw_ContourText_InPlace(vector< vector< Point >> vContours, QStringList QSL_Texts, vector< Point2f > vTextOrigins, int line_thickness, int text_thickness, double text_scale, double value)
Definition: d_img_proc_2dfactory.cpp:61
D_Img_Proc_2dFactory::Crop_Circle
static function< int(Mat *, Mat *)> Crop_Circle(int x, int y, int r)
Definition: d_img_proc_2dfactory.cpp:966
D_Img_Proc_2dFactory::Filter_RankOrder_Circular
static function< int(Mat *, Mat *)> Filter_RankOrder_Circular(double quantil, double radius)
Definition: d_img_proc_2dfactory.cpp:534
D_Img_Proc::Scale_Factor
static int Scale_Factor(Mat *pMA_Out, Mat *pMA_In, double scale_x, double scale_y)
Definition: d_img_proc.cpp:6208
D_Img_Proc_2dFactory::Math_2img_Compare
static function< int(Mat *, Mat *, Mat *)> Math_2img_Compare(int comp)
Definition: d_img_proc_2dfactory.cpp:1371
D_Img_Proc::Filter_Stat
static int Filter_Stat(Mat *pMA_Out, Mat *pMA_In, Mat *pMA_Mask, int stat, int border_type=BORDER_CONSTANT)
Definition: d_img_proc.cpp:12156
D_Img_Proc::Math_ImgImg_Div
static int Math_ImgImg_Div(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2, double scale)
Definition: d_img_proc.cpp:13171
D_Img_Proc_2dFactory::Convert_Depth_NoScaling
static function< int(Mat *, Mat *)> Convert_Depth_NoScaling(int depth)
Definition: d_img_proc_2dfactory.cpp:119
D_Img_Proc_2dFactory::Math_2img_AdditionWeighted
static function< int(Mat *, Mat *, Mat *)> Math_2img_AdditionWeighted(double weight_1, double weight_2, double weight_sum)
Definition: d_img_proc_2dfactory.cpp:1246
D_Img_Proc_2dFactory::Draw_Label_Numbers_LUT
static function< int(Mat *, Mat *, Mat *)> Draw_Label_Numbers_LUT(vector< double > v_LUT, bool border, double scale, double thickness, bool center, int precision, uchar r=0, uchar g=0, uchar b=0)
Definition: d_img_proc_2dfactory.cpp:1497
D_Img_Proc::Filter_Maximum_1C
static int Filter_Maximum_1C(Mat *pMA_Out, Mat *pMA_In, size_t mask_size_x, size_t mask_size_y)
Definition: d_img_proc.cpp:9999
D_Img_Proc_2dFactory::Scale_Factor
static function< int(Mat *, Mat *)> Scale_Factor(double scale_x, double scale_y)
Definition: d_img_proc_2dfactory.cpp:980
D_Img_Proc_2dFactory::Scale_ToSize
static function< int(Mat *, Mat *)> Scale_ToSize(int size_x, int size_y)
Definition: d_img_proc_2dfactory.cpp:993
D_Img_Proc_2dFactory::Math_2img_Maximum
static function< int(Mat *, Mat *, Mat *)> Math_2img_Maximum()
Definition: d_img_proc_2dfactory.cpp:1359
D_Img_Proc::Filter_Function
static int Filter_Function(Mat *pMA_Out, Mat *pMA_In, Mat *pMA_Mask, function< double(double cur, double nei)> F1_CenterImage, function< double(double f1r, double msk)> F2_f1mask, function< double(vector< double > vf2r)> F3_Combine, function< double(double f3r, double cen)> F4_f3center, int border_type=BORDER_CONSTANT, bool DoNonZeroMaskOnly=false)
Definition: d_img_proc.cpp:11397
D_Img_Proc_2dFactory::Convert_8UC1_binary
static function< int(Mat *, Mat *)> Convert_8UC1_binary()
Definition: d_img_proc_2dfactory.cpp:158
D_Img_Proc::Combi_8UC1_binary
static int Combi_8UC1_binary(Mat *pMA_Out, Mat *pMA_In)
Definition: d_img_proc.cpp:4592
D_Img_Proc_2dFactory::Filter_Maximum_1C
static function< int(Mat *, Mat *)> Filter_Maximum_1C(size_t mask_size_x, size_t mask_size_y)
Definition: d_img_proc_2dfactory.cpp:1106
D_Img_Proc_2dFactory::Math_3img_Multiplication
static function< int(Mat *, Mat *, Mat *, Mat *)> Math_3img_Multiplication()
Definition: d_img_proc_2dfactory.cpp:1654
D_Img_Proc_2dFactory::Channel_Merge
static function< int(Mat *, Mat *, Mat *, Mat *, Mat *)> Channel_Merge(int channel_count, bool channels_use[4])
D_Img_Proc_2dFactory::Filter_Sobel
static function< int(Mat *, Mat *)> Filter_Sobel(int size, int border, int out_depth, double scale, double delta, int d_x, int d_y)
Definition: d_img_proc_2dfactory.cpp:419
D_Img_Proc_2dFactory::Feature_Value
static function< int(Mat *, Mat *)> Feature_Value(int feature, int connectivity)
Definition: d_img_proc_2dfactory.cpp:698
D_Img_Proc_2dFactory::GammaSpread_Quantiles
static function< int(Mat *, Mat *)> GammaSpread_Quantiles(double gamma, double quantile_low, double quantile_high, double out_min=0, double out_max=255, bool force_8bit=false, bool ignore_zeros=true)
Definition: d_img_proc_2dfactory.cpp:843
D_Img_Proc_2dFactory::Filter_Gauss
static function< int(Mat *, Mat *)> Filter_Gauss(int size_x, int size_y, int border, double sigma_x, double sigma_y)
Definition: d_img_proc_2dfactory.cpp:375
D_Img_Proc::Threshold_Auto
static int Threshold_Auto(Mat *pMA_Out, Mat *pMA_In, int out_mode, double max_val, int auto_mode)
Definition: d_img_proc.cpp:6653
D_Img_Proc::Draw_Label_Numbers
static int Draw_Label_Numbers(Mat *pMA_Out, Mat *pMA_In, Mat *pMA_Label, double scale, double thickness, bool center)
Definition: d_img_proc.cpp:19012
D_Img_Proc_2dFactory::Math_1img_Subtraction
static function< int(Mat *, Mat *)> Math_1img_Subtraction(double subtrahend)
Definition: d_img_proc_2dfactory.cpp:584
D_Img_Proc::Math_ImgScal_Add
static int Math_ImgScal_Add(Mat *pMA_Out, Mat *pMA_In, double summmand)
Definition: d_img_proc.cpp:13010
D_Img_Proc_2dFactory::Math_1img_Power
static function< int(Mat *, Mat *)> Math_1img_Power(double power)
Definition: d_img_proc_2dfactory.cpp:620
D_Img_Proc_2dFactory::Feature_Visualize
static function< int(Mat *, Mat *)> Feature_Visualize(int feature, int connectivity, int thickness, double scale)
Definition: d_img_proc_2dfactory.cpp:764
D_Img_Proc_2dFactory::Threshold_Adaptive_Gauss
static function< int(Mat *, Mat *)> Threshold_Adaptive_Gauss(int size, double sigma, double offset, double scale)
Definition: d_img_proc_2dfactory.cpp:273
D_Img_Proc_2dFactory::Math_2img_Division
static function< int(Mat *, Mat *, Mat *)> Math_2img_Division(double scale)
Definition: d_img_proc_2dfactory.cpp:1298
D_Img_Proc::OverlayOverwrite
static int OverlayOverwrite(Mat *pMA_Out, Mat *pMA_In, Mat *pMA_Overlay, double intensity_overlay=1.0, double intensity_backgr=1.0)
Definition: d_img_proc.cpp:19556
D_Img_Proc_2dFactory::Transformation_Watershed_Custom
static function< int(Mat *, Mat *, Mat *, Mat *)> Transformation_Watershed_Custom(int connectivity=8)
Definition: d_img_proc_2dfactory.cpp:1613
D_Img_Proc_2dFactory::Filter_RootMeanSquare
static function< int(Mat *, Mat *)> Filter_RootMeanSquare(int size_x, int size_y, int border, int out_depth, bool norm)
Definition: d_img_proc_2dfactory.cpp:359
D_Img_Proc::Transformation_Watershed_Custom
static int Transformation_Watershed_Custom(Mat *pMA_Out, Mat *pMA_In2Fill, Mat *pMA_InMarker, Mat *pMA_FG_Mask, int mode_flood, int mode_marker, int mode_mask, int connectivity=8, int gauss_size=5, double gauss_sigma=2, int morphgrad_elem=MORPH_ELLIPSE, int morphgrad_size=3, double thresh=127, bool exclude_border=true, bool include_non_seeded=true, bool draw_watersheds=true)
D_Img_Proc::Transformation_Watershed_Custom WIP, don't use!
Definition: d_img_proc.cpp:7909
D_Img_Proc_2dFactory::Filter_Stat_Rect
static function< int(Mat *, Mat *)> Filter_Stat_Rect(int size_x, int size_y, int stat, int border_type=BORDER_CONSTANT)
Definition: d_img_proc_2dfactory.cpp:519
D_Img_Proc_2dFactory::Math_4img_Multiplication
static function< int(Mat *, Mat *, Mat *, Mat *, Mat *)> Math_4img_Multiplication()
Definition: d_img_proc_2dfactory.cpp:1796
D_Img_Proc_2dFactory::GammaSpread
static function< int(Mat *, Mat *)> GammaSpread(double gamma, double in_min, double in_max, double out_min, double out_max, bool force_8bit)
Definition: d_img_proc_2dfactory.cpp:826
D_Img_Proc::Draw_ContourText
static int Draw_ContourText(Mat *pMA_Target, vector< vector< Point >> vContours, QStringList QSL_Texts, vector< Point2f > vTextOrigins, int line_thickness, int text_thickness, double text_scale, double value)
D_Img_Proc::Draw_ContourText draw contours in an image with added text at contours centers.
Definition: d_img_proc.cpp:19332
D_Img_Proc::Padding
static int Padding(Mat *pMA_Out, Mat *pMA_In, int size_x, int size_y, int type=BORDER_CONSTANT)
Definition: d_img_proc.cpp:5708
D_Img_Proc_2dFactory::Draw_Label_Numbers
static function< int(Mat *, Mat *, Mat *)> Draw_Label_Numbers(double scale, double thickness, bool center)
Definition: d_img_proc_2dfactory.cpp:1482
D_Img_Proc::Filter_Stat_Rect
static int Filter_Stat_Rect(Mat *pMA_Out, Mat *pMA_In, int size_x, int size_y, int stat, int border_type=BORDER_CONSTANT)
Definition: d_img_proc.cpp:12221
D_Img_Proc_2dFactory::Threshold_Realtive
static function< int(Mat *, Mat *)> Threshold_Realtive(double base, double thresh_rel)
Definition: d_img_proc_2dfactory.cpp:244
D_Img_Proc::Transformation_Fourier
static int Transformation_Fourier(Mat *pMA_Out, Mat *pMA_In, bool invers)
Definition: d_img_proc.cpp:8532
d_img_proc.h
D_Img_Proc::Draw_Label_Numbers_LUT
static int Draw_Label_Numbers_LUT(Mat *pMA_Out, Mat *pMA_In, Mat *pMA_Label, vector< double > v_LUT, bool border, double scale, double thickness, bool center, int precision, uchar r=0, uchar g=0, uchar b=0)
Definition: d_img_proc.cpp:18727
D_Img_Proc_2dFactory::Math_1img_Division
static function< int(Mat *, Mat *)> Math_1img_Division(double divisor)
Definition: d_img_proc_2dfactory.cpp:608
D_Img_Proc::Split
static int Split(Mat *pMA_Out, Mat *pMA_In, unsigned int channel)
Definition: d_img_proc.cpp:4007
D_Img_Proc::Draw_Label_Text
static int Draw_Label_Text(Mat *pMA_Out, Mat *pMA_In, Mat *pMA_Label, QStringList QSL_LabelTexts, bool border, double scale, double thickness, bool center, uchar r=0, uchar g=0, uchar b=0, int connectivity=4)
Definition: d_img_proc.cpp:18825
D_Img_Proc_2dFactory::Normalize
static function< int(Mat *, Mat *)> Normalize(int norm, int type, double min, double max)
Definition: d_img_proc_2dfactory.cpp:104
D_Img_Proc::Feature_Visualize
static int Feature_Visualize(Mat *pMA_Out, Mat *pMA_In, int feature, int connectivity=4, int thickness=1, double scale=1)
Definition: d_img_proc.cpp:15810
D_Img_Proc_2dFactory::Channel_Merge
static function< int(Mat *, Mat *, Mat *, Mat *)> Channel_Merge()
Definition: d_img_proc_2dfactory.cpp:1707
D_Img_Proc::Shading_Correct
static int Shading_Correct(Mat *pMA_Out, Mat *pMA_In, Mat *pMA_Reference)
Definition: d_img_proc.cpp:14089
D_Img_Proc::Filter_Box
static int Filter_Box(Mat *pMA_Out, Mat *pMA_In, int size_x, int size_y, int border, int out_depth, bool norm)
Definition: d_img_proc.cpp:9052
D_Img_Proc::ValueStat
static int ValueStat(Mat *pMA_Out, Mat *pMA_InLabel, Mat *pMA_InValue, int stat, int connectivity=8)
D_Img_Proc::ValueStat assigns a statistic value of all pixel values in a label to the label as gray v...
Definition: d_img_proc.cpp:15977
D_Img_Proc::Math_ImgScal_Root
static int Math_ImgScal_Root(Mat *pMA_Out, Mat *pMA_In)
Definition: d_img_proc.cpp:13068
D_Img_Proc_2dFactory::Math_2img_Subtraction
static function< int(Mat *, Mat *, Mat *)> Math_2img_Subtraction()
Definition: d_img_proc_2dfactory.cpp:1261
D_Img_Proc_2dFactory::Filter_Mean
static function< int(Mat *, Mat *)> Filter_Mean(int size_x, int size_y, int border, int out_depth, bool norm)
Definition: d_img_proc_2dfactory.cpp:343
D_Img_Proc_2dFactory::D_Img_Proc_2dFactory
D_Img_Proc_2dFactory()
Definition: d_img_proc_2dfactory.cpp:3
D_Img_Proc::Hysteresis
static int Hysteresis(Mat *pMA_Out, Mat *pMA_In_Indicator, Mat *pMA_In_Hysteresis, bool labeling=false)
Definition: d_img_proc.cpp:16857
D_Img_Proc_2dFactory::Floodfill_Delta
static function< int(Mat *, Mat *)> Floodfill_Delta(int seed_x, int seed_y, uchar val_new, uchar val_delta)
Definition: d_img_proc_2dfactory.cpp:1046
D_Img_Proc_2dFactory::Threshold_Auto
static function< int(Mat *, Mat *)> Threshold_Auto(int mode, int max, int auto_type)
Definition: d_img_proc_2dfactory.cpp:204
D_Img_Proc::Crop_Rect_Rel
static int Crop_Rect_Rel(Mat *pMA_Out, Mat *pMA_In, double x1_rel, double y1_rel, double x2_rel, double y2_rel)
Definition: d_img_proc.cpp:5467
D_Img_Proc_2dFactory::Threshold_Value
static function< int(Mat *, Mat *)> Threshold_Value(int mode, int max, int thresh)
Definition: d_img_proc_2dfactory.cpp:218
D_Img_Proc_2dFactory::Math_2img_SubtractionAbsolute
static function< int(Mat *, Mat *, Mat *)> Math_2img_SubtractionAbsolute()
Definition: d_img_proc_2dfactory.cpp:1273
D_Img_Proc::Transformation_Watershed
static int Transformation_Watershed(Mat *pMA_Out, Mat *pMA_In, Mat *pMA_Marker)
Definition: d_img_proc.cpp:7557
D_Img_Proc::Stitch_Border_rel
static int Stitch_Border_rel(Mat *pMA_Out, Mat *pMA_In_Main, Mat *pMA_In_R, Mat *pMA_In_B, Mat *pMA_In_BR, double border_R, double border_B, double overlap_R, double overlap_B, Stitcher::Mode mode=Stitcher::SCANS)
Definition: d_img_proc.cpp:6011
D_Img_Proc::ValueStat_Select
static int ValueStat_Select(Mat *pMA_Out, Mat *pMA_InLabel, Mat *pMA_InValue, int stat, double thresh_min, double thresh_max, int connectivity=8)
Definition: d_img_proc.cpp:16060
D_Img_Proc::Transformation_Watershed_Auto
static int Transformation_Watershed_Auto(Mat *pMA_Out, Mat *pMA_In, Mat *pMA_Marker, bool include_not_seeded, bool conv_8bit, bool exclude_border)
Definition: d_img_proc.cpp:7573
D_Img_Proc_2dFactory::ForceSize
static function< int(Mat *, Mat *)> ForceSize(int width, int heigth, int border_type=BORDER_CONSTANT)
Definition: d_img_proc_2dfactory.cpp:1020
D_Img_Proc_2dFactory::Transformation_Watershed_Auto
static function< int(Mat *, Mat *)> Transformation_Watershed_Auto(double distance, bool include_not_seeded, bool conv_8bit, bool exclude_border)
Definition: d_img_proc_2dfactory.cpp:667
D_Img_Proc::Color_Grab
static int Color_Grab(Mat *pMA_Out, Mat *pMA_In, int color_space, int out_mode, vector< uchar > min, vector< uchar > max)
Definition: d_img_proc.cpp:6950
D_Img_Proc_2dFactory::RadiometricStereo
static function< int(Mat *, Mat *, Mat *, Mat *)> RadiometricStereo(double S1X, double S1Y, double S1Z, double S2X, double S2Y, double S2Z, double S3X, double S3Y, double S3Z, int out_mode)
Definition: d_img_proc_2dfactory.cpp:1720
D_Img_Proc_2dFactory::Filter_Eilenstein
static function< int(Mat *, Mat *, Mat *)> Filter_Eilenstein(function< double(double cur, double nei)> response_CurNei, function< double(double res, double wei)> weight_ResWeigth, function< double(vector< double > v_res)> combine_Responses)
D_Img_Proc::Filter_Box_RMS
static int Filter_Box_RMS(Mat *pMA_Out, Mat *pMA_In, int size_x, int size_y, int border, int out_depth, bool norm)
Definition: d_img_proc.cpp:9067
D_Img_Proc::RadiometricStereo
static int RadiometricStereo(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2, Mat *pMA_In3, double S1X, double S1Y, double S1Z, double S2X, double S2Y, double S2Z, double S3X, double S3Y, double S3Z, int out_mode)
Definition: d_img_proc.cpp:20887
D_Img_Proc::Stitch_Border_abs
static int Stitch_Border_abs(Mat *pMA_Out, Mat *pMA_In_Main, Mat *pMA_In_R, Mat *pMA_In_B, Mat *pMA_In_BR, int border_R, int border_B, int overlap_R, int overlap_B, Stitcher::Mode mode=Stitcher::SCANS)
Definition: d_img_proc.cpp:5927
d_component_list.h
D_Img_Proc_2dFactory::Math_2img_Function_Complex
static function< int(Mat *, Mat *, Mat *)> Math_2img_Function_Complex(function< complex< double >(complex< double > x, complex< double > y)> function_img1_img2)
Definition: d_img_proc_2dfactory.cpp:1410
D_Img_Proc_2dFactory::Histogram_Equalize
static function< int(Mat *, Mat *)> Histogram_Equalize()
Definition: d_img_proc_2dfactory.cpp:815
D_Img_Proc::Convert_Angle2Color_Rad
static int Convert_Angle2Color_Rad(Mat *pMA_Out, Mat *pMA_InAngleRad, uchar Saturation=255, uchar Value=255)
Definition: d_img_proc.cpp:3774
D_Img_Proc::Feature_Value
static int Feature_Value(Mat *pMA_Out, Mat *pMA_In, int feature, int connectivity=4)
Definition: d_img_proc.cpp:15646
D_Img_Proc_2dFactory::Math_3img_Addition
static function< int(Mat *, Mat *, Mat *, Mat *)> Math_3img_Addition()
Definition: d_img_proc_2dfactory.cpp:1627
D_Img_Proc::Filter_Sobel
static int Filter_Sobel(Mat *pMA_Out, Mat *pMA_In, int size, int border, int out_depth, double scale, double delta, int d_x, int d_y)
Definition: d_img_proc.cpp:10742
D_Img_Proc_2dFactory::Channel_Supression
static function< int(Mat *, Mat *)> Channel_Supression(bool use_r=true, bool use_g=true, bool use_b=true, bool force_3ch=false)
Definition: d_img_proc_2dfactory.cpp:143
D_Img_Proc_2dFactory::Load_From_Path_Raw
static function< int(Mat *)> Load_From_Path_Raw(string path, int width, int height, int out_type)
Definition: d_img_proc_2dfactory.cpp:34
D_Img_Proc::Filter_Canny
static int Filter_Canny(Mat *pMA_Out, Mat *pMA_In, int size, double thres_low, double thres_high, bool L2_gradient)
Definition: d_img_proc.cpp:10778
D_Img_Proc::Scale_ToSize
static int Scale_ToSize(Mat *pMA_Out, Mat *pMA_In, int size_x, int size_y)
Definition: d_img_proc.cpp:6219
D_Img_Proc::Math_ImgImg_Function
static int Math_ImgImg_Function(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2, function< double(double x, double y)> function_img1_img2)
Definition: d_img_proc.cpp:13278
D_Img_Proc::Filter_Bilateral
static int Filter_Bilateral(Mat *pMA_Out, Mat *pMA_In, int diameter, int border, double sigma_color, double sigma_space)
Definition: d_img_proc.cpp:10796
D_Img_Proc::Threshold_Adaptive_Gauss
static int Threshold_Adaptive_Gauss(Mat *pMA_Out, Mat *pMA_In, int size, double sigma, double offset, double scale)
Definition: d_img_proc.cpp:6689
D_Img_Proc::Morphology_Elemental
static int Morphology_Elemental(Mat *pMA_Out, Mat *pMA_In, int morph_type, int elem_type, unsigned int elem_size_X, unsigned int elem_size_Y, int border_type, unsigned int iterations)
Definition: d_img_proc.cpp:7041
D_Img_Proc_2dFactory::Draw_Label_Text
static function< int(Mat *, Mat *, Mat *)> Draw_Label_Text(QStringList QSL_LabelTexts, bool border, double scale, double thickness, bool center, uchar r=0, uchar g=0, uchar b=0, int connectivity=4)
Definition: d_img_proc_2dfactory.cpp:1518
D_Img_Proc_2dFactory::Filter_Bilateral
static function< int(Mat *, Mat *)> Filter_Bilateral(int diameter, int border, double sigma_color, double sigma_space)
Definition: d_img_proc_2dfactory.cpp:453
D_Img_Proc::Math_ImgSelf_Not
static int Math_ImgSelf_Not(Mat *pMA_Out, Mat *pMA_In)
Definition: d_img_proc.cpp:12999
D_Img_Proc_2dFactory::Math_2img_Multiplication
static function< int(Mat *, Mat *, Mat *)> Math_2img_Multiplication(double scale)
Definition: d_img_proc_2dfactory.cpp:1285
D_Img_Proc_2dFactory::Math_4img_BitwiseAnd
static function< int(Mat *, Mat *, Mat *, Mat *, Mat *)> Math_4img_BitwiseAnd()
Definition: d_img_proc_2dfactory.cpp:1825
D_Img_Proc_2dFactory::DistancesStat
static function< int(Mat *, Mat *)> DistancesStat(function< double(vector< double >)> F_Stat)
Definition: d_img_proc_2dfactory.cpp:861
D_Img_Proc_2dFactory::Math_1img_Root
static function< int(Mat *, Mat *)> Math_1img_Root()
Definition: d_img_proc_2dfactory.cpp:632
D_Img_Proc_2dFactory::Floodfill_Border
static function< int(Mat *, Mat *)> Floodfill_Border(double new_val)
Definition: d_img_proc_2dfactory.cpp:1034
D_Img_Proc_2dFactory::Matrix_Product
static function< int(Mat *, Mat *, Mat *)> Matrix_Product()
Definition: d_img_proc_2dfactory.cpp:1423
D_Img_Proc_2dFactory::Channel_Split
static function< int(Mat *, Mat *)> Channel_Split(int channel)
Definition: d_img_proc_2dfactory.cpp:131
D_Img_Proc_2dFactory::Morphology_LocMax_Rect
static function< int(Mat *, Mat *)> Morphology_LocMax_Rect(int elem_size_X=3, int elem_size_Y=3)
Definition: d_img_proc_2dfactory.cpp:1093
D_Img_Proc::Math_ImgImg_Function_8bit
static int Math_ImgImg_Function_8bit(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2, function< uchar(double x, double y)> function_img1_img2)
Definition: d_img_proc.cpp:13329
D_Img_Proc::DistancesStat
static int DistancesStat(Mat *pMA_Out, Mat *pMA_In, function< double(vector< double >)> F_Stat)
Definition: d_img_proc.cpp:20854
D_Img_Proc_2dFactory::OverlayOverwrite
static function< int(Mat *, Mat *)> OverlayOverwrite(uchar r, uchar g, uchar b, double intensity_overlay)
Definition: d_img_proc_2dfactory.cpp:886
D_Img_Proc_2dFactory::Shading_Correct
static function< int(Mat *, Mat *, Mat *)> Shading_Correct()
Definition: d_img_proc_2dfactory.cpp:1119
D_Img_Proc_2dFactory::Transformation_Distance
static function< int(Mat *, Mat *)> Transformation_Distance(int metric, int precision)
Definition: d_img_proc_2dfactory.cpp:654
D_Img_Proc_2dFactory::Generate_byValueFunction
static function< int(Mat *)> Generate_byValueFunction(int width, int height, function< double(double x, double y)> value_function)
Definition: d_img_proc_2dfactory.cpp:8
d_img_proc_2dfactory.h
D_Img_Proc_2dFactory::Transformation_Fourier
static function< int(Mat *, Mat *, Mat *)> Transformation_Fourier(bool complex_input=true, bool invers=false, bool force_fft=true, bool out_real=false, int out_complex_mode=c_COMPLEX2REAL_ABS, bool out_scale=false, bool out_center=true, bool out_nof0=true)
Definition: d_img_proc_2dfactory.cpp:1435
D_Img_Proc::Crop_Rect_Rot
static int Crop_Rect_Rot(Mat *pMA_Out, Mat *pMA_In, int x, int y, int width, int height, double angle)
Definition: d_img_proc.cpp:5530
D_Img_Proc_2dFactory::Math_1img_Addition
static function< int(Mat *, Mat *)> Math_1img_Addition(double summmand)
Definition: d_img_proc_2dfactory.cpp:572
D_Img_Proc::Math_ImgImg_BitOr
static int Math_ImgImg_BitOr(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2)
Definition: d_img_proc.cpp:13202
d_opencv_typedefs.h
D_Img_Proc_2dFactory::Convert_Color2Mono
static function< int(Mat *, Mat *)> Convert_Color2Mono(int col2mono_code)
Definition: d_img_proc_2dfactory.cpp:92
D_Img_Proc::Crop_Circle
static int Crop_Circle(Mat *pMA_Out, Mat *pMA_In, int x, int y, int r)
Definition: d_img_proc.cpp:5586
D_Img_Proc::ForceSize
static int ForceSize(Mat *pMA_Out, Mat *pMA_In, int width, int heigth, int border_type=BORDER_CONSTANT)
Definition: d_img_proc.cpp:5870
D_Img_Proc_2dFactory::Threshold_RankOrderOffsetHysteresis
static function< int(Mat *, Mat *)> Threshold_RankOrderOffsetHysteresis(double radius, double quantile, double thresh_offset_indicator, double thresh_offset_hysteresis, bool labeling=false)
Definition: d_img_proc_2dfactory.cpp:288
D_Img_Proc::Filter_RankOrder_Rect
static int Filter_RankOrder_Rect(Mat *pMA_Out, Mat *pMA_In, double quantil_relPos, int size_x, int size_y)
D_Img_Proc::Filter_RankOrder_Rect special case of Filter_RankOrder for rect masks.
Definition: d_img_proc.cpp:9317
c_CONNECT_CLOSEST
@ c_CONNECT_CLOSEST
Definition: d_enum.h:1266
D_Img_Proc::Convert_Color
static int Convert_Color(Mat *pMA_Out, Mat *pMA_In, int cvt_mode)
Definition: d_img_proc.cpp:2524
D_Img_Proc_2dFactory::Filter_Stat
static function< int(Mat *, Mat *, Mat *)> Filter_Stat(int stat, int border_type=BORDER_CONSTANT)
Definition: d_img_proc_2dfactory.cpp:1220
D_Img_Proc_2dFactory::Crop_Rect_Abs
static function< int(Mat *, Mat *)> Crop_Rect_Abs(int x, int y, int width, int height)
Definition: d_img_proc_2dfactory.cpp:935
D_Img_Proc::Sign2Color
static int Sign2Color(Mat *pMA_Out, Mat *pMA_In, bool norm=false)
Definition: d_img_proc.cpp:4191
D_Img_Proc_2dFactory::Morphology_Reconstruction
static function< int(Mat *, Mat *, Mat *, Mat *)> Morphology_Reconstruction(double quantil=1)
Definition: d_img_proc_2dfactory.cpp:1735
d_enum.h
D_Img_Proc::Morphology_Reconstruction
static int Morphology_Reconstruction(Mat *pMA_Out, Mat *pMA_InSeed, Mat *pMA_InLimit, Mat *pMA_Mask, double quantil=1)
Definition: d_img_proc.cpp:7437
D_Img_Proc::Math_ImgImg_DiffAbs
static int Math_ImgImg_DiffAbs(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2)
Definition: d_img_proc.cpp:13140
D_Img_Proc_2dFactory
The D_Img_Proc_2dFactory class Factory that turns methods from D_Img_Proc into function objects.
Definition: d_img_proc_2dfactory.h:53
D_Img_Proc::Stitch_Border_abs_custom
static int Stitch_Border_abs_custom(Mat *pMA_Out, Mat *pMA_In_Main, Mat *pMA_In_R, Mat *pMA_In_B, Mat *pMA_In_BR, int border_R, int border_B, int overlap_R, int overlap_B)
Definition: d_img_proc.cpp:6032
D_Img_Proc::Reduce_Geometric
static int Reduce_Geometric(Mat *pMA_Out, Mat *pMA_In, int geometric, int connectivity=8, int thickness=1, uchar value=255)
Definition: d_img_proc.cpp:16215
D_Img_Proc::Math_ImgImg_BitAnd
static int Math_ImgImg_BitAnd(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2)
Definition: d_img_proc.cpp:13187
D_Img_Proc::ClassBorder_kNN
static int ClassBorder_kNN(Mat *pMA_Out, Mat *pMA_Class0, Mat *pMA_Class1, int n)
Definition: d_img_proc.cpp:20100
D_Img_Proc::FeatureContext_Select
static int FeatureContext_Select(Mat *pMA_Out, Mat *pMA_In, int pt_type1, int pt_type2, double dist_min, double dist_max, int feat, int stat, double t_min, double t_max, int connectivity=4)
Definition: d_img_proc.cpp:15758
D_Img_Proc::Math_Add
static int Math_Add(Mat *pMA_Out, Mat *pMA_In1, double summand)
Definition: d_img_proc.cpp:12364
D_Img_Proc::Math_ImgImg_Add
static int Math_ImgImg_Add(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2)
Definition: d_img_proc.cpp:13092
D_Img_Proc_2dFactory::Filter_Stat_Circular
static function< int(Mat *, Mat *)> Filter_Stat_Circular(double radius, int stat, int border_type=BORDER_CONSTANT)
Definition: d_img_proc_2dfactory.cpp:505
D_Img_Proc::Math_ImgScal_Div
static int Math_ImgScal_Div(Mat *pMA_Out, Mat *pMA_In, double divisor)
Definition: d_img_proc.cpp:13046
D_Img_Proc::Merge
static int Merge(Mat *pMA_Out, Mat *pMA_In0, Mat *pMA_In1, Mat *pMA_In2, Mat *pMA_In3, unsigned int channels, bool channel_use[4])
Definition: d_img_proc.cpp:4060
D_Img_Proc::Floodfill_Boundary
static int Floodfill_Boundary(Mat *pMA_Out, Mat *pMA_In, double new_val)
Definition: d_img_proc.cpp:16722
D_Img_Proc_2dFactory::Grab_Color
static function< int(Mat *, Mat *)> Grab_Color(int color_space, int out_mode, vector< uchar > min, vector< uchar > max)
Definition: d_img_proc_2dfactory.cpp:317
D_Img_Proc::Convert_Depth_NoScaling
static int Convert_Depth_NoScaling(Mat *pMA_Out, Mat *pMA_In, int depth)
Definition: d_img_proc.cpp:2777
D_Img_Proc_2dFactory::Morphology_Skeleton
static function< int(Mat *, Mat *)> Morphology_Skeleton(int elem_type, int elem_size_X, int elem_size_Y, int border_type)
Definition: d_img_proc_2dfactory.cpp:1078
D_Img_Proc::Filter_Gauss
static int Filter_Gauss(Mat *pMA_Out, Mat *pMA_In, int size_x, int size_y, int border, double sigma_x, double sigma_y)
Definition: d_img_proc.cpp:9083
D_Img_Proc::Math_ImgImg_Mult
static int Math_ImgImg_Mult(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2, double scale)
Definition: d_img_proc.cpp:13155
D_Img_Proc::Filter_RankOrder_Circular
static int Filter_RankOrder_Circular(Mat *pMA_Out, Mat *pMA_In, double quantil_relPos, double radius)
D_Img_Proc::Filter_RankOrder_Circular special case of Filter_RankOrder.
Definition: d_img_proc.cpp:9271
D_Img_Proc::Morphology_LocMax_Rect
static int Morphology_LocMax_Rect(Mat *pMA_Out, Mat *pMA_In, int elem_size_X=3, int elem_size_Y=3)
Definition: d_img_proc.cpp:7397
D_Img_Proc_2dFactory::Feature_Select
static function< int(Mat *, Mat *)> Feature_Select(int feature, double f_min, double f_max, int connectivity)
Definition: d_img_proc_2dfactory.cpp:729
D_Img_Proc::FeatureContext_Value
static int FeatureContext_Value(Mat *pMA_Out, Mat *pMA_In, int pt_type1, int pt_type2, double dist_min, double dist_max, int feat, int stat, int connectivity=4)
Definition: d_img_proc.cpp:15679
D_Img_Proc_2dFactory::Math_2img_Function_8bit
static function< int(Mat *, Mat *, Mat *)> Math_2img_Function_8bit(function< uchar(double x, double y)> function_img1_img2)
Definition: d_img_proc_2dfactory.cpp:1397
D_Img_Proc_2dFactory::Math_3img_BitwiseOr
static function< int(Mat *, Mat *, Mat *, Mat *)> Math_3img_BitwiseOr()
Definition: d_img_proc_2dfactory.cpp:1694
D_Img_Proc::Convert_Color2Mono
static int Convert_Color2Mono(Mat *pMA_Out, Mat *pMA_In, int col2mono_code)
Definition: d_img_proc.cpp:2662
D_Img_Proc_2dFactory::Math_2img_BitwiseXor
static function< int(Mat *, Mat *, Mat *)> Math_2img_BitwiseXor()
Definition: d_img_proc_2dfactory.cpp:1335
D_Img_Proc_2dFactory::Filter_RankOrder
static function< int(Mat *, Mat *, Mat *)> Filter_RankOrder(double quantil)
Definition: d_img_proc_2dfactory.cpp:1144
D_Img_Proc::Generate_byValueFunction_Complex
static int Generate_byValueFunction_Complex(Mat *pMA_Out, int width, int height, function< complex< double >(complex< double > x, complex< double > y)> value_function)
Definition: d_img_proc.cpp:346
D_Img_Proc_2dFactory::Stitch_Border_rel
static function< int(Mat *, Mat *, Mat *, Mat *, Mat *)> Stitch_Border_rel(double border_R, double border_B, double overlap_R, double overlap_B, Stitcher::Mode mode=Stitcher::SCANS)
Definition: d_img_proc_2dfactory.cpp:1872
D_Img_Proc_2dFactory::Morphology_Elemental
static function< int(Mat *, Mat *)> Morphology_Elemental(int morph_type, int elem_type, int elem_size_X, int elem_size_Y, int border_type, int iterations)
Definition: d_img_proc_2dfactory.cpp:1061
D_Img_Proc::Threshold_Value
static int Threshold_Value(Mat *pMA_Out, Mat *pMA_In, int out_mode, double max_val, double thres)
Definition: d_img_proc.cpp:6638
D_Img_Proc::Threshold_Relative
static int Threshold_Relative(Mat *pMA_Out, Mat *pMA_In, double max_val, double thres_rel)
Definition: d_img_proc.cpp:6235
D_Img_Proc_2dFactory::Threshold_Absolute
static function< int(Mat *, Mat *)> Threshold_Absolute(double thresh)
Definition: d_img_proc_2dfactory.cpp:232
D_Img_Proc::Filter_Function_8bit
static int Filter_Function_8bit(Mat *pMA_Out, Mat *pMA_In, Mat *pMA_Mask, function< uchar(double cur, double nei)> F1_CenterImage, function< uchar(double f1r, double msk)> F2_f1mask, function< uchar(vector< double > vf2r)> F3_Combine, function< uchar(double f3r, double cen)> F4_f3center, int border_type=BORDER_CONSTANT, bool DoNonZeroMaskOnly=false)
Definition: d_img_proc.cpp:11786
D_Img_Proc_2dFactory::Transformation_Watershed
static function< int(Mat *, Mat *, Mat *)> Transformation_Watershed()
Definition: d_img_proc_2dfactory.cpp:1455
D_Img_Proc_2dFactory::Math_1img_Inversion
static function< int(Mat *, Mat *)> Math_1img_Inversion()
Definition: d_img_proc_2dfactory.cpp:561
D_Img_Proc_2dFactory::Math_2img_Function
static function< int(Mat *, Mat *, Mat *)> Math_2img_Function(function< double(double x, double y)> function_img1_img2)
Definition: d_img_proc_2dfactory.cpp:1384
D_Img_Proc::Threshold_Absolute
static int Threshold_Absolute(Mat *pMA_Out, Mat *pMA_In, double thres_abs)
Definition: d_img_proc.cpp:6440
D_Img_Proc_2dFactory::Filter_Gabor
static function< int(Mat *, Mat *)> Filter_Gabor(int size_x, int size_y, int border, int out_depth, double sigma, double theta, double lambda, double gamma, double psi, double delta)
Definition: d_img_proc_2dfactory.cpp:468
D_Img_Proc_2dFactory::Filter_RankOrder_Rect
static function< int(Mat *, Mat *)> Filter_RankOrder_Rect(double quantil, int size_x, int size_y)
Definition: d_img_proc_2dfactory.cpp:547
D_Img_Proc::Feature_Connect
static int Feature_Connect(Mat *pMA_Out, Mat *pMA_In, int pt_type1, int pt_type2, double dist_min, double dist_max, int feat1, int feat2, function< bool(double, double)> comp, int connect_mode=c_CONNECT_CLOSEST, int connectivity=4, int thickness=2)
Definition: d_img_proc.cpp:15901
D_Img_Proc::Math_ImgImg_Function_Complex
static int Math_ImgImg_Function_Complex(Mat *pMA_Out, Mat *pMA_In1, Mat *pMA_In2, function< complex< double >(complex< double > x, complex< double > y)> function_img1_img2)
Definition: d_img_proc.cpp:13380
D_Img_Proc::Channel_Supression
static int Channel_Supression(Mat *pMA_Out, Mat *pMA_In, bool use_r=true, bool use_g=true, bool use_b=true, bool force_3ch=false)
Definition: d_img_proc.cpp:3953
D_Img_Proc_2dFactory::Filter_Function_8bit
static function< int(Mat *, Mat *, Mat *)> Filter_Function_8bit(function< uchar(double cur, double nei)> F1_CenterImage, function< uchar(double f1r, double msk)> F2_f1mask, function< uchar(vector< double > vf2r)> F3_Combine, function< uchar(double f3r, double cen)> F4_f3center, int border_type=BORDER_CONSTANT, bool DoNonZeroMaskOnly=false)
Definition: d_img_proc_2dfactory.cpp:1202
D_Img_Proc::Math_ImgScal_Log
static int Math_ImgScal_Log(Mat *pMA_Out, Mat *pMA_In)
Definition: d_img_proc.cpp:13080
D_Img_Proc::Generate_byValueFunction
static int Generate_byValueFunction(Mat *pMA_Out, int width, int height, function< double(double x, double y)> value_function)
Definition: d_img_proc.cpp:332
D_Img_Proc::Filter_Laplace
static int Filter_Laplace(Mat *pMA_Out, Mat *pMA_In, int size, int border, int out_depth, double scale, double delta)
Definition: d_img_proc.cpp:10694
d_stat.h
D_Img_Proc::Threshold_RankOrderOffsetHysteresis
static int Threshold_RankOrderOffsetHysteresis(Mat *pMA_Out, Mat *pMA_In, double radius, double quantile, double thresh_offset_indicator, double thresh_offset_hysteresis, bool labeling=false)
Definition: d_img_proc.cpp:6830