Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

VL::Detail Namespace Reference

Functions

std::istream & operator>> (std::istream &is, _cmnt &manip)
 Extract a comment from a stream.
void copy (pixel_t *dst, pixel_t const *src, int width, int height)
 Copy an image.
void copyAndUpsampleRows (pixel_t *dst, pixel_t const *src, int width, int height)
 Copy an image upsampling two times.
void copyAndDownsample (pixel_t *dst, pixel_t const *src, int width, int height, int d)
 Copy and downasample an image.
void normalize_histogram (VL::float_t *L_begin, VL::float_t *L_end)

Variables

int const expnTableSize = 256
VL::float_t const expnTableMax = VL::float_t(25.0)
VL::float_t expnTable [expnTableSize+1]
struct VL::Detail::buildExpnTable _buildExpnTable
class VL::Detail::_cmnt cmnt

Function Documentation

void VL::Detail::copy ( pixel_t dst,
pixel_t const *  src,
int  width,
int  height 
)

Copy an image.

Parameters:
dst output imgage buffer.
src input image buffer.
width input image width.
height input image height.

Definition at line 258 of file sift.cc.

Referenced by basic_netbuf< charT, traits >::in_sync(), and VL::Sift::process().

void VL::Detail::copyAndDownsample ( pixel_t dst,
pixel_t const *  src,
int  width,
int  height,
int  d 
)

Copy and downasample an image.

The image is downsampled d times, i.e. reduced to 1/2^d of its original size. The parameters width and height are the size of the input image. The destination image is assumed to be floor(width/2^d) pixels wide and floor(height/2^d) pixels high.

Parameters:
dst output imgage buffer.
src input image buffer.
width input image width.
height input image height.
d downsampling factor.

Definition at line 306 of file sift.cc.

Referenced by VL::Sift::process().

void VL::Detail::copyAndUpsampleRows ( pixel_t dst,
pixel_t const *  src,
int  width,
int  height 
)

Copy an image upsampling two times.

The destination buffer must be at least as big as two times the input buffer. Bilinear interpolation is used.

Parameters:
dst output imgage buffer.
src input image buffer.
width input image width.
height input image height.

Definition at line 275 of file sift.cc.

Referenced by VL::Sift::process().

void VL::Detail::normalize_histogram ( VL::float_t L_begin,
VL::float_t L_end 
)

Normalizes in norm L_2 a descriptor.

Definition at line 1197 of file sift.cc.

Referenced by VL::Sift::computeKeypointDescriptor().

std::istream& VL::Detail::operator>> ( std::istream &  is,
_cmnt &  manip 
)

Extract a comment from a stream.

The function extracts a block of consecutive comments from an input stream. A comment is a sequence of whitespaces, followed by a `#' character, other characters and terminated at the next line ending. A block of comments is just a sequence of comments.

Definition at line 88 of file sift.cc.


Variable Documentation

struct VL::Detail::buildExpnTable VL::Detail::_buildExpnTable
class VL::Detail::_cmnt VL::Detail::cmnt

Comment eater istream manipulator

Definition at line 60 of file sift.cc.

Referenced by VL::fast_expn().

Definition at line 59 of file sift.cc.

Referenced by VL::fast_expn().

int const VL::Detail::expnTableSize = 256

Definition at line 58 of file sift.cc.

Referenced by VL::fast_expn().


Tekkotsu v5.1CVS
Generated Mon May 9 04:59:26 2016 by Doxygen 1.6.3