#include <ros/ros.h>
#include <image_transport/image_transport.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <cv_bridge/CvBridge.h>
#include <ar_recog/Tag.h>
#include <ar_recog/Tags.h>
#include <ar_recog/CalibrateDistance.h>
#include <math.h>
#include <AR/ar.h>
#include <AR/video.h>
#include <AR/matrix.h>
#include "object.h"
#include <iostream>
Go to the source code of this file.
Defines | |
#define | THRESH 100 |
#define | THRESH_RANGE_LIMIT 40 |
#define | THRESH_VARIATION 5 |
Functions | |
bool | calibrateDistance (ar_recog::CalibrateDistance::Request &req, ar_recog::CalibrateDistance::Response &resp) |
IplImage * | drawHistogram (IplImage *img) |
void | handleImage (const sensor_msgs::ImageConstPtr &in, const sensor_msgs::CameraInfoConstPtr &camera_info) |
void | handleRawImage (const sensor_msgs::ImageConstPtr &in) |
void | init (int width, int height) |
int | main (int argc, char **argv) |
Variables | |
image_transport::Publisher | ar_hist |
image_transport::Publisher | ar_img |
bool | ar_smooth = true |
ARParam | cparam |
char | cparam_name [65536] |
double | haov |
int | kThresh = 1 |
int | last_reported_distance |
char | model_name [65536] |
ObjectData_T * | object |
int | objectnum |
double | patt_trans [3][4] |
int | sign = 1 |
ros::Publisher | tags_pub |
int | thresh = THRESH |
int | threshVariation = THRESH_VARIATION |
bool | using_rectified_images |
double | vaov |
#define THRESH 100 |
Definition at line 25 of file ar_recog_no_adapt_threshold.cpp.
#define THRESH_RANGE_LIMIT 40 |
Definition at line 27 of file ar_recog_no_adapt_threshold.cpp.
#define THRESH_VARIATION 5 |
Definition at line 26 of file ar_recog_no_adapt_threshold.cpp.
bool calibrateDistance | ( | ar_recog::CalibrateDistance::Request & | req, |
ar_recog::CalibrateDistance::Response & | resp | ||
) |
Definition at line 543 of file ar_recog_no_adapt_threshold.cpp.
IplImage* drawHistogram | ( | IplImage * | img | ) |
Definition at line 68 of file ar_recog_no_adapt_threshold.cpp.
void handleImage | ( | const sensor_msgs::ImageConstPtr & | in, |
const sensor_msgs::CameraInfoConstPtr & | camera_info | ||
) |
Definition at line 124 of file ar_recog_no_adapt_threshold.cpp.
void handleRawImage | ( | const sensor_msgs::ImageConstPtr & | in | ) |
Definition at line 537 of file ar_recog_no_adapt_threshold.cpp.
void init | ( | int | width, |
int | height | ||
) |
Definition at line 45 of file ar_recog_no_adapt_threshold.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 552 of file ar_recog_no_adapt_threshold.cpp.
Definition at line 121 of file ar_recog_no_adapt_threshold.cpp.
Definition at line 120 of file ar_recog_no_adapt_threshold.cpp.
bool ar_smooth = true |
Definition at line 118 of file ar_recog_no_adapt_threshold.cpp.
Definition at line 30 of file ar_recog_no_adapt_threshold.cpp.
char cparam_name[65536] |
Definition at line 29 of file ar_recog_no_adapt_threshold.cpp.
double haov |
Definition at line 117 of file ar_recog_no_adapt_threshold.cpp.
int kThresh = 1 |
Definition at line 42 of file ar_recog_no_adapt_threshold.cpp.
Definition at line 122 of file ar_recog_no_adapt_threshold.cpp.
char model_name[65536] |
Definition at line 32 of file ar_recog_no_adapt_threshold.cpp.
Definition at line 33 of file ar_recog_no_adapt_threshold.cpp.
int objectnum |
Definition at line 34 of file ar_recog_no_adapt_threshold.cpp.
double patt_trans[3][4] |
Definition at line 35 of file ar_recog_no_adapt_threshold.cpp.
int sign = 1 |
Definition at line 43 of file ar_recog_no_adapt_threshold.cpp.
Definition at line 119 of file ar_recog_no_adapt_threshold.cpp.
Definition at line 40 of file ar_recog_no_adapt_threshold.cpp.
Definition at line 41 of file ar_recog_no_adapt_threshold.cpp.
Definition at line 37 of file ar_recog_no_adapt_threshold.cpp.
double vaov |
Definition at line 117 of file ar_recog_no_adapt_threshold.cpp.