C
C++
- string literal
- array decayed to pointer: when & when not
- pointer vs. reference
- compare pointers
class
vs.struct
static_cast
vs.dynamic_cast
vs.const_cast
vs.reinterpret_cast
cout double
value with full precision- Why
cout
works weird forunsigned char
? const
reading | cvqualifiers |const
correctness | The C++const
Declaration: Why & How |const
member function- get the type of an array element
- set, clear, toggle, and check a single bit
iostream::eof
inside a loop condition is wrong!!!set
with custom comparator- Undefined Behavior and Sequence Points
- copy files (for all types/without knowing types)
OpenCV
- setup in VS
- missing dll issues
- automatic memory management (e.g.
Mat
) waitKey()
imwrite()
supported types- comma-separated initializer for
Mat
:Mat mat = (Mat_<float>(2,3) << 1, 2, 3, 4, 5, 6);
- apply function to each image pixel
- set all
Mat
values at given channel to given value - set
Mat
values given condition - convertion from
Mat
tovector
- create rotated rectangular or polygonal ROI/mask
kmeans()
on color images (per pixel [RGB] as a sample)- HOG feature |
CascadeClassifier::detectMultiScale()
parameters
Dos
Mixed Programming
Regex
Other
Note: If one thread is both applied to C and C++, I will put it in C++.