Difference between Point and Point2f
Hello I am new to opencv and I want to understand the difference of use of Point and Point2f .Can anyone please explain that and also give an example ?
Hello I am new to opencv and I want to understand the difference of use of Point and Point2f .Can anyone please explain that and also give an example ?
in file types.hpp you can find :
typedef Point_<int> Point2i;
typedef Point_<float> Point2f;
typedef Point_<double> Point2d;
typedef Point2i Point;
Point is for integer coordinates and Point2f for floating point values
Ok thank you ! For example when i use : Mat A ; A.at<point2f>(y,x); what result do i get ?
Asked: 2016-03-26 08:50:12 -0600
Seen: 14,506 times
Last updated: Mar 26 '16
Area of a single pixel object in OpenCV
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
OpenCV DescriptorMatcher matches
Can't compile .cu file when including opencv.hpp
Using OpenCV's stitching module, strange error when compositing images
compile error in opencv2/flann/lsh_table.h when compiling bgslibrary