24 #ifndef CONNECTEDCOMPONENTS_H 25 #define CONNECTEDCOMPONENTS_H 98 virtual void LabelSquares(IplImage*
image,
bool visualize=
false) = 0;
100 bool CheckBorder(CvSeq* contour,
int width,
int height);
104 thresh_param1 = param1;
105 thresh_param2 = param2;
129 void SetOptions(
bool _detect_pose_grayscale=
false);
134 CvSeq* LabelImage(IplImage*
image,
int min_size,
bool approx=
false);
This file implements a parametrized line.
void SetThreshParams(int param1, int param2)
This file implements a camera used for projecting points and computing homographies.
ThresholdMethod
Two alternatives for thresholding the gray image. ADAPT (adaptive threshold) is only supported curren...
IplImage * bw
Pointer to binary image that is then labeled.
Simple Camera class for calculating distortions, orientation or projections with pre-calibrated camer...
Base class for labeling connected components from binary image.
std::vector< std::vector< PointDouble > > blob_corners
Vector of 4-length vectors where the corners of detected blobs are stored.
bool detect_pose_grayscale
void SetCamera(Camera *camera)
Sets the camera object that is used to correct lens distortions.
This file implements generic utility functions and a serialization interface.
IplImage * gray
Pointer to grayscale image that is thresholded for labeling.
Labeling class that uses OpenCV routines to find connected components.
This file defines library export definitions, version numbers and build information.