DGtal
0.6.devel
|
#include <FreemanChain.h>
Data Structures | |
class | CodesRange |
Aim: model of CRange that provides services to (circularly)iterate over the letters of the freeman chain. More... | |
class | ConstIterator |
Public Types | |
typedef TInteger | Integer |
typedef FreemanChain< Integer > | Self |
typedef PointVector< 2, Integer > | Point |
typedef PointVector< 2, Integer > | Vector |
typedef unsigned int | Size |
typedef unsigned int | Index |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((CInteger< TInteger >)) | |
CodesRange | getCodesRange () |
~FreemanChain () | |
FreemanChain (const std::string &s="", TInteger x=0, TInteger y=0) | |
FreemanChain (const std::vector< Point > &vectPoints) | |
FreemanChain (std::istream &in) | |
FreemanChain (const FreemanChain &other) | |
FreemanChain & | operator= (const FreemanChain &other) |
bool | operator== (const FreemanChain &other) const |
bool | operator!= (const FreemanChain &other) const |
char | code (Index pos) const |
Size | size () const |
FreemanChain | subChain (Index pos, Size n) const |
FreemanChain | operator+ (const FreemanChain &other) const |
FreemanChain & | operator+= (const FreemanChain &other) |
void | computeBoundingBox (TInteger &min_x, TInteger &min_y, TInteger &max_x, TInteger &max_y) const |
Self::ConstIterator | findQuadrantChange (OrderedAlphabet &A) const |
Self::ConstIterator | findQuadrantChange4 (OrderedAlphabet &A) const |
int | isClosed () const |
int | ccwLoops () const |
Point | getPoint (Index pos) const |
Point | firstPoint () const |
Point | lastPoint () const |
Vector | totalDisplacement () const |
FreemanChain & | extend (char code) |
FreemanChain & | retract (Size n=1) |
ConstIterator | begin () const |
ConstIterator | end () const |
Index | next (Index pos) const |
Index | previous (Index pos) const |
void | selfDisplay (std::ostream &out) const |
bool | isValid () const |
std::string | className () const |
Static Public Member Functions | |
static void | write (std::ostream &out, const FreemanChain &c) |
static void | read (std::istream &in, FreemanChain &c) |
template<typename TConstIterator > | |
static void | readFromPointsRange (const TConstIterator &itBegin, const TConstIterator &itEnd, FreemanChain &c) |
template<typename TRange > | |
static void | readFromPointsRange (const TRange &aRange, FreemanChain &c) |
static void | getContourPoints (const FreemanChain &fc, std::vector< Point > &aVContour) |
static void | movePointFromFC (Point &aPoint, char aCode) |
static char | movement (char aCode1, char aCode2, bool ccw=true) |
static char | addToCode (char code, int n) |
static void | displacement (int &dx, int &dy, char aCode) |
static Point | displacement (char aCode) |
static char | turnedCode (char aCode, bool ccw=true) |
static void | pointel2pixel (FreemanChain &aPixChain, std::vector< unsigned int > &aPl2pix, std::vector< unsigned int > &aPix2pl, const FreemanChain &aPlChain) |
static void | innerContour (FreemanChain &aInnerChain, std::vector< unsigned int > &aOuter2inner, std::vector< unsigned int > &aInner2outer, const FreemanChain &aOuterChain, bool ccw=true) |
static void | cleanContour (std::vector< FreemanChain > &aCleanCs, std::vector< std::pair< unsigned int, unsigned int > > &aC2clean, std::vector< std::vector< unsigned int > > &aClean2c, const FreemanChain &c, bool ccw=true) |
static bool | cleanOuterSpikes (FreemanChain &aCleanC, std::vector< unsigned int > &aC2clean, std::vector< unsigned int > &aClean2c, const FreemanChain &c, bool ccw=true) |
Data Fields | |
std::string | chain |
Integer | x0 |
Integer | y0 |
Integer | xn |
Integer | yn |
Private Member Functions | |
void | computeLastPoint () |
Aim: Describes a digital 4-connected contour as a string of '0', '1', '2', and '3' and the coordinate of the first point. When it is a loop, it is the clockwise boundary of the shape.
Example :
TInteger | type of the coordinates of the starting point |
Definition at line 110 of file FreemanChain.h.
typedef unsigned int DGtal::FreemanChain< TInteger >::Index |
Definition at line 123 of file FreemanChain.h.
typedef TInteger DGtal::FreemanChain< TInteger >::Integer |
Definition at line 116 of file FreemanChain.h.
typedef PointVector<2, Integer> DGtal::FreemanChain< TInteger >::Point |
Definition at line 119 of file FreemanChain.h.
typedef FreemanChain<Integer> DGtal::FreemanChain< TInteger >::Self |
Definition at line 117 of file FreemanChain.h.
typedef unsigned int DGtal::FreemanChain< TInteger >::Size |
Definition at line 122 of file FreemanChain.h.
typedef PointVector<2, Integer> DGtal::FreemanChain< TInteger >::Vector |
Definition at line 120 of file FreemanChain.h.
|
inline |
DGtal::FreemanChain< TInteger >::FreemanChain | ( | const std::string & | s = "" , |
TInteger | x = 0 , |
||
TInteger | y = 0 |
||
) |
Constructor.
s | the chain code. |
x | the x-coordinate of the first point. |
y | the y-coordinate of the first point. |
Definition at line 182 of file FreemanChain.ih.
References DGtal::FreemanChain< TInteger >::computeLastPoint().
DGtal::FreemanChain< TInteger >::FreemanChain | ( | const std::vector< Point > & | vectPoints | ) |
Constructor.
vectorPoints | the vector containing all the points. |
Constructor.
Definition at line 194 of file FreemanChain.ih.
DGtal::FreemanChain< TInteger >::FreemanChain | ( | std::istream & | in | ) |
DGtal::FreemanChain< TInteger >::FreemanChain | ( | const FreemanChain< TInteger > & | other | ) |
|
inlinestatic |
Increment (or decrement if negative) the code by 'n'. '0' + 1 = '1', '1' + 1 = '2', ... , '3' + 1 = '0'
code | the initial code. |
n | the number to add/remove to the code |
Definition at line 793 of file FreemanChain.ih.
DGtal::FreemanChain< TInteger >::ConstIterator DGtal::FreemanChain< TInteger >::begin | ( | ) | const |
Iterator service on points.
Definition at line 255 of file FreemanChain.ih.
Referenced by DGtal::FreemanChain< TInteger >::cleanOuterSpikes(), DGtal::Display3DFactory::draw(), DGtal::FreemanChain< TInteger >::getContourPoints(), and DGtal::FreemanChain< TInteger >::innerContour().
DGtal::FreemanChain< TInteger >::BOOST_CONCEPT_ASSERT | ( | (CInteger< TInteger >) | ) |
|
inline |
This method takes O(n) operations. It determines if the FreemanChain corresponds to a closed contour, and if this is the case, determines how many counterclockwise loops the contour has done. Of course, it the contour has done clockwise loops, then the given number is accordingly negative.
Definition at line 468 of file FreemanChain.ih.
References DGtal::FreemanChain< TInteger >::ConstIterator::getCode(), and DGtal::FreemanChain< TInteger >::ConstIterator::nextInLoop().
|
inline |
Default drawing style object.
Given a Freeman chain [c] coding a 4-connected pixel loop, computes its subsampling by the transformation: X = ( x - x0 ) div h, Y = ( y - y0 ) div v.
aSubc | (output) the subsampled Freeman chain code (may contain spikes) |
aC2subc | (output) the mapping associating an element to its subsampled element. |
aSubc2c | (output) the inverse mapping associating a subsampled element to its element. More precisely, subc2c[ j ] is the last pointel to be in j. |
c | the input chain code. |
h | the subsampling along x |
v | the subsampling along y |
x0 | the x-origin of the frame (X,Y) in (x,y) |
y0 | the y-origin of the frame (X,Y) in (x,y) |
Definition at line 1304 of file FreemanChain.ih.
Referenced by DGtal::Display2DFactory::draw().
|
inlinestatic |
Reads the 4-connected contour [c] so that meaningless back and forth steps are removed. These operations may create one or several 4-connected contours (stored in [clean_cs]), whether these removals cuts the contour in several loops. Because of that, the mappings are more complex.
aClean_cs | (output) the array of cleaned 4-connected contours. |
aC2clean | (output) the mapping associating an element to its clean element as a pair (n,i) where n is the index of the cleaned contour and i the indice of the element in this Freeman chain. |
aClean2c | (output) the array of mapping associating a clean element to its non-clean element. clean2c[n][j] gives the index of the non-clean element on c corresponding to the clean element of index j in the n-th contour. |
c | the input code of the 4-connected contour. |
ccw | 'true' if the contour is seen counterclockwise with its inside to the left. |
Definition at line 1056 of file FreemanChain.h.
|
static |
Removes outer spikes along a 4-connected contour, meaning steps "02", "13", "20" or "31", which point outside the shape. The inside is given by parameter [ccw]. Note that 4-connected pointel contours should not have any outer spikes, while 4-connected pixel contours should not have any inner spikes.
aClean_c | (output) the cleaned 4-connected contour. |
aC2clean | (output) the mapping associating an element to its clean element. |
aClean2c | (output) the inverse mapping associating a clean element to its non-clean element. |
c | the input code of the 4-connected contour (should be a loop !). |
ccw | 'true' if the contour is seen counterclockwise with its inside to the left. |
Definition at line 962 of file FreemanChain.ih.
References DGtal::PointVector< dim, TEuclideanRing >::at(), DGtal::FreemanChain< TInteger >::begin(), DGtal::FreemanChain< TInteger >::chain, DGtal::ModuloComputer< TInteger >::decrement(), DGtal::FreemanChain< TInteger >::ConstIterator::getCode(), DGtal::FreemanChain< TInteger >::ConstIterator::getPosition(), DGtal::ModuloComputer< TInteger >::increment(), DGtal::ModuloComputer< TInteger >::next(), DGtal::FreemanChain< TInteger >::ConstIterator::nextInLoop(), DGtal::FreemanChain< TInteger >::ConstIterator::previousInLoop(), DGtal::FreemanChain< TInteger >::x0, DGtal::FreemanChain< TInteger >::xn, DGtal::FreemanChain< TInteger >::y0, and DGtal::FreemanChain< TInteger >::yn.
char DGtal::FreemanChain< TInteger >::code | ( | Index | aPos | ) | const |
pos | a position in the chain code. |
Note, it is assumed that 0 <= pos < this->size()
aPos | a position in the chain code. |
Definition at line 303 of file FreemanChain.ih.
Referenced by DGtal::FreemanChain< TInteger >::ConstIterator::getCode(), and DGtal::FreemanChain< TInteger >::innerContour().
|
inline |
Computes a bounding box for the Freeman chain code.
min_x | (returns) the minimal x-coordinate. |
min_y | (returns) the minimal y-coordinate. |
max_x | (returns) the maximal x-coordinate. |
max_y | (returns) the maximal y-coordinate. |
Definition at line 325 of file FreemanChain.ih.
References DGtal::PointVector< dim, TEuclideanRing >::at().
Referenced by DGtal::Display2DFactory::drawAsGrid(), and DGtal::Display2DFactory::drawAsInterGrid().
|
inlineprivate |
Default constructor Not valid. Computes the coordinates of the last point. nb: in O(n)
Definition at line 1312 of file FreemanChain.ih.
Referenced by DGtal::FreemanChain< TInteger >::FreemanChain().
|
inlinestatic |
Returns the displacement vector of a Freeman code.
dx | (returns) the x-displacement. |
dy | (returns) the y-displacement. |
aCode | the code. |
Definition at line 805 of file FreemanChain.ih.
Referenced by DGtal::FreemanChain< TInteger >::innerContour().
|
inlinestatic |
aCode | a Freeman code (between 0-3). Returns the displacement vector of the Freeman code. |
Definition at line 820 of file FreemanChain.ih.
DGtal::FreemanChain< TInteger >::ConstIterator DGtal::FreemanChain< TInteger >::end | ( | ) | const |
Iterator service on points.
Definition at line 263 of file FreemanChain.ih.
Referenced by DGtal::Display3DFactory::draw(), and DGtal::FreemanChain< TInteger >::getContourPoints().
|
inline |
Add one symbol at the end of the FreemanChain
Definition at line 574 of file FreemanChain.ih.
|
inline |
Finds a quadrant change in 'this' Freeman chain and returns the position as an iterator. A quadrant change is some abb..bc | iterator <endcode>
The alphabet is possibly re-ordered so that a > b > c.
A | (possibly updated) a Freeman chain alphabet, possibly re-ordered so that a > b > c. |
Definition at line 352 of file FreemanChain.ih.
References DGtal::FreemanChain< TInteger >::ConstIterator::getCode(), DGtal::FreemanChain< TInteger >::ConstIterator::getPosition(), DGtal::FreemanChain< TInteger >::ConstIterator::next(), DGtal::OrderedAlphabet::order(), DGtal::FreemanChain< TInteger >::ConstIterator::previous(), DGtal::OrderedAlphabet::reverse(), and DGtal::OrderedAlphabet::shiftLeft().
|
inline |
Finds a quadrant change in 'this' Freeman chain and returns the position as an iterator. A quadrant change is some (abc)*bc...cd | iterator <endcode>
This quadrant change also guarantees that is not a place where a convexity change occurs in the combinatorial MLP algorithm.
The alphabet is possibly re-ordered so that b > c > d > a.
A | (possibly updated) a Freeman chain alphabet, possibly re-ordered so that b > c > d > a. |
Definition at line 403 of file FreemanChain.ih.
References DGtal::FreemanChain< TInteger >::ConstIterator::getCode(), DGtal::FreemanChain< TInteger >::ConstIterator::getPosition(), DGtal::FreemanChain< TInteger >::ConstIterator::next(), DGtal::OrderedAlphabet::order(), DGtal::FreemanChain< TInteger >::ConstIterator::previous(), DGtal::OrderedAlphabet::reverse(), and DGtal::OrderedAlphabet::shiftLeft().
|
inline |
Definition at line 758 of file FreemanChain.h.
Referenced by DGtal::CombinatorialDSS< TConstIterator, TInteger >::init(), DGtal::FreemanChain< TInteger >::operator+(), DGtal::FreemanChain< TInteger >::operator+=(), and DGtal::FreemanChain< int >::totalDisplacement().
|
inline |
Definition at line 537 of file FreemanChain.h.
|
inlinestatic |
Return a vector containing all the interger points of the freemanchain.
fc | the FreemanChain |
aVContour | (returns) the vector containing all the integer contour points. |
Definition at line 717 of file FreemanChain.ih.
References DGtal::FreemanChain< TInteger >::begin(), and DGtal::FreemanChain< TInteger >::end().
Referenced by DGtal::Display2DFactory::drawAsGrid(), and DGtal::Display2DFactory::drawAsInterGrid().
|
inline |
Computes the point where starts the step at position 'pos' of the FreemanChain. If 'pos' is equal to the length of the FreemanChain then the last point is returned.
Note: for a chain of length 'n' the computation time in O( min( pos, n-pos ) ).
pos | the position of the point in the FreemanChain |
Definition at line 548 of file FreemanChain.ih.
|
static |
From the Freeman chain [outer_chain] representing a 4-connected contour, constructs the Freeman chain [inner_chain] that represents its inner 4-connected contour (which lies in its interpixel space). The boolean [ccw] specifies if the inside is to the left (ccw) or to the right (cw).
Note that chain codes going back and forth are never considered useless: it means that the chain is always supposed to have its interior to the left (ccw) or right (cw) even at configurations "02", "13", "20", "31".
aInner_chain | (output) the code of the 4-connected inner border, with starting coordinates that are floored to the closest integer. |
aOuter2inner | (output) the mapping associating outer to inner elements as indices in their respective Freeman chain. |
aInner2outer | (output) the mapping associating inner to outer elements as indices in their respective Freeman chain. |
aOuter_chain | the input code of the 4-connected contour. |
ccw | 'true' if the contour is seen counterclockwise with its inside to the left. |
Definition at line 868 of file FreemanChain.ih.
References DGtal::FreemanChain< TInteger >::begin(), DGtal::FreemanChain< TInteger >::chain, DGtal::FreemanChain< TInteger >::code(), DGtal::FreemanChain< TInteger >::displacement(), DGtal::FreemanChain< TInteger >::ConstIterator::next(), DGtal::FreemanChain< TInteger >::x0, and DGtal::FreemanChain< TInteger >::y0.
Referenced by DGtal::FreemanChain< int >::pointel2pixel().
|
inline |
Test if the FreemanChain ends at the same point it starts. Take (1) operation since the last point has been stored at initialization.
Definition at line 460 of file FreemanChain.ih.
|
inline |
Checks the validity/consistency of the object.
Definition at line 625 of file FreemanChain.ih.
|
inline |
Definition at line 767 of file FreemanChain.h.
Referenced by DGtal::FreemanChain< TInteger >::operator+(), DGtal::FreemanChain< TInteger >::operator+=(), and DGtal::FreemanChain< int >::totalDisplacement().
|
inlinestatic |
Given two consecutive moves on a Freeman chain code, this method returns the type of movement: 0: return move, 1: turning toward the interior, 2: going straight, 3: turning toward exterior. Interior/exterior is specified by [ccw].
aCode1 | the code of the first step as an integer in 0..3. |
aCode2 | the code of the second step as an integer in 0..3. |
ccw | 'true' if the contour is seen counterclockwise with its inside to the left. |
Definition at line 775 of file FreemanChain.ih.
|
static |
Translate a point by the displacement given a code from a FreemanChain
aPoint | the point to translate |
aCode | a FreemanChain code |
Definition at line 733 of file FreemanChain.ih.
References DGtal::PointVector< dim, TEuclideanRing >::at().
DGtal::FreemanChain< TInteger >::Index DGtal::FreemanChain< TInteger >::next | ( | Index | aPos | ) | const |
Returns the next position in the chain code. The path coded by the chain code is assumed to be closed so that the position after the last letter is the first one.
pos | a position in the chain code. |
pos | a position in the chain code. |
Definition at line 276 of file FreemanChain.ih.
|
inline |
Comparaison operator
other the object to compare to. |
Definition at line 608 of file FreemanChain.h.
|
inline |
Concatenation services.
Note: the starting point of 'other' is not considered.
other | the chain to concatenate at the end of this. |
Definition at line 519 of file FreemanChain.ih.
References DGtal::PointVector< dim, TEuclideanRing >::at(), DGtal::FreemanChain< TInteger >::chain, DGtal::FreemanChain< TInteger >::firstPoint(), DGtal::FreemanChain< TInteger >::lastPoint(), DGtal::FreemanChain< TInteger >::x0, DGtal::FreemanChain< TInteger >::xn, DGtal::FreemanChain< TInteger >::y0, and DGtal::FreemanChain< TInteger >::yn.
|
inline |
Concatenation services.
Note: the starting point of 'other' is not considered.
other | the chain to concatenate at the end of this. |
Definition at line 535 of file FreemanChain.ih.
References DGtal::PointVector< dim, TEuclideanRing >::at(), DGtal::FreemanChain< TInteger >::chain, DGtal::FreemanChain< TInteger >::firstPoint(), and DGtal::FreemanChain< TInteger >::lastPoint().
DGtal::FreemanChain< TInteger > & DGtal::FreemanChain< TInteger >::operator= | ( | const FreemanChain< TInteger > & | other | ) |
Assignment.
other | the object to copy. |
Assignment.
aOther | the object to copy. |
Definition at line 232 of file FreemanChain.ih.
References DGtal::FreemanChain< TInteger >::chain, DGtal::FreemanChain< TInteger >::x0, DGtal::FreemanChain< TInteger >::xn, DGtal::FreemanChain< TInteger >::y0, and DGtal::FreemanChain< TInteger >::yn.
|
inline |
|
inlinestatic |
From the Freeman chain [pl_chain] representing a pointel 4-connected contour, constructs the Freeman chain [pix_chain] that represents its inner 4-connected border of pixels. The Freeman chain [pl_chain] has its inside to the left (ie. ccw).
Note that chain codes going back and forth are never considered useless: it means that the chain is always supposed to have its interior to the left (ccw) or right (cw) even at configurations "02", "13", "20", "31".
aPix_chain | (output) the code of the 4-connected inner border. |
aPl2pix | (output) the mapping associating pointels to pixels as indices in their respective Freeman chain. |
aPix2pl | (output) the inverse mapping associating pixels to pointels as indices in their respective Freeman chain. |
pl_chain | the input code of the 4-connected pointel contour. |
Definition at line 989 of file FreemanChain.h.
DGtal::FreemanChain< TInteger >::Index DGtal::FreemanChain< TInteger >::previous | ( | Index | aPos | ) | const |
Returns the previous position in the chain code. The path coded by the chain code is assumed to be closed so that the position before the first letter is the first last one.
pos | a position in the chain code. |
pos | a position in the chain code. |
Definition at line 290 of file FreemanChain.ih.
References DGtal::FreemanChain< TInteger >::size().
|
inlinestatic |
Reads a chain from the stream [in] and updates [c].
in | any input stream, |
c | (returns) the Freeman chain. |
Definition at line 644 of file FreemanChain.ih.
References DGtal::FreemanChain< TInteger >::chain, DGtal::FreemanChain< TInteger >::x0, and DGtal::FreemanChain< TInteger >::y0.
|
inlinestatic |
Reads a chain from the points range [ itBegin , itEnd ) and updates c.
itBegin | begin iterator, |
itEnd | end iterator, |
c | the returned Freeman chain. |
TConstIterator | type of iterator |
Definition at line 664 of file FreemanChain.ih.
References DGtal::FreemanChain< TInteger >::chain, DGtal::FreemanChain< TInteger >::x0, DGtal::FreemanChain< TInteger >::xn, DGtal::FreemanChain< TInteger >::y0, and DGtal::FreemanChain< TInteger >::yn.
|
inlinestatic |
Reads a chain from the points range aRange and updates c.
aRange | any points range |
c | the returned Freeman chain |
TRange | type of points range |
Definition at line 709 of file FreemanChain.ih.
|
inline |
Removes 'n' symbols at the end of the FreemanChain.
Definition at line 592 of file FreemanChain.ih.
|
inline |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
Definition at line 613 of file FreemanChain.ih.
Referenced by DGtal::operator<<().
|
inline |
Definition at line 317 of file FreemanChain.ih.
Referenced by DGtal::FreemanChain< TInteger >::previous().
|
inline |
Returns the subchain of the chain starting at position 'pos' and has 'n' letters long.
pos | position of a character in the current FreemanChain object to be used as starting character for the subchain. |
n | length of the subchain. |
Definition at line 502 of file FreemanChain.ih.
References DGtal::PointVector< dim, TEuclideanRing >::at(), DGtal::FreemanChain< TInteger >::chain, DGtal::FreemanChain< TInteger >::x0, DGtal::FreemanChain< TInteger >::xn, DGtal::FreemanChain< TInteger >::y0, and DGtal::FreemanChain< TInteger >::yn.
|
inline |
Definition at line 777 of file FreemanChain.h.
|
inlinestatic |
Computes the code obtain from another one after a rotation by pi/2.
aCode | any Freeman code. |
ccw | when 'true' turns counterclockwise (or left), otherwise turns clockwise (right). |
Definition at line 850 of file FreemanChain.ih.
|
inlinestatic |
Outputs the chain [c] to the stream [out].
out | any output stream, |
c | a Freeman chain. |
Definition at line 846 of file FreemanChain.h.
std::string DGtal::FreemanChain< TInteger >::chain |
The chain code.
Definition at line 1137 of file FreemanChain.h.
Referenced by DGtal::FreemanChain< TInteger >::cleanOuterSpikes(), DGtal::FreemanChain< TInteger >::ConstIterator::ConstIterator(), DGtal::FreemanChain< int >::getCodesRange(), DGtal::CombinatorialDSS< TConstIterator, TInteger >::init(), DGtal::FreemanChain< TInteger >::innerContour(), DGtal::FreemanChain< TInteger >::ConstIterator::next(), DGtal::FreemanChain< TInteger >::ConstIterator::nextInLoop(), DGtal::FreemanChain< TInteger >::operator+(), DGtal::FreemanChain< TInteger >::operator+=(), DGtal::FreemanChain< TInteger >::operator=(), DGtal::FreemanChain< int >::operator==(), DGtal::FreemanChain< TInteger >::ConstIterator::previous(), DGtal::FreemanChain< TInteger >::read(), DGtal::FreemanChain< TInteger >::readFromPointsRange(), DGtal::FreemanChain< TInteger >::subChain(), and DGtal::FreemanChain< int >::write().
Integer DGtal::FreemanChain< TInteger >::x0 |
the x-coordinate of the first point.
Definition at line 1142 of file FreemanChain.h.
Referenced by DGtal::FreemanChain< TInteger >::cleanOuterSpikes(), DGtal::FreemanChain< TInteger >::ConstIterator::ConstIterator(), DGtal::FreemanChain< int >::firstPoint(), DGtal::FreemanChain< TInteger >::innerContour(), DGtal::FreemanChain< TInteger >::operator+(), DGtal::FreemanChain< TInteger >::operator=(), DGtal::FreemanChain< int >::operator==(), DGtal::FreemanChain< TInteger >::read(), DGtal::FreemanChain< TInteger >::readFromPointsRange(), DGtal::FreemanChain< TInteger >::subChain(), and DGtal::FreemanChain< int >::write().
Integer DGtal::FreemanChain< TInteger >::xn |
the x-coordinate of the last point.
Definition at line 1152 of file FreemanChain.h.
Referenced by DGtal::FreemanChain< TInteger >::cleanOuterSpikes(), DGtal::FreemanChain< TInteger >::ConstIterator::ConstIterator(), DGtal::FreemanChain< int >::lastPoint(), DGtal::FreemanChain< TInteger >::operator+(), DGtal::FreemanChain< TInteger >::operator=(), DGtal::FreemanChain< int >::operator==(), DGtal::FreemanChain< TInteger >::readFromPointsRange(), and DGtal::FreemanChain< TInteger >::subChain().
Integer DGtal::FreemanChain< TInteger >::y0 |
the y-coordinate of the first point.
Definition at line 1147 of file FreemanChain.h.
Referenced by DGtal::FreemanChain< TInteger >::cleanOuterSpikes(), DGtal::FreemanChain< TInteger >::ConstIterator::ConstIterator(), DGtal::FreemanChain< int >::firstPoint(), DGtal::FreemanChain< TInteger >::innerContour(), DGtal::FreemanChain< TInteger >::operator+(), DGtal::FreemanChain< TInteger >::operator=(), DGtal::FreemanChain< int >::operator==(), DGtal::FreemanChain< TInteger >::read(), DGtal::FreemanChain< TInteger >::readFromPointsRange(), DGtal::FreemanChain< TInteger >::subChain(), and DGtal::FreemanChain< int >::write().
Integer DGtal::FreemanChain< TInteger >::yn |
the y-coordinate of the last point.
Definition at line 1157 of file FreemanChain.h.
Referenced by DGtal::FreemanChain< TInteger >::cleanOuterSpikes(), DGtal::FreemanChain< TInteger >::ConstIterator::ConstIterator(), DGtal::FreemanChain< int >::lastPoint(), DGtal::FreemanChain< TInteger >::operator+(), DGtal::FreemanChain< TInteger >::operator=(), DGtal::FreemanChain< int >::operator==(), DGtal::FreemanChain< TInteger >::readFromPointsRange(), and DGtal::FreemanChain< TInteger >::subChain().