bunwarpj
Class MiscTools.GrayscaleApplyTransformTile

java.lang.Object
  extended by bunwarpj.MiscTools.GrayscaleApplyTransformTile
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
MiscTools

private static class MiscTools.GrayscaleApplyTransformTile
extends java.lang.Object
implements java.lang.Runnable

Class to apply transformation to grayscale images in a concurrent way


Field Summary
private  ij.process.FloatProcessor fp
          resulting float processor containing the transformed area
(package private)  int intervals
          number of intervals between B-spline coefficients
(package private)  java.awt.Rectangle rect
          area of the image to be transformed in this thread
(package private)  BSplineModel source
          current source image
(package private)  BSplineModel swx
          B-spline deformation in x
(package private)  BSplineModel swy
          B-spline deformation in y
(package private)  int targetCurrentHeight
          target current height
(package private)  int targetCurrentWidth
          target current width
 
Constructor Summary
MiscTools.GrayscaleApplyTransformTile(BSplineModel swx, BSplineModel swy, BSplineModel source, int targetCurrentWidth, int targetCurrentHeight, int intervals, java.awt.Rectangle rect, ij.process.FloatProcessor fp)
          Constructor for grayscale image transform
 
Method Summary
 void run()
          Run method to update the intermediate window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swx

final BSplineModel swx
B-spline deformation in x


swy

final BSplineModel swy
B-spline deformation in y


source

final BSplineModel source
current source image


targetCurrentWidth

final int targetCurrentWidth
target current width


targetCurrentHeight

final int targetCurrentHeight
target current height


intervals

final int intervals
number of intervals between B-spline coefficients


rect

final java.awt.Rectangle rect
area of the image to be transformed in this thread


fp

private final ij.process.FloatProcessor fp
resulting float processor containing the transformed area

Constructor Detail

MiscTools.GrayscaleApplyTransformTile

MiscTools.GrayscaleApplyTransformTile(BSplineModel swx,
                                      BSplineModel swy,
                                      BSplineModel source,
                                      int targetCurrentWidth,
                                      int targetCurrentHeight,
                                      int intervals,
                                      java.awt.Rectangle rect,
                                      ij.process.FloatProcessor fp)
Constructor for grayscale image transform

Parameters:
swx - B-spline deformation in x
swy - B-spline deformation in y
source - current source image
targetCurrentWidth - target current width
targetCurrentHeight - target current height
intervals - number of intervals between B-spline coefficients
rect - rectangle containing the area of the image to be transformed
fp - resulting float processor (output)
Method Detail

run

public void run()
Run method to update the intermediate window. Only the part defined by the rectangle will be updated (in this thread).

Specified by:
run in interface java.lang.Runnable