Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to know what to #include for a given function ?

I am using opencv 2.4.13 and I want to use SLIC

I googled OpenCV SLIC and I get to this page http://docs.opencv.org/trunk/d3/da9/classcv_1_1ximgproc_1_1SuperpixelSLIC.html#details&gsc.tab=0

Now it tells me I need to #include "slic.hpp" but I cant find it in my OpenCV folder. How do I find out where slic.hpp is located ? The website doesn't tell me anything.

If I google stereocalibrate, I get this http://docs.opencv.org/3.0-beta/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html#calibratecamera but again Im not sure what folder to include .

Is there a webpage / guide that tells me what folder I need to include if I want to use a specific function ?