public class PDS2GeometryCalibrationTool extends IndividualImageFilteringTool
Constructor and Description |
---|
PDS2GeometryCalibrationTool() |
Modifier and Type | Method and Description |
---|---|
Grid2D |
applyToolToImage(Grid2D imageProcessor)
Is called in every thread to apply the tool to an individual ImageProcessor
|
IndividualImageFilteringTool |
clone()
All ImageFilteringTools need to be Cloneable in order to enable multiple processor usage.
|
static double[] |
compute2DCoordinates(CalibrationBead tmpBead,
Jama.Matrix pMatrix) |
static Jama.Matrix |
computePMatrix(java.util.ArrayList<CalibrationBead> listCoords)
Computes the projection matrix from a set of calibration beads.
|
void |
configure()
Configures the object before execution
|
java.lang.String |
getBibtexCitation()
Returns the citation in bibTex format
|
double |
getDistance() |
double |
getHoughLineThresh1() |
double |
getHoughLineThresh2() |
double |
getLargeOffset() |
java.lang.String |
getMedlineCitation()
Returns the citation in Medline format
|
int |
getProjections() |
int |
getRadiusOfLargeBeads() |
int |
getRadiusOfSmallBeads() |
double |
getSmallOffset() |
double |
getStart() |
double |
getStop() |
java.lang.String |
getToolName()
returns the name of the actual tool which was used.
|
double |
getvDistance() |
boolean |
isDeviceDependent()
returns true, if the filter models or compensates device dependent, i.e.
|
boolean |
isUserInteractionMode() |
void |
setDistance(double distance) |
void |
setHoughLineThresh1(double houghLineThresh1) |
void |
setHoughLineThresh2(double houghLineThresh2) |
void |
setLargeOffset(double largeOffset) |
void |
setProjections(int projections) |
void |
setRadiusOfLargeBeads(int radiusOfLargeBeads) |
void |
setRadiusOfSmallBeads(int radiusOfSmallBeads) |
void |
setSmallOffset(double smallOffset) |
void |
setStart(double start) |
void |
setStop(double stop) |
void |
setUserInteractionMode(boolean userInteractionMode) |
void |
setvDistance(double vDistance) |
getFilteredImage, getImageIndex, getProcessName, prepareForSerialization, run, setImageIndex, setImageProcessor, setLatch
getFilterTools, isConfigured, setConfigured, toString
public IndividualImageFilteringTool clone()
IndividualImageFilteringTool
clone
in class IndividualImageFilteringTool
public java.lang.String getToolName()
ImageFilteringTool
getToolName
in class ImageFilteringTool
public Grid2D applyToolToImage(Grid2D imageProcessor)
IndividualImageFilteringTool
applyToolToImage
in class IndividualImageFilteringTool
imageProcessor
- the ImageProcessorpublic static double[] compute2DCoordinates(CalibrationBead tmpBead, Jama.Matrix pMatrix)
public static Jama.Matrix computePMatrix(java.util.ArrayList<CalibrationBead> listCoords)
- 2Nx11 matrix - 1st row of M: x_i y_i z_i 1 0 0 0 0 -x_iu_i -y_iu_i -z_iu_i - 2nd row of M: 0 0 0 0 x_i y_i z_i 1 -x_iv_i -y_iv_i -z_iv_i d (dVector): 2N vector p (pVector): a vector containing the first 11 elements of P (p00, p01, ..., p22, not p23)
listCoords
- public void configure() throws java.lang.Exception
GUIConfigurable
java.lang.Exception
- may happenpublic boolean isDeviceDependent()
ImageFilteringTool
isDeviceDependent
in class ImageFilteringTool
public java.lang.String getBibtexCitation()
Citeable
public java.lang.String getMedlineCitation()
Citeable
public int getRadiusOfLargeBeads()
public void setRadiusOfLargeBeads(int radiusOfLargeBeads)
radiusOfLargeBeads
- the radiusOfLargeBeads to setpublic int getRadiusOfSmallBeads()
public void setRadiusOfSmallBeads(int radiusOfSmallBeads)
radiusOfSmallBeads
- the radiusOfSmallBeads to setpublic double getStart()
public void setStart(double start)
start
- the start to setpublic double getStop()
public void setStop(double stop)
stop
- the stop to setpublic double getLargeOffset()
public void setLargeOffset(double largeOffset)
largeOffset
- the largeOffset to setpublic double getSmallOffset()
public void setSmallOffset(double smallOffset)
smallOffset
- the smallOffset to setpublic double getDistance()
public void setDistance(double distance)
distance
- the distance to setpublic double getvDistance()
public void setvDistance(double vDistance)
vDistance
- the vDistance to setpublic int getProjections()
public void setProjections(int projections)
projections
- the projections to setpublic double getHoughLineThresh1()
public void setHoughLineThresh1(double houghLineThresh1)
public double getHoughLineThresh2()
public void setHoughLineThresh2(double houghLineThresh2)
public boolean isUserInteractionMode()
public void setUserInteractionMode(boolean userInteractionMode)