Public Member Functions | Private Attributes | List of all members
ViewParamsWrapper Class Reference

#include <View_Params_Wrapper.h>

Public Member Functions

void addBoxCorner (Eigen::Vector2i corner)
 Adds a corner point to the list of bounding box corners. More...
 
void clearBoundingBox ()
 
Eigen::Vector3d getAxis1 ()
 
double getAxis1Angle ()
 
Eigen::Vector3d getAxis2 ()
 
double getAxis2Angle ()
 
std::vector< Eigen::Vector2i > getBoxCorners ()
 
int getColumn1 ()
 
int getColumn2 ()
 
int getDepth ()
 
bool getHasBoundingBox ()
 
int getHorizontalOffset ()
 
HalconCpp::HImage getImage ()
 
bool getIsInvertible ()
 
bool getIsValid ()
 
double getMaxScale ()
 
double getMinScale ()
 
int getNumberFerns ()
 
Eigen::Vector3d getOrientation ()
 
HalconCpp::HImage getOriginalImage ()
 
int getPatchSize ()
 
std::string getRotationType ()
 
int getRow1 ()
 
int getRow2 ()
 
double getScore2D ()
 
bool getUseColor ()
 
int getVerticalOffset ()
 
void setAxis1 (Eigen::Vector3d axis1)
 
void setAxis1Angle (double axis1_angle)
 
void setAxis2 (Eigen::Vector3d axis2)
 
void setAxis2Angle (double axis2_angle)
 
void setDepth (int depth)
 
void setHasBoundingBox (bool has_bounding_box=true)
 
void setHorizontalOffset (int horizontal_offset)
 
void setImage (HalconCpp::HImage image)
 
void setImageBounds (int row1, int column1, int row2, int column2)
 
void setIsInvertible (bool is_invertible)
 
void setIsValid (bool is_valid)
 
void setMaxScale (double max_scale)
 
void setMinScale (double min_scale)
 
void setNumberFerns (int number_ferns)
 
void setOrientation (Eigen::Vector3d orientation)
 
void setOriginalImage (HalconCpp::HImage original_image)
 
void setPatchSize (int patch_size)
 
void setRotationType (std::string rotation_type)
 
void setScore2D (double score_2D)
 
void setUserColor (bool use_color)
 
void setVerticalOffset (int vertical_offset)
 
 ViewParamsWrapper (std::string rotation_type)
 The constructor of this class. More...
 

Private Attributes

Eigen::Vector3d axis1
 
double axis1_angle
 
Eigen::Vector3d axis2
 
double axis2_angle
 
std::vector< Eigen::Vector2i > box_corners
 
int column1
 
int column2
 
int depth
 
bool has_bounding_box
 
int horizontal_offset
 
HalconCpp::HImage image
 
bool is_invertible
 
bool is_valid
 
double max_scale
 
double min_scale
 
int number_ferns
 
Eigen::Vector3d orientation
 
HalconCpp::HImage originalImage
 
int patch_size
 
std::string rotation_type
 
int row1
 
int row2
 
double score_2D
 
bool use_color
 
int vertical_offset
 

Detailed Description

Copyright (C) 2016, Allgeyer Tobias, Hutmacher Robin, Meißner Pascal

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. This class contains the parameters of a specific view created in ViewCreatorDialog

Definition at line 31 of file View_Params_Wrapper.h.

Constructor & Destructor Documentation

ViewParamsWrapper::ViewParamsWrapper ( std::string  rotation_type)

The constructor of this class.

Parameters
rotation_typeThe rotation-type of the trained object (see Utils)

Copyright (C) 2016, Allgeyer Tobias, Hutmacher Robin, Meißner Pascal

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition at line 23 of file View_Params_Wrapper.cpp.

Member Function Documentation

void ViewParamsWrapper::addBoxCorner ( Eigen::Vector2i  corner)

Adds a corner point to the list of bounding box corners.

Parameters
cornerThe corner point which will be added

Definition at line 50 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::clearBoundingBox ( )

Clears the list of bounding box corner points

Definition at line 59 of file View_Params_Wrapper.cpp.

Eigen::Vector3d ViewParamsWrapper::getAxis1 ( )

Definition at line 73 of file View_Params_Wrapper.cpp.

double ViewParamsWrapper::getAxis1Angle ( )

Definition at line 76 of file View_Params_Wrapper.cpp.

Eigen::Vector3d ViewParamsWrapper::getAxis2 ( )

Definition at line 74 of file View_Params_Wrapper.cpp.

double ViewParamsWrapper::getAxis2Angle ( )

Definition at line 77 of file View_Params_Wrapper.cpp.

std::vector< Eigen::Vector2i > ViewParamsWrapper::getBoxCorners ( )

Definition at line 91 of file View_Params_Wrapper.cpp.

int ViewParamsWrapper::getColumn1 ( )

Definition at line 69 of file View_Params_Wrapper.cpp.

int ViewParamsWrapper::getColumn2 ( )

Definition at line 71 of file View_Params_Wrapper.cpp.

int ViewParamsWrapper::getDepth ( )

Definition at line 83 of file View_Params_Wrapper.cpp.

bool ViewParamsWrapper::getHasBoundingBox ( )

Definition at line 90 of file View_Params_Wrapper.cpp.

int ViewParamsWrapper::getHorizontalOffset ( )

Definition at line 82 of file View_Params_Wrapper.cpp.

HalconCpp::HImage ViewParamsWrapper::getImage ( )

The getters of this class

Definition at line 66 of file View_Params_Wrapper.cpp.

bool ViewParamsWrapper::getIsInvertible ( )

Definition at line 78 of file View_Params_Wrapper.cpp.

bool ViewParamsWrapper::getIsValid ( )

Definition at line 88 of file View_Params_Wrapper.cpp.

double ViewParamsWrapper::getMaxScale ( )

Definition at line 87 of file View_Params_Wrapper.cpp.

double ViewParamsWrapper::getMinScale ( )

Definition at line 86 of file View_Params_Wrapper.cpp.

int ViewParamsWrapper::getNumberFerns ( )

Definition at line 84 of file View_Params_Wrapper.cpp.

Eigen::Vector3d ViewParamsWrapper::getOrientation ( )

Definition at line 75 of file View_Params_Wrapper.cpp.

HalconCpp::HImage ViewParamsWrapper::getOriginalImage ( )

Definition at line 67 of file View_Params_Wrapper.cpp.

int ViewParamsWrapper::getPatchSize ( )

Definition at line 85 of file View_Params_Wrapper.cpp.

std::string ViewParamsWrapper::getRotationType ( )

Definition at line 72 of file View_Params_Wrapper.cpp.

int ViewParamsWrapper::getRow1 ( )

Definition at line 68 of file View_Params_Wrapper.cpp.

int ViewParamsWrapper::getRow2 ( )

Definition at line 70 of file View_Params_Wrapper.cpp.

double ViewParamsWrapper::getScore2D ( )

Definition at line 79 of file View_Params_Wrapper.cpp.

bool ViewParamsWrapper::getUseColor ( )

Definition at line 80 of file View_Params_Wrapper.cpp.

int ViewParamsWrapper::getVerticalOffset ( )

Definition at line 81 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setAxis1 ( Eigen::Vector3d  axis1)

Definition at line 33 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setAxis1Angle ( double  axis1_angle)

Definition at line 35 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setAxis2 ( Eigen::Vector3d  axis2)

Definition at line 34 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setAxis2Angle ( double  axis2_angle)

Definition at line 36 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setDepth ( int  depth)

Definition at line 43 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setHasBoundingBox ( bool  has_bounding_box = true)

Definition at line 58 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setHorizontalOffset ( int  horizontal_offset)

Definition at line 42 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setImage ( HalconCpp::HImage  image)

The setters of this class

Definition at line 29 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setImageBounds ( int  row1,
int  column1,
int  row2,
int  column2 
)

Definition at line 31 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setIsInvertible ( bool  is_invertible)

Definition at line 38 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setIsValid ( bool  is_valid)

Definition at line 48 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setMaxScale ( double  max_scale)

Definition at line 47 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setMinScale ( double  min_scale)

Definition at line 46 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setNumberFerns ( int  number_ferns)

Definition at line 44 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setOrientation ( Eigen::Vector3d  orientation)

Definition at line 37 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setOriginalImage ( HalconCpp::HImage  original_image)

Definition at line 30 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setPatchSize ( int  patch_size)

Definition at line 45 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setRotationType ( std::string  rotation_type)

Definition at line 32 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setScore2D ( double  score_2D)

Definition at line 39 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setUserColor ( bool  use_color)

Definition at line 40 of file View_Params_Wrapper.cpp.

void ViewParamsWrapper::setVerticalOffset ( int  vertical_offset)

Definition at line 41 of file View_Params_Wrapper.cpp.

Member Data Documentation

Eigen::Vector3d ViewParamsWrapper::axis1
private

The rotation axis used if the object has a cylindrical or spherical symmetry

Definition at line 61 of file View_Params_Wrapper.h.

double ViewParamsWrapper::axis1_angle
private

The angle steps around axis1 used during 3D-recognition

Definition at line 70 of file View_Params_Wrapper.h.

Eigen::Vector3d ViewParamsWrapper::axis2
private

The second rotation axis used if the object has a spherical symmetry

Definition at line 64 of file View_Params_Wrapper.h.

double ViewParamsWrapper::axis2_angle
private

The angle steps around axis2 used during 3D-recognition

Definition at line 73 of file View_Params_Wrapper.h.

std::vector<Eigen::Vector2i> ViewParamsWrapper::box_corners
private

The corner points of the created bounding box of this view

Definition at line 109 of file View_Params_Wrapper.h.

int ViewParamsWrapper::column1
private

The column of the point indicating the upper left corner of the cropping rectangle

Definition at line 52 of file View_Params_Wrapper.h.

int ViewParamsWrapper::column2
private

The column of the point indicating the lower right corner of the cropping rectangle

Definition at line 58 of file View_Params_Wrapper.h.

int ViewParamsWrapper::depth
private

The depth of the the classification ferns used by the descriptor-based recognition

Definition at line 91 of file View_Params_Wrapper.h.

bool ViewParamsWrapper::has_bounding_box
private

Indicates whether a bounding box for the view has been created

Definition at line 106 of file View_Params_Wrapper.h.

int ViewParamsWrapper::horizontal_offset
private

The horizontal offset of the texture center

Definition at line 88 of file View_Params_Wrapper.h.

HalconCpp::HImage ViewParamsWrapper::image
private

The cropped image of this view

Definition at line 43 of file View_Params_Wrapper.h.

bool ViewParamsWrapper::is_invertible
private

Indicates whether the view can be upside down

Definition at line 76 of file View_Params_Wrapper.h.

bool ViewParamsWrapper::is_valid
private

Indicates whether this view is valid or contains errors

Definition at line 37 of file View_Params_Wrapper.h.

double ViewParamsWrapper::max_scale
private

The maximal scale of the view the model is created from

Definition at line 103 of file View_Params_Wrapper.h.

double ViewParamsWrapper::min_scale
private

The minimal scale of the view the model is created from

Definition at line 100 of file View_Params_Wrapper.h.

int ViewParamsWrapper::number_ferns
private

The fern-number used by the descriptor-based recognition

Definition at line 94 of file View_Params_Wrapper.h.

Eigen::Vector3d ViewParamsWrapper::orientation
private

The orientation describing this view

Definition at line 67 of file View_Params_Wrapper.h.

HalconCpp::HImage ViewParamsWrapper::originalImage
private

The original, non-cropped image of this view

Definition at line 46 of file View_Params_Wrapper.h.

int ViewParamsWrapper::patch_size
private

The patch size used by the descriptor-based recognition

Definition at line 97 of file View_Params_Wrapper.h.

std::string ViewParamsWrapper::rotation_type
private

The rotation type of the trained object (see Utils)

Definition at line 40 of file View_Params_Wrapper.h.

int ViewParamsWrapper::row1
private

The row of the point indicating the upper left corner of the cropping rectangle

Definition at line 49 of file View_Params_Wrapper.h.

int ViewParamsWrapper::row2
private

The row of the point indicating the lower right corner of the cropping rectangle

Definition at line 55 of file View_Params_Wrapper.h.

double ViewParamsWrapper::score_2D
private

The score used for 2D-recognition of this view

Definition at line 79 of file View_Params_Wrapper.h.

bool ViewParamsWrapper::use_color
private

Indicates whether a colored image will be used for 2D-recognition

Definition at line 82 of file View_Params_Wrapper.h.

int ViewParamsWrapper::vertical_offset
private

The vertical offset of the texture center

Definition at line 85 of file View_Params_Wrapper.h.


The documentation for this class was generated from the following files:


asr_descriptor_surface_based_recognition
Author(s): Allgeyer Tobias, Hutmacher Robin, Meißner Pascal
autogenerated on Mon Dec 16 2019 03:31:16