licornea_tools
Public Member Functions | List of all members
tlz::dataset Class Reference

#include <dataset.h>

Public Member Functions

 dataset (const std::string &parameters_filename)
 
bool is_1d () const
 
bool is_2d () const
 
const jsonparameters () const
 
const jsonoperator[] (const std::string &key) const
 
std::string filepath (const std::string &relpath) const
 
int image_width () const
 
int image_height () const
 
cv::Size image_size () const
 
std::string cameras_filename () const
 
int x_min () const
 
int x_step () const
 
int x_max () const
 
bool x_valid (int x) const
 
int x_count () const
 
int x_mid () const
 
std::vector< int > x_indices () const
 
int y_min () const
 
int y_step () const
 
int y_max () const
 
bool y_valid (int y) const
 
int y_count () const
 
int y_mid () const
 
std::vector< int > y_indices () const
 
bool valid (view_index) const
 
std::vector< view_indexindices () const
 
dataset_group group (const std::string &grp) const
 
dataset_view view (int x) const
 
dataset_view view (int x, int y) const
 
dataset_view view (view_index) const
 

Detailed Description

Definition at line 73 of file dataset.h.

Constructor & Destructor Documentation

tlz::dataset::dataset ( const std::string &  parameters_filename)
explicit

Definition at line 120 of file dataset.cc.

Member Function Documentation

std::string tlz::dataset::cameras_filename ( ) const

Definition at line 149 of file dataset.cc.

std::string tlz::dataset::filepath ( const std::string &  relpath) const

Definition at line 141 of file dataset.cc.

Here is the call graph for this function:

dataset_group tlz::dataset::group ( const std::string &  grp) const

Definition at line 265 of file dataset.cc.

Here is the call graph for this function:

int tlz::dataset::image_height ( ) const

Definition at line 157 of file dataset.cc.

cv::Size tlz::dataset::image_size ( ) const

Definition at line 161 of file dataset.cc.

int tlz::dataset::image_width ( ) const

Definition at line 153 of file dataset.cc.

std::vector< view_index > tlz::dataset::indices ( ) const

Definition at line 235 of file dataset.cc.

bool tlz::dataset::is_1d ( ) const

Definition at line 133 of file dataset.cc.

bool tlz::dataset::is_2d ( ) const

Definition at line 137 of file dataset.cc.

const json& tlz::dataset::operator[] ( const std::string &  key) const
inline

Definition at line 87 of file dataset.h.

Here is the call graph for this function:

const json& tlz::dataset::parameters ( ) const
inline

Definition at line 86 of file dataset.h.

bool tlz::dataset::valid ( view_index  idx) const

Definition at line 231 of file dataset.cc.

dataset_view tlz::dataset::view ( int  x) const

Definition at line 243 of file dataset.cc.

dataset_view tlz::dataset::view ( int  x,
int  y 
) const

Definition at line 249 of file dataset.cc.

dataset_view tlz::dataset::view ( view_index  idx) const

Definition at line 255 of file dataset.cc.

Here is the call graph for this function:

int tlz::dataset::x_count ( ) const

Definition at line 182 of file dataset.cc.

std::vector< int > tlz::dataset::x_indices ( ) const

Definition at line 190 of file dataset.cc.

int tlz::dataset::x_max ( ) const

Definition at line 169 of file dataset.cc.

int tlz::dataset::x_mid ( ) const

Definition at line 186 of file dataset.cc.

int tlz::dataset::x_min ( ) const

Definition at line 165 of file dataset.cc.

int tlz::dataset::x_step ( ) const

Definition at line 173 of file dataset.cc.

bool tlz::dataset::x_valid ( int  x) const

Definition at line 178 of file dataset.cc.

int tlz::dataset::y_count ( ) const

Definition at line 221 of file dataset.cc.

std::vector< int > tlz::dataset::y_indices ( ) const

Definition at line 215 of file dataset.cc.

int tlz::dataset::y_max ( ) const

Definition at line 201 of file dataset.cc.

int tlz::dataset::y_mid ( ) const

Definition at line 226 of file dataset.cc.

int tlz::dataset::y_min ( ) const

Definition at line 196 of file dataset.cc.

int tlz::dataset::y_step ( ) const

Definition at line 206 of file dataset.cc.

bool tlz::dataset::y_valid ( int  y) const

Definition at line 211 of file dataset.cc.


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