bunwarpj
Class Transformation.ColorResultTileMaker
java.lang.Object
bunwarpj.Transformation.ColorResultTileMaker
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- Transformation
private class Transformation.ColorResultTileMaker
- extends java.lang.Object
- implements java.lang.Runnable
Class to run concurrent tile windows for final results (color)
|
Constructor Summary |
Transformation.ColorResultTileMaker(BSplineModel swx,
BSplineModel swy,
BSplineModel sourceR,
BSplineModel sourceG,
BSplineModel sourceB,
int auxTargetCurrentWidth,
int auxTargetCurrentHeight,
Mask auxTargetMsk,
Mask auxSourceMsk,
java.awt.Rectangle rect,
ij.process.FloatProcessor fpR,
ij.process.FloatProcessor fpG,
ij.process.FloatProcessor fpB,
ij.process.ColorProcessor cp_mask)
Color result tile maker constructor |
|
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 |
swx
final BSplineModel swx
swy
final BSplineModel swy
sourceR
final BSplineModel sourceR
sourceG
final BSplineModel sourceG
sourceB
final BSplineModel sourceB
auxTargetCurrentWidth
final int auxTargetCurrentWidth
auxTargetCurrentHeight
final int auxTargetCurrentHeight
auxTargetMsk
final Mask auxTargetMsk
auxSourceMsk
final Mask auxSourceMsk
rect
final java.awt.Rectangle rect
fpR
private final ij.process.FloatProcessor fpR
fpG
private final ij.process.FloatProcessor fpG
fpB
private final ij.process.FloatProcessor fpB
cp_mask
private final ij.process.ColorProcessor cp_mask
Transformation.ColorResultTileMaker
Transformation.ColorResultTileMaker(BSplineModel swx,
BSplineModel swy,
BSplineModel sourceR,
BSplineModel sourceG,
BSplineModel sourceB,
int auxTargetCurrentWidth,
int auxTargetCurrentHeight,
Mask auxTargetMsk,
Mask auxSourceMsk,
java.awt.Rectangle rect,
ij.process.FloatProcessor fpR,
ij.process.FloatProcessor fpG,
ij.process.FloatProcessor fpB,
ij.process.ColorProcessor cp_mask)
- Color result tile maker constructor
- Parameters:
swx - B-spline interpolator for transformation in x-swy - B-spline interpolator for transformation in y-sourceR - red source imagesourceG - green source imagesourceB - blue source imageauxTargetCurrentWidth - current target heightauxTargetCurrentHeight - current target heightauxTargetMsk - target maskauxSourceMsk - source maskrect - retangle with the coordinates of the output image to be updatedfpR - red channel processor to be updatedfpG - green channel processor to be updatedfpB - blue channel processor to be updatedcp_mask - mask color processor to be updated
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