i3dlib

Documentation

i3d::ObjectInfo< LABEL, VOXEL > Class Template Reference

Object in an image. More...

#include <bio.h>

List of all members.


Public Member Functions

 ObjectInfo ()
 constructor
template<class ORIGVOXEL>
 ObjectInfo (const Image3d< ORIGVOXEL > &img, const LabeledImage3d< LABEL, VOXEL > &limg, const ComponentInfo< VOXEL > &component, LABEL label)

Public Attributes

Vector3d< float > center
 center of the object (weight center) in microns
float surface
 surface of the nucleus for 3D, perimeter for 2D

Detailed Description

template<class LABEL = size_t, class VOXEL = GRAY8>
class i3d::ObjectInfo< LABEL, VOXEL >

Object in an image.


Constructor & Destructor Documentation

template<class LABEL, class VOXEL>
template<class ORIGVOXEL>
i3d::ObjectInfo< LABEL, VOXEL >::ObjectInfo ( const Image3d< ORIGVOXEL > &  img,
const LabeledImage3d< LABEL, VOXEL > &  limg,
const ComponentInfo< VOXEL > &  component,
LABEL  label 
)

Compute object attributes for a component. label is the label used for the component in limg, img is the original (usually grayscale) image, from which limg was computed. The original image is needed for computation of some object attributes, like the weighted center. VOI of the object is taken from the input component, object volume is recomputed.


The documentation for this class was generated from the following files: