|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.instruments.ImageFilterAdapter JSci.instruments.PTCroquette
public class PTCroquette
an Effect that does the particle tracking in 3D, for symmetric images
Field Summary | |
---|---|
static int |
CALIBR_AVR
While calibrating, averages this number of frames |
static double |
CALIBR_STEP
Steps in z for calibration (microns) |
static int |
CROSS_H
Width of the arms of the cross |
static int |
CROSS_L
Length of the arms of the cross |
Constructor Summary | |
---|---|
PTCroquette(PositionControl p)
|
Method Summary | |
---|---|
void |
filter(Image f)
processes a frame. |
java.awt.Component |
getFilterControlComponent()
defines the Component that controls this filter |
java.lang.String |
getName()
defines the name of the filter |
java.awt.Shape |
getShape()
|
static void |
main(java.lang.String[] args)
|
void |
paint(java.awt.Graphics g)
Called by the Player: draw the ROI |
void |
setComponent(java.awt.Component c)
Set the component that displays the image, so that the crosses can be moved with the mouse. |
void |
setListener(ParticleTrackerListener ptl)
Sets the object that wants to receive the data collected by the particle tracker. |
Methods inherited from class JSci.instruments.ImageFilterAdapter |
---|
getControlComponent, getHeight, getSize, getWidth, receive, setSink, setSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface JSci.instruments.ImageSource |
---|
setSink |
Methods inherited from interface JSci.instruments.Dimensions |
---|
getHeight, getSize, getWidth |
Methods inherited from interface JSci.instruments.ImageSink |
---|
receive, setSource |
Methods inherited from interface JSci.instruments.Control |
---|
getControlComponent |
Field Detail |
---|
public static int CROSS_L
public static int CROSS_H
public static double CALIBR_STEP
public static int CALIBR_AVR
Constructor Detail |
---|
public PTCroquette(PositionControl p)
p
- the device that will control the motion of the microscopeMethod Detail |
---|
public java.lang.String getName()
ImageFilterAdapter
getName
in class ImageFilterAdapter
public void setListener(ParticleTrackerListener ptl)
ParticleTracker
setListener
in interface ParticleTracker
ptl
- the object that receives the data; each time a new
image is processed, ptl.receivePosition() is called.public void filter(Image f)
filter
in class ImageFilterAdapter
f
- the image that must be processedpublic java.awt.Shape getShape()
getShape
in interface ROI
public void paint(java.awt.Graphics g)
ROI
paint
in interface ROI
g
- the Graphics where to paint the ROIpublic void setComponent(java.awt.Component c)
setComponent
in interface ROI
c
- the component from which we want to get the mouse actionspublic java.awt.Component getFilterControlComponent()
ImageFilterAdapter
getFilterControlComponent
in class ImageFilterAdapter
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |