Public Member Functions | Private Attributes
pano::SparseProjector Class Reference

#include <Projector.h>

List of all members.

Public Member Functions

cv::Rect getRoi (int id) const
void projectMat (int roi_id, const cv::Mat &m, cv::Mat &outimage, int filltype=cv::BORDER_TRANSPARENT, const cv::Scalar &value=cv::Scalar())
void setSRandK (const cv::Size &inputsz, const cv::Mat &R, const cv::Mat &K, std::vector< int > &roi_ids)
 Sets up the projector to remap based on the given R and K. Call this before calling any of the member project functions.
void setWorkingRoi (int id)
 SparseProjector ()
 SparseProjector (const cv::Size &output_size, const cv::Size &n_grids)

Private Attributes

cv::Size grids_
cv::Mat K_
cv::Mat mask_
cv::Size output_size_
cv::Mat R_
cv::Mat remap1_
cv::Mat remap2_
cv::Mat remap_
std::vector< cv::Rect > rois_
std::vector< cv::Rect > small_rois_
cv::Mat spherical_coords_
cv::Mat spherical_coords_small_
cv::Mat tm_
int workingid_

Detailed Description

Definition at line 117 of file Projector.h.


Constructor & Destructor Documentation

Definition at line 119 of file Projector.h.

pano::SparseProjector::SparseProjector ( const cv::Size &  output_size,
const cv::Size &  n_grids 
)

Definition at line 343 of file Projector.cpp.


Member Function Documentation

cv::Rect pano::SparseProjector::getRoi ( int  id) const [inline]

Definition at line 127 of file Projector.h.

void pano::SparseProjector::projectMat ( int  roi_id,
const cv::Mat &  m,
cv::Mat &  outimage,
int  filltype = cv::BORDER_TRANSPARENT,
const cv::Scalar &  value = cv::Scalar() 
)

Definition at line 397 of file Projector.cpp.

void pano::SparseProjector::setSRandK ( const cv::Size &  inputsz,
const cv::Mat &  R,
const cv::Mat &  K,
std::vector< int > &  roi_ids 
)

Sets up the projector to remap based on the given R and K. Call this before calling any of the member project functions.

Definition at line 353 of file Projector.cpp.

Definition at line 372 of file Projector.cpp.


Member Data Documentation

cv::Size pano::SparseProjector::grids_ [private]

Definition at line 134 of file Projector.h.

cv::Mat pano::SparseProjector::K_ [private]

Definition at line 139 of file Projector.h.

cv::Mat pano::SparseProjector::mask_ [private]

Definition at line 137 of file Projector.h.

Definition at line 132 of file Projector.h.

cv::Mat pano::SparseProjector::R_ [private]

Definition at line 139 of file Projector.h.

cv::Mat pano::SparseProjector::remap1_ [private]

Definition at line 137 of file Projector.h.

cv::Mat pano::SparseProjector::remap2_ [private]

Definition at line 137 of file Projector.h.

cv::Mat pano::SparseProjector::remap_ [private]

Definition at line 137 of file Projector.h.

std::vector<cv::Rect> pano::SparseProjector::rois_ [private]

Definition at line 135 of file Projector.h.

std::vector<cv::Rect> pano::SparseProjector::small_rois_ [private]

Definition at line 136 of file Projector.h.

Definition at line 137 of file Projector.h.

Definition at line 133 of file Projector.h.

cv::Mat pano::SparseProjector::tm_ [private]

Definition at line 137 of file Projector.h.

Definition at line 138 of file Projector.h.


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


pano_core
Author(s): Ethan Rublee
autogenerated on Wed Aug 26 2015 16:34:01