You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,3 +45,11 @@ If you prefer using the gui version of cmake (cmake-gui), then, you can add `ope
45
45
6. press the `configure` button followed by the `generate` button (the first time, you will be asked which makefile style to use)
46
46
47
47
7. build the `opencv` core with the method you chose (make and make install if you chose Unix makfile at step 6)
48
+
49
+
### Update the repository documentation
50
+
51
+
In order to keep a clean overview containing all contributed modules the following files need to be created/adapted.
52
+
53
+
1. Update the README.md file under the modules folder. Here you add your model with a single line description.
54
+
55
+
2. Add a README.md inside your own module folder. This README explains which functionality (seperate functions) is available, links to the corresponding samples and explains in somewhat more detail what the module is expected to do. If any extra requirements are needed to build the module without problems, add them here also.
1.**opencv_adas**: Advanced Driver Assistance Systems module with Forward Collision Warning.
12
+
13
+
2.**opencv_bgsegm**: Improved Adaptive Background Mixture Model for Real-time Tracking / Visual Tracking of Human Visitors under Variable-Lighting Conditions.
14
+
15
+
3.**opencv_bioinspired**: Biologically inspired vision models and derivated tools.
16
+
17
+
4.**opencv_ ccalib**: Custom Calibration Pattern for 3D reconstruction.
18
+
19
+
5.**opencv_cvv**: GUI for Interactive Visual Debugging of Computer Vision Programs.
20
+
21
+
6.**opencv_datasettools**: Tools for working with different datasets.
22
+
23
+
7.**opencv_face**: Recently added face recognition software which is not yet stabalized.
24
+
25
+
8.**opencv_line_descriptor**: Binary descriptors for lines extracted from an image.
int samples_size = (int)((params.bg_per_image * bg_filenames.size()) + pos_filenames.size());
159
+
int features_size = params.feature_count;
160
+
int max_features_allowed = (int)(INT_MAX/(sizeof(int)* samples_size));
161
+
int max_samples_allowed = (int)(INT_MAX/(sizeof(int)* features_size));
162
+
int total_samples = (int)((params.bg_per_image * bg_filenames.size()) + pos_filenames.size());
163
+
164
+
165
+
if(total_samples >max_samples_allowed)
166
+
{
167
+
CV_Error_(1, ("exceeded maximum number of samples. Maximum number of samples with %d features is %d, you have %d (%d positive samples + (%d bg * %d bg_per_image))\n",features_size,max_samples_allowed,total_samples,pos_filenames.size(),bg_filenames.size(),params.bg_per_image ));
168
+
}
169
+
170
+
if(params.feature_count >max_features_allowed)
171
+
{
172
+
CV_Error_(1, ("exceeded maximum number of features. Maximum number of features with %d samples is %d, you have %d\n",samples_size,max_features_allowed, features_size ));
Copy file name to clipboardExpand all lines: modules/bioinspired/include/opencv2/bioinspired/retinafasttonemapping.hpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ namespace cv{
80
80
namespacebioinspired{
81
81
82
82
/**
83
-
* @class RetinaFastToneMappingImpl a wrapper class which allows the tone mapping algorithm of Meylan&al(2007) to be used with OpenCV.
83
+
* a wrapper class which allows the tone mapping algorithm of Meylan&al(2007) to be used with OpenCV.
84
84
* This algorithm is already implemented in thre Retina class (retina::applyFastToneMapping) but used it does not require all the retina model to be allocated. This allows a light memory use for low memory devices (smartphones, etc.
85
85
* As a summary, these are the model properties:
86
86
* => 2 stages of local luminance adaptation with a different local neighborhood for each.
0 commit comments