What is InputArray?
It can be seen that almost all OpenCV functions receive InputArray
type. What is it, and how can I understand the actual input types of parameters?
It can be seen that almost all OpenCV functions receive InputArray
type. What is it, and how can I understand the actual input types of parameters?
This is the proxy class for passing read-only input arrays into OpenCV functions.
Inside a function you should use _InputArray::getMat() method to construct a matrix header for the array (without copying data). _InputArray::kind() can be used to distinguish Mat from vector<> etc., but normally it is not needed.
More information you can find here: http://docs.opencv.org/modules/core/doc/basic_structures.html?highlight=inputarray#InputArray
Asked: 2012-06-08 08:42:30 -0600
Seen: 38,068 times
Last updated: Jun 08 '12
Is it possible to measure in pixels a character outputed from putText()?
Basic operations on single image are slow
installation test on unix: illegal instruction cored dumped
Accessing Point<int> (Point2i) data from memory
opencv_core246d.dll is not in your computer
Make use of dual or multi core with OpenCV (ARM cortex A9)
Assertion Failed Core.solve in Java
Should the OpenCV C++ Core provide a Line class, similar to Point, Rect and Size?