27namespace ReleaseToolsMisc {
 
   38                                                           const std::string &
sep = LineSeparator);
 
   64                                                                           const std::string                  &
regEx);
 
   69                                                         const std::string &
regEx,
 
   70                                                         const std::string &
sep=LineSeparator);
 
  185template <
typename DT1, 
typename DT2>
 
  195      for (p.u = box.
v1.u; p.u <= box.
v2.u; ++p.u){
 
  196        for (p.t = box.
v1.t; p.t <= box.
v2.t; ++p.t){
 
  197          for (p.c = box.
v1.c; p.c <= box.
v2.c; ++p.c){
 
  198            for (p.z = box.
v1.z; p.z <= box.
v2.z; ++p.z){
 
  199              for (p.y = box.
v1.y; p.y <= box.
v2.y; ++p.y){
 
  202                const DT1 *v1 = 
img1.getImagePointer(p);
 
  203                const DT2 *v2 = 
img2.getImagePointer(p);
 
  204                for (; p.x <= box.
v2.x; ++p.x, ++v1, ++v2){
 
  206                  const double diff = 
static_cast<double>(*v1) - 
static_cast<double>(*v2);
 
 
 
This class manages/represents a rectangular 6D image region that is organized linearly in memory.
 
VectorType v1
Corner v1 of the subimage region (included in region).
 
static TSubImageBox< intT > intersect(const TSubImageBox< intT > &box1, const TSubImageBox< intT > &box2)
Returns the overlapping region of subimage regions box1 and box2.
 
VectorType v2
Corner v2 of the subimage region (also included in region!).
 
intT getNumVoxels() const
Returns number of voxels in the subimage region, i.e., the product of all extents if this is not empt...
 
bool isEmpty() const
Returns true if subimage region is empty, i.e., if any of the components of v1 is greater than the co...
 
This template class manages/represents a rectangular 6D image region in memory that is organized line...
 
MLint32 MLErrorCode
Type of an ML Error code.
 
Tool function(s) to determine translation information from one directory to another.
 
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
 
MLint64 MLint
A signed ML integer type with at least 64 bits used for index calculations on very large images even ...