namespace  yav  class  InrimageSliceDisplayContainer : public ListElement<InrimageSliceDisplayContainer> a class that keeps an update on Inrimage slice
|   | OpacityLevel  the different opacity available for displaying a ROI  | 
|   | SurfaceRoiMethod  describes how to generate a region of interest from a surface  | 
|   | getFilename (void) const  return this object file name  | 
|   | getAssociatedImage (void) const  return the grey-level image associated with this ROI  | 
|   | setAssociatedImage (Inrimage *inr) return the grey-level image associated with this ROI  | 
|   | createBinaryImage () const  creates and returns a new binary image (of type unsigned char) having the same size as its associated grey-level image and where voxels of the ROI are set to 255  | 
|   | writeMain (GFOutput &output) write the main description of a ROI  | 
|   | readMain (GFInput &input) read the main description of a ROI  | 
|   | skipMain (GFInput &input) skip the main description of a ROI  | 
|   | write (TclString fname) write the ROI as a file  | 
|   | getFirstVoxel () const  return first voxel in list  | 
|   | getLastVoxel () const  return first voxel in list  | 
|   | dying (const ObjectPointer<Inrimage>& obj) called when image is destroyed  | 
|   | dilate (CONNECTIVITY_TYPE connectivity, unsigned int nbIterations=1) dilate the set of voxels  | 
|   | erode (CONNECTIVITY_TYPE connectivity, unsigned int nbIterations=1) erode the set of voxels  | 
|   | createHistogram () const  creates and return the Histogram of this ROI  | 
|   | computeMeanVariance (double &mean, double &variance, double rejectRate=0.0) compute the mean and variance of the ROI in a robust manner  | 
|   | getScene (void) const  return this object scene  | 
|   | translate (const Vec2 Translates the 2D object  | 
|   | rotate (const Rotation2D &r) Rotates the 2D object: no rotation available for images  | 
|   | scale (const double s) Scales the 2D object  | 
|   | updateCenter (Vec2 Returns the graphic object center and weight.  | 
|   | getColor ( float &r, float &g, float &b) const  get the color of the region of interest  | 
|   | setColor ( const float r, const float g, const float b) get the color of the region of interest  | 
|   | getGreyLevelUsage () const  if the roi must be display with color or greyLevel  | 
|   | setGreyLevelUsage ( const bool v) decides if the roi must be display with color or greyLevel  | 
|   | redraw (Camera2D *cam) default redraw function for sliceable objects  | 
|   | getSurface () const  returns the surface sliceable that has generated the ROI  | 
|   | updateRadius (const Vec2 Returns the graphic object radius given its center  | 
|   | computeClosestDistance (DataTypes::MouseClick& mc) const  Return MAXDOUBLE, an image is considered as background and may not be selected  | 
|   | getOpacity () const  returns the opacity level for the ROI display  | 
|   | setOpacity (const OpacityLevel o) set the opacity level for the ROI display  | 
|   | getInterface (void) const  return TCL interface  | 
|   | sliceCreation (SliceCameraBackground *b) function called when a TclInrimageBackground is created  | 
|   | sliceDestruction (SliceCameraBackground *b) function called when a TclInrimageBackground is deleted  | 
|   | sliceUpdate (SliceCameraBackground *b) function called when a TclInrimageBackground is modified  | 
|   | imageUpdate (const Inrimage *i) function called when the inrimage is modified  | 
|   | imageDestroyed (const Inrimage *i) function called when the inrimage is deleted  | 
|   | Exception classes  
  | ||||||||||
|   | constructor  
  | ||||||||||
|   | destructor  
  | ||||||||||
|   | constructor  
  | ||||||||||
|   | destructor  
  | 
|   | voxelList  list of voxels  | 
|   | voxelSize  voxel size  | 
|   | slice  2D image slice associated with the region  | 
|   | offset  offset for the slice  | 
|   | filename  file name  | 
|   | surface  surface that has generated the region of interest  | 
|   | roiColor [3] color of the region  | 
|   | traceName  name used in the canvas to draw the region  | 
|   | opacityLevel  the opacity level used for drawing the ROI  | 
|   | useGreyLevel  if the roi must be display with color or greyLevel  | 
|   | initFormat () initialize General Format modules  | 
|   | init () initialize graphics variables  | 
a class that keeps an update on Inrimage slice
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Vec3 
 Inrimage*  slice
 Vec3 
 TclString  filename
 void  initFormat()
  Exception classes 
  constructor 
  ROIVoxelList(const std::list<ROIVoxel *> &svl, Vec3
_vsize -  gives the voxel size for display 
im -  the image that gives the grey-level values
  ROIVoxelList(Inrimage *image, const Inrimage *binary) throw(ImageMissing, BinaryImageWrongSize)
binary -  a 3D binary image where each voxel of non-zero value is considered to belong to the region of interest. It must have the same size as the original image 
  ROIVoxelList(char *filename)
filename -  the name of the file    
 void  dilateOrErode(CONNECTIVITY_TYPE connectivity, unsigned int niter, bool dilate)
  ROIVoxelList(Vec3
  destructor 
 TclString  getFilename(void) const 
 Inrimage*  getAssociatedImage(void) const 
 void  setAssociatedImage(Inrimage *inr)
 Inrimage*  createBinaryImage() const 
 void  writeMain(GFOutput &output)
 void  readMain(GFInput &input)
 void  skipMain(GFInput &input)
 void  write(TclString fname)
 std::list <ROIVoxel *>   ::const_iterator  getFirstVoxel() const 
 std::list <ROIVoxel *>   ::const_iterator  getLastVoxel() const 
 virtual  void  dying(const ObjectPointer<Inrimage>& obj)
 void  dilate(CONNECTIVITY_TYPE connectivity, unsigned int nbIterations=1)
nbIterations -  the number of dilation operations 
 void  erode(CONNECTIVITY_TYPE connectivity, unsigned int nbIterations=1)
nbIterations -  the number of dilation operations 
 GenericHistogram*  createHistogram() const 
 void  computeMeanVariance(double &mean, double &variance, double rejectRate=0.0)
variance -  the computed variance
rejectRate -  the rate (between 0 and 1 ) of rejection of outliers. For rejectRate=0 then Euclidean distance is used. If rejectRate=1 then the mean is the median value 
  enum  OpacityLevel
 SurfaceSliceable*  surface
 float  roiColor[3]
 TclString  traceName
 OpacityLevel  opacityLevel
 bool  useGreyLevel
 void  init()
  enum  SurfaceRoiMethod
  constructor 
  InrimageROI(Scene2D *scene, const std::list<ROIVoxel *> &svl, Vec3
vl -  a list of voxel located on the region boundary 
  InrimageROI(Scene2D *scene, Inrimage *image, SurfaceSliceable *s, SurfaceRoiMethod m=InrimageROI::SURFACE_BOUNDARY, double param=1.0)
image -  a 3D image defining the size of the slice image and its voxel size 
s -  a surface sliceable that is sliced along the Z direction
method -  defines if we are interested in the region enclosed by the surface or its boundary or a region near the boundary
param -  size of the narrow band (in mm) near the surface boundary 
  InrimageROI(Scene2D *scene, Inrimage *image, const Inrimage *binary) throw(ImageMissing, BinaryImageWrongSize)
image -  a 3D grey-value image where the ROI is defined : the grey-level value of each voxel is used from this original image as well as the image size
binary -  a 3D binary image where each voxel of non-zero value is considered to belong to the region of interest. It must have the same size as the original image 
  InrimageROI(Scene2D *scene, char *filename)
filename -  the name of the file    
  destructor 
 Scene2D*  getScene(void) const 
 virtual  void  translate(const Vec2
 virtual  void  rotate(const Rotation2D &r)
 virtual  void  scale(const double s)
 virtual  void  updateCenter(Vec2
 void  getColor( float &r, float &g, float &b) const 
 void  setColor( const float r, const float g, const float b)
 bool  getGreyLevelUsage() const 
 void  setGreyLevelUsage( const bool v)
 virtual  void  redraw(Camera2D *cam)
 SurfaceSliceable*  getSurface() const 
 virtual  double  updateRadius(const Vec2
 virtual  double  computeClosestDistance(DataTypes::MouseClick& mc) const 
 OpacityLevel  getOpacity() const 
 void  setOpacity(const OpacityLevel o)
 TclInrimageROI*  getInterface(void) const 
 virtual  void  sliceCreation(SliceCameraBackground *b)
 virtual  void  sliceDestruction(SliceCameraBackground *b)
 virtual  void  sliceUpdate(SliceCameraBackground *b)
 virtual  void  imageUpdate(const Inrimage *i)
 virtual  void  imageDestroyed(const Inrimage *i)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by  Malte  Zöckler,  Roland Wunderling 
contact:  doc++@zib.de