![]() |
aimsdata
4.7.0
Neuroimaging data handling
|
The base class to manage borders on data containers. More...
#include <aims/border/border.h>
Public Member Functions | |
Constructor and Destructor | |
Border (int dimx, int dimy, int dimz, int width=0) | |
The constructor precalculates offsets to speed-up access to data during loops. More... | |
virtual | ~Border () |
int | borderWidth () const |
Usefull offsets for A.I.M.S. More... | |
int | oFirstPoint () const |
Offset from the start of the allocated memory to the first point. More... | |
int | oLastPoint () const |
Offset from the start of the allocated memory to the last point. More... | |
int | oLine () const |
Offset between 2 consecutive lines. More... | |
int | oPointBetweenLine () const |
Offset between the end of a line and the start of the consecutive line. More... | |
int | oSlice () const |
Offset between 2 consecutive slices. More... | |
int | oLineBetweenSlice () const |
Number of lines between 2 consecutive slices. More... | |
int | oVolume () const |
Offset between 2 consecutive volumes. More... | |
int | oSliceBetweenVolume () const |
Number of slices between 2 consecutive volumes. More... | |
Protected Member Functions | |
Functions | |
void | _setBorder (int dimx, int dimy, int dimz, int width) |
Function that sets up all protected datas. More... | |
Protected Attributes | |
Data | |
int | _borderWidth |
Border width. More... | |
int | _oFirstPoint |
Offset up to first point. More... | |
int | _oLastPoint |
Offset up to last point. More... | |
int | _oLine |
Length of a line. More... | |
int | _oPointBetweenLine |
Offset between two consecutive lines. More... | |
int | _oSlice |
Length of a slice. More... | |
int | _oLineBetweenSlice |
Offset between two consecutive slices. More... | |
int | _oVolume |
Length of a volume. More... | |
int | _oSliceBetweenVolume |
Offset between two consecutive volumes. More... | |
|
inline |
|
protected |
Function that sets up all protected datas.
Referenced by AimsData< AimsData< AimsData< T > > >::operator=().
|
inline |
Usefull offsets for A.I.M.S.
data Size of the border
Definition at line 135 of file border.h.
Referenced by carto::ConverterAllocator< AimsData< INP >, AimsData< OUTP > >::alloc(), AimsThreshold< T, U >::bin(), AimsThreshold< T, U >::clip(), carto::Rescaler< AimsData< INP >, AimsData< OUTP > >::convert(), carto::RawConverter< AimsData< INP >, AimsData< INP > >::convert(), carto::Rescaler< AimsData< AimsRGB >, AimsData< AimsVector< T, D > > >::convert(), AimsData< AimsData< AimsData< T > > >::cross(), AimsFlip< T >::doXX(), AimsFlip< T >::doXXYY(), AimsFlip< T >::doXXYYZZ(), AimsFlip< T >::doXXZZ(), AimsFlip< T >::doXY(), AimsFlip< T >::doXZ(), AimsFlip< T >::doYY(), AimsFlip< T >::doYYZZ(), AimsFlip< T >::doYZ(), AimsFlip< T >::doZZ(), AimsThreshold< T, U >::operator()(), AimsData< AimsData< AimsData< T > > >::operator=(), AimsData< AimsData< AimsData< T > > >::transpose(), aims::triInf(), and aims::triSup().
|
inline |
Offset from the start of the allocated memory to the first point.
Definition at line 142 of file border.h.
Referenced by AimsData< AimsData< AimsData< T > > >::maxIndex(), AimsData< AimsData< AimsData< T > > >::minIndex(), aims::minmax(), and AimsData< AimsData< AimsData< T > > >::operator=().
|
inline |
|
inline |
Offset between 2 consecutive lines.
Definition at line 156 of file border.h.
Referenced by aims::AimsConnectedComponent(), aims::AimsLabeledConnectedComponent(), and aims::ConnectedComponentEngine< AimsData< T >, AimsData< O > >::connectedInFrame().
|
inline |
Number of lines between 2 consecutive slices.
Definition at line 177 of file border.h.
Referenced by AimsData< AimsData< AimsData< T > > >::maxIndex(), AimsData< AimsData< AimsData< T > > >::minIndex(), aims::minmax(), and AimsData< AimsData< AimsData< T > > >::operator=().
|
inline |
Offset between the end of a line and the start of the consecutive line.
Definition at line 163 of file border.h.
Referenced by AimsData< AimsData< AimsData< T > > >::maxIndex(), AimsData< AimsData< AimsData< T > > >::minIndex(), aims::minmax(), and AimsData< AimsData< AimsData< T > > >::operator=().
|
inline |
Offset between 2 consecutive slices.
Definition at line 170 of file border.h.
Referenced by aims::AimsConnectedComponent(), aims::AimsLabeledConnectedComponent(), and aims::ConnectedComponentEngine< AimsData< T >, AimsData< O > >::connectedInFrame().
|
inline |
Number of slices between 2 consecutive volumes.
Definition at line 191 of file border.h.
Referenced by AimsData< AimsData< AimsData< T > > >::maxIndex(), AimsData< AimsData< AimsData< T > > >::minIndex(), aims::minmax(), and AimsData< AimsData< AimsData< T > > >::operator=().
|
inline |
|
protected |
Offset up to first point.
Definition at line 94 of file border.h.
Referenced by AimsData< AimsData< AimsData< T > > >::AimsData(), and AimsData< AimsData< AimsData< T > > >::operator=().
|
protected |
|
protected |
Length of a line.
Definition at line 98 of file border.h.
Referenced by AimsData< AimsData< AimsData< T > > >::AimsData(), and AimsData< AimsData< AimsData< T > > >::operator=().
|
protected |
Offset between two consecutive slices.
Definition at line 104 of file border.h.
Referenced by AimsData< AimsData< AimsData< T > > >::AimsData(), and AimsData< AimsData< AimsData< T > > >::operator=().
|
protected |
Offset between two consecutive lines.
Definition at line 100 of file border.h.
Referenced by AimsData< AimsData< AimsData< T > > >::AimsData(), and AimsData< AimsData< AimsData< T > > >::operator=().
|
protected |
Length of a slice.
Definition at line 102 of file border.h.
Referenced by AimsData< AimsData< AimsData< T > > >::AimsData(), and AimsData< AimsData< AimsData< T > > >::operator=().
|
protected |
Offset between two consecutive volumes.
Definition at line 108 of file border.h.
Referenced by AimsData< AimsData< AimsData< T > > >::AimsData(), and AimsData< AimsData< AimsData< T > > >::operator=().
|
protected |
Length of a volume.
Definition at line 106 of file border.h.
Referenced by AimsData< AimsData< AimsData< T > > >::AimsData(), and AimsData< AimsData< AimsData< T > > >::operator=().