#include <sliding_window_object_detector.h>
|
virtual void | computeHSHistogram (cv::Mat &, cv::Mat &, const int=64, const int=32, bool=true) |
|
virtual void | concatenateCVMat (const cv::Mat &, const cv::Mat &, cv::Mat &, bool=true) |
|
virtual void | configCallback (jsk_perception::SlidingWindowObjectDetectorConfig &, uint32_t) |
|
void | convertCvRectToJSKRectArray (const std::vector< cv::Rect_< int > > &, jsk_recognition_msgs::RectArray &, const int, const cv::Size) |
|
virtual void | loadTrainedDetectorModel () |
|
virtual std::vector< cv::Rect_< int > > | nonMaximumSuppression (std::multimap< float, cv::Rect_< int > > &, const float) |
|
virtual void | objectRecognizer (const cv::Mat &, std::multimap< float, cv::Rect_< int > > &, const cv::Size, const int=16) |
|
virtual void | pyramidialScaling (cv::Size &, const float) |
|
virtual void | readTrainingManifestFromDirectory () |
|
virtual std::multimap< float, cv::Rect_< int > > | runSlidingWindowDetector (const cv::Mat &, const cv::Size, const float, const int, const int) |
|
virtual void | setBoundingBoxLabel (cv::Mat &, cv::Rect_< int >, const std::string="object") |
|
| SlidingWindowObjectDetector () |
|
virtual cv::Mat | computeHOG (const cv::Mat &) |
|
| HOGFeatureDescriptor (const int=8, const int=2, const int=9, const float=180.0f) |
|
◆ SlidingWindowObjectDetector()
jsk_perception::SlidingWindowObjectDetector::SlidingWindowObjectDetector |
( |
| ) |
|
|
inline |
◆ computeHSHistogram()
void jsk_perception::SlidingWindowObjectDetector::computeHSHistogram |
( |
cv::Mat & |
src, |
|
|
cv::Mat & |
hist, |
|
|
const int |
hBin = 64 , |
|
|
const int |
sBin = 32 , |
|
|
bool |
is_norm = true |
|
) |
| |
|
virtual |
◆ concatenateCVMat()
void jsk_perception::SlidingWindowObjectDetector::concatenateCVMat |
( |
const cv::Mat & |
mat_1, |
|
|
const cv::Mat & |
mat_2, |
|
|
cv::Mat & |
featureMD, |
|
|
bool |
iscolwise = true |
|
) |
| |
|
virtual |
◆ configCallback()
void jsk_perception::SlidingWindowObjectDetector::configCallback |
( |
jsk_perception::SlidingWindowObjectDetectorConfig & |
config, |
|
|
uint32_t |
level |
|
) |
| |
|
virtual |
◆ convertCvRectToJSKRectArray()
void jsk_perception::SlidingWindowObjectDetector::convertCvRectToJSKRectArray |
( |
const std::vector< cv::Rect_< int > > & |
bounding_boxes, |
|
|
jsk_recognition_msgs::RectArray & |
jsk_rects, |
|
|
const int |
downsize, |
|
|
const cv::Size |
img_sz |
|
) |
| |
◆ imageCb()
void jsk_perception::SlidingWindowObjectDetector::imageCb |
( |
const sensor_msgs::ImageConstPtr & |
msg | ) |
|
|
protectedvirtual |
◆ loadTrainedDetectorModel()
void jsk_perception::SlidingWindowObjectDetector::loadTrainedDetectorModel |
( |
| ) |
|
|
virtual |
◆ nonMaximumSuppression()
std::vector< cv::Rect_< int > > jsk_perception::SlidingWindowObjectDetector::nonMaximumSuppression |
( |
std::multimap< float, cv::Rect_< int > > & |
detection_info, |
|
|
const float |
nms_threshold |
|
) |
| |
|
virtual |
◆ objectRecognizer()
void jsk_perception::SlidingWindowObjectDetector::objectRecognizer |
( |
const cv::Mat & |
image, |
|
|
std::multimap< float, cv::Rect_< int > > & |
detection_info, |
|
|
const cv::Size |
wsize, |
|
|
const int |
incrementor = 16 |
|
) |
| |
|
virtual |
◆ onInit()
void jsk_perception::SlidingWindowObjectDetector::onInit |
( |
| ) |
|
|
protectedvirtual |
◆ pyramidialScaling()
void jsk_perception::SlidingWindowObjectDetector::pyramidialScaling |
( |
cv::Size & |
wsize, |
|
|
const float |
scale |
|
) |
| |
|
virtual |
◆ readTrainingManifestFromDirectory()
void jsk_perception::SlidingWindowObjectDetector::readTrainingManifestFromDirectory |
( |
| ) |
|
|
virtual |
◆ runSlidingWindowDetector()
std::multimap< float, cv::Rect_< int > > jsk_perception::SlidingWindowObjectDetector::runSlidingWindowDetector |
( |
const cv::Mat & |
image, |
|
|
const cv::Size |
wsize, |
|
|
const float |
scale, |
|
|
const int |
scale_counter, |
|
|
const int |
incrementor |
|
) |
| |
|
virtual |
◆ setBoundingBoxLabel()
void jsk_perception::SlidingWindowObjectDetector::setBoundingBoxLabel |
( |
cv::Mat & |
im, |
|
|
cv::Rect_< int > |
rect, |
|
|
const std::string |
label = "object" |
|
) |
| |
|
virtual |
◆ subscribe()
void jsk_perception::SlidingWindowObjectDetector::subscribe |
( |
| ) |
|
|
protectedvirtual |
◆ unsubscribe()
void jsk_perception::SlidingWindowObjectDetector::unsubscribe |
( |
| ) |
|
|
protectedvirtual |
◆ dataset_path_
std::string jsk_perception::SlidingWindowObjectDetector::dataset_path_ |
|
protected |
◆ downsize_
int jsk_perception::SlidingWindowObjectDetector::downsize_ |
|
protected |
◆ incrementor_
int jsk_perception::SlidingWindowObjectDetector::incrementor_ |
|
protected |
◆ model_name_
std::string jsk_perception::SlidingWindowObjectDetector::model_name_ |
|
protected |
◆ mutex_
boost::mutex jsk_perception::SlidingWindowObjectDetector::mutex_ |
|
protected |
◆ ndataset_path_
std::string jsk_perception::SlidingWindowObjectDetector::ndataset_path_ |
|
protected |
◆ nms_client_
◆ nonobject_dataset_filename_
std::string jsk_perception::SlidingWindowObjectDetector::nonobject_dataset_filename_ |
|
protected |
◆ object_dataset_filename_
std::string jsk_perception::SlidingWindowObjectDetector::object_dataset_filename_ |
|
protected |
◆ override_manifest_
bool jsk_perception::SlidingWindowObjectDetector::override_manifest_ |
|
protected |
◆ pub_image_
ros::Publisher jsk_perception::SlidingWindowObjectDetector::pub_image_ |
|
protected |
◆ pub_rects_
ros::Publisher jsk_perception::SlidingWindowObjectDetector::pub_rects_ |
|
protected |
◆ rosbag_
◆ run_type_
std::string jsk_perception::SlidingWindowObjectDetector::run_type_ |
|
protected |
◆ scale_
float jsk_perception::SlidingWindowObjectDetector::scale_ |
|
protected |
◆ srv_
boost::shared_ptr<dynamic_reconfigure::Server< jsk_perception::SlidingWindowObjectDetectorConfig> > jsk_perception::SlidingWindowObjectDetector::srv_ |
|
protected |
◆ stack_size_
int jsk_perception::SlidingWindowObjectDetector::stack_size_ |
|
protected |
◆ sub_image_
◆ supportVectorMachine_
boost::shared_ptr<cv::SVM> jsk_perception::SlidingWindowObjectDetector::supportVectorMachine_ |
|
protected |
◆ swindow_x
int jsk_perception::SlidingWindowObjectDetector::swindow_x |
|
protected |
◆ swindow_y
int jsk_perception::SlidingWindowObjectDetector::swindow_y |
|
protected |
◆ trainer_manifest_filename_
std::string jsk_perception::SlidingWindowObjectDetector::trainer_manifest_filename_ |
|
protected |
The documentation for this class was generated from the following files: