mpicbg.trakem2.transform
Class TransformMeshMappingWithMasks<T extends mpicbg.models.TransformMesh>

java.lang.Object
  extended by mpicbg.ij.InvertibleTransformMapping<T>
      extended by mpicbg.ij.TransformMeshMapping<T>
          extended by mpicbg.trakem2.transform.TransformMeshMappingWithMasks<T>
All Implemented Interfaces:
mpicbg.ij.InverseMapping, mpicbg.ij.InvertibleMapping, mpicbg.ij.Mapping
Direct Known Subclasses:
TransformMeshMapping

public class TransformMeshMappingWithMasks<T extends mpicbg.models.TransformMesh>
extends mpicbg.ij.TransformMeshMapping<T>

Specialized TransformMapping for Patches, that is, rendering the image, outside mask and mask in one go instead three.


Nested Class Summary
static class TransformMeshMappingWithMasks.ImageProcessorWithMasks
           
 
Field Summary
 
Fields inherited from class mpicbg.ij.InvertibleTransformMapping
transform
 
Constructor Summary
TransformMeshMappingWithMasks(T t)
           
 
Method Summary
 void map(TransformMeshMappingWithMasks.ImageProcessorWithMasks source, TransformMeshMappingWithMasks.ImageProcessorWithMasks target)
           
 void mapInterpolated(TransformMeshMappingWithMasks.ImageProcessorWithMasks source, TransformMeshMappingWithMasks.ImageProcessorWithMasks target)
           
protected static void mapTriangle(mpicbg.models.TransformMesh m, mpicbg.models.AffineModel2D ai, ij.process.ImageProcessor source, ij.process.ImageProcessor target, ij.process.ByteProcessor targetOutside)
           
protected static void mapTriangle(mpicbg.models.TransformMesh m, mpicbg.models.AffineModel2D ai, ij.process.ImageProcessor source, ij.process.ImageProcessor sourceMask, ij.process.ImageProcessor target, ij.process.ImageProcessor targetMask, ij.process.ByteProcessor targetOutside)
           
protected static void mapTriangleInterpolated(mpicbg.models.TransformMesh m, mpicbg.models.AffineModel2D ai, ij.process.ImageProcessor source, ij.process.ImageProcessor target, ij.process.ByteProcessor targetOutside)
           
protected static void mapTriangleInterpolated(mpicbg.models.TransformMesh m, mpicbg.models.AffineModel2D ai, ij.process.ImageProcessor source, ij.process.ImageProcessor sourceMask, ij.process.ImageProcessor target, ij.process.ImageProcessor targetMask, ij.process.ByteProcessor targetOutside)
           
 
Methods inherited from class mpicbg.ij.TransformMeshMapping
calculateBoundingBox, calculateBoundingBoxInverse, isInTriangle, map, map, mapInterpolated, mapInterpolated, mapInverse, mapInverse, mapInverseInterpolated, mapInverseInterpolated, mapTriangle, mapTriangleInterpolated, mapTriangleInverse, mapTriangleInverseInterpolated
 
Methods inherited from class mpicbg.ij.InvertibleTransformMapping
getTransform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformMeshMappingWithMasks

public TransformMeshMappingWithMasks(T t)
Method Detail

mapTriangle

protected static final void mapTriangle(mpicbg.models.TransformMesh m,
                                        mpicbg.models.AffineModel2D ai,
                                        ij.process.ImageProcessor source,
                                        ij.process.ImageProcessor target,
                                        ij.process.ByteProcessor targetOutside)

mapTriangleInterpolated

protected static final void mapTriangleInterpolated(mpicbg.models.TransformMesh m,
                                                    mpicbg.models.AffineModel2D ai,
                                                    ij.process.ImageProcessor source,
                                                    ij.process.ImageProcessor target,
                                                    ij.process.ByteProcessor targetOutside)

mapTriangle

protected static final void mapTriangle(mpicbg.models.TransformMesh m,
                                        mpicbg.models.AffineModel2D ai,
                                        ij.process.ImageProcessor source,
                                        ij.process.ImageProcessor sourceMask,
                                        ij.process.ImageProcessor target,
                                        ij.process.ImageProcessor targetMask,
                                        ij.process.ByteProcessor targetOutside)

mapTriangleInterpolated

protected static final void mapTriangleInterpolated(mpicbg.models.TransformMesh m,
                                                    mpicbg.models.AffineModel2D ai,
                                                    ij.process.ImageProcessor source,
                                                    ij.process.ImageProcessor sourceMask,
                                                    ij.process.ImageProcessor target,
                                                    ij.process.ImageProcessor targetMask,
                                                    ij.process.ByteProcessor targetOutside)

map

public final void map(TransformMeshMappingWithMasks.ImageProcessorWithMasks source,
                      TransformMeshMappingWithMasks.ImageProcessorWithMasks target)

mapInterpolated

public final void mapInterpolated(TransformMeshMappingWithMasks.ImageProcessorWithMasks source,
                                  TransformMeshMappingWithMasks.ImageProcessorWithMasks target)