Direct Graphical Models  v.1.5.3
DirectGraphicalModels::fex::SqNeighbourhood Struct Reference

Square neighborhood structure. More...

#include <SquareNeighborhood.h>

Public Attributes

int leftGap
 Distance from the base point to the neighborhood's left boundary. More...
 
int rightGap
 Distance from the base point to the neighborhood's right boundary. More...
 
int upperGap
 Distance from the base point to the neighborhood's upper boundary. More...
 
int lowerGap
 Distance from the base point to the neighborhood's lower boundary. More...
 

Detailed Description

Square neighborhood structure.

This structure defines rectangular neighborhood around its base point. The size of the neighborhoood is given via four gap values: \((leftGap+rightGap+1)\times(upperGap+lowerGap+1)\), and its shape is defines as depicted at Figure 1.

This definition of a neighbourhood extends the classical one, where the neighborhood is represented as a square with the base point in the center.

square_neighborhood.gif
Fig. 1

Definition at line 15 of file SquareNeighborhood.h.

Member Data Documentation

◆ leftGap

int DirectGraphicalModels::fex::SqNeighbourhood::leftGap

Distance from the base point to the neighborhood's left boundary.

Definition at line 17 of file SquareNeighborhood.h.

◆ lowerGap

int DirectGraphicalModels::fex::SqNeighbourhood::lowerGap

Distance from the base point to the neighborhood's lower boundary.

Definition at line 20 of file SquareNeighborhood.h.

◆ rightGap

int DirectGraphicalModels::fex::SqNeighbourhood::rightGap

Distance from the base point to the neighborhood's right boundary.

Definition at line 18 of file SquareNeighborhood.h.

◆ upperGap

int DirectGraphicalModels::fex::SqNeighbourhood::upperGap

Distance from the base point to the neighborhood's upper boundary.

Definition at line 19 of file SquareNeighborhood.h.


The documentation for this struct was generated from the following file: