|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object HTPcalib
public class HTPcalib
ImageJ Plugin: HTPcalib (high-throughput phenotyping calibration)
Allows to obtain colour ranges for each class from images,
implemented as Plugin for ImageJ.
Field Summary | |
---|---|
java.lang.String |
path
|
Constructor Summary | |
---|---|
HTPcalib()
|
Method Summary | |
---|---|
void |
htpCalibDisplayGeneralInstructions()
Displays the general instructions how to use the function HTPcalib. |
void |
htpCalibDisplayInstructions()
Displays which class is being processed next and explains the functions of the keys ESCAPE, TAB and ENTER. |
void |
htpcalibWriteCurrentRange()
Writes the current minimum and maximum ranges of the current class to the color2class calibration files. |
void |
imageClosed(ij.ImagePlus imp)
ImageListener: Detects abortion of the calibration if the image has been closed. |
void |
imageOpened(ij.ImagePlus imp)
Not being used (empty abstract override). |
void |
imageUpdated(ij.ImagePlus imp)
Not being used (empty abstract override). |
void |
keyPressed(java.awt.event.KeyEvent e)
KeyListener: Processes the key events. |
void |
keyReleased(java.awt.event.KeyEvent e)
KeyListener: Processes the key events. |
void |
keyTyped(java.awt.event.KeyEvent e)
not being used (empty abstract override) |
void |
markOtherDataSets(java.lang.String className)
Marks all previous colour ranges selected for this class. |
void |
mouseClicked(java.awt.event.MouseEvent e)
MouseListener: Handles clicking events. |
void |
mouseEntered(java.awt.event.MouseEvent e)
Not being used (empty abstract override). |
void |
mouseExited(java.awt.event.MouseEvent e)
Not being used (empty abstract override). |
void |
mousePressed(java.awt.event.MouseEvent e)
Not being used (empty abstract override). |
void |
mouseReleased(java.awt.event.MouseEvent e)
Not being used (empty abstract override). |
void |
processNextClass()
Is called after the user finished the pixel sampling of a class. |
void |
run(java.lang.String arg)
Initialization of the calibration process. |
void |
updateColorRange()
Updates the maximum and minimum values for each colour channel based on the current sample array. |
void |
updateModifiedImage()
Redraws the current image with markings based on the current minimum maximum colour range. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String path
Constructor Detail |
---|
public HTPcalib()
Method Detail |
---|
public void run(java.lang.String arg)
run
in interface ij.plugin.PlugIn
arg
- A String
passed as an argument to the plugin.public void imageOpened(ij.ImagePlus imp)
imageOpened
in interface ij.ImageListener
public void imageUpdated(ij.ImagePlus imp)
imageUpdated
in interface ij.ImageListener
public void imageClosed(ij.ImagePlus imp)
imageClosed
in interface ij.ImageListener
imp
- An ImagePlus
object.public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
e
- A MouseEvent
object.public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
e
- A KeyEvent
object.public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
public void processNextClass()
color2class
configuration files and
the original image is restored.
The user is asked whether to add another calibration set for this class or to go on with the next class.
public void markOtherDataSets(java.lang.String className)
className
- A String
object containing the class name.public void updateColorRange()
public void updateModifiedImage()
public void htpcalibWriteCurrentRange()
color2class
calibration files.
public void htpCalibDisplayInstructions()
public void htpCalibDisplayGeneralInstructions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |