#include <contrib.hpp>
Classes | |
struct | kernel |
Public Member Functions | |
LogPolar_Overlapping () | |
LogPolar_Overlapping (int w, int h, Point2i center, int R=70, double ro0=3.0, int full=1, int S=117, int sp=1) | |
const Mat | to_cortical (const Mat &source) |
const Mat | to_cartesian (const Mat &source) |
~LogPolar_Overlapping () | |
Protected Member Functions | |
void | create_map (int M, int N, int R, int S, double ro0) |
Protected Attributes | |
Mat | Rsri |
Mat | Csri |
vector< int > | Rsr |
vector< int > | Csr |
vector< double > | Wsr |
int | S |
int | R |
int | M |
int | N |
int | ind1 |
int | top |
int | bottom |
int | left |
int | right |
double | ro0 |
double | romax |
double | a |
double | q |
Mat | ETAyx |
Mat | CSIyx |
vector< kernel > | w_ker_2D |
Overlapping circular receptive fields technique
The Cartesian plane is divided in two regions: the fovea and the periphery. The fovea (oversampling) is handled by using the bilinear interpolation technique described above, whereas in the periphery we use the overlapping Gaussian circular RFs.
More details can be found in http://dx.doi.org/10.1007/978-3-642-23968-7_5
|
inline |
cv::LogPolar_Overlapping::LogPolar_Overlapping | ( | int | w, |
int | h, | ||
Point2i | center, | ||
int | R = 70 , |
||
double | ro0 = 3.0 , |
||
int | full = 1 , |
||
int | S = 117 , |
||
int | sp = 1 |
||
) |
Constructor
w | the width of the input image |
h | the height of the input image |
center | the transformation center: where the output precision is maximal |
R | the number of rings of the cortical image (default value 70 pixel) |
ro0 | the radius of the blind spot (default value 3 pixel) |
full | 1 (default value) means that the retinal image (the inverse transform) is computed within the circumscribing circle. 0 means that the retinal image is computed within the inscribed circle. |
S | the number of sectors of the cortical image (default value 70 pixel). Its value is usually internally computed to obtain a pixel aspect ratio equals to 1. |
sp | 1 (default value) means that the parameter S is internally computed. 0 means that the parameter S is provided by the user. |
cv::LogPolar_Overlapping::~LogPolar_Overlapping | ( | ) |
Destructor
Transformation from cortical image to retinal (inverse log-polar) image.
source | the cortical image |
Transformation from Cartesian image to cortical (log-polar) image.
source | the Cartesian image |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |