|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Seg2Dgel.Sg2glb Seg2Dgel.Sg2ini
public class Sg2ini
Class sg2ini initializes data structures for the 2D Gel Spot Segmenter
This code was derived and refactored from GELLAB-II sg2gii C language files.
This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government. As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file. This notice must be included with the code. The Open2Dprot Mozilla and Legal files are available on http://Open2Dprot.sourceforge.net/.
Field Summary |
---|
Constructor Summary | |
---|---|
Sg2ini()
Sg2ini() - Constructor |
Method Summary | |
---|---|
static void |
additionalInit()
additionalInit() - initialize other parameters now that we have the computing window, image size, bits/pixel, OD calibration, etc. |
static void |
createLineBuffers()
createLineBuffers() - create line buffers |
static int |
cvtDefaultType(java.lang.String defType)
cvtDefaultType() - remap default type to standard string |
static void |
initCW()
initCW() - initialize the main and debugging computing windows and adjust edges based on gaussian -lowpass filter size (wXsize,wYsize). |
static int |
initSwitchOptionsData()
initSwitchOptionsData() - init the switchOptionsData[0:(3*nData)-1] data is used by the Sg2reportPopup that in turn may call Sg2optionsPopup. |
boolean |
switchAnalysis(java.lang.String[] argv)
switchAnalysis() - Analyze the command line. |
Methods inherited from class Seg2Dgel.Sg2glb |
---|
get2D, get2D, getPixLineBuf, getPixLineBuf, initGlb, isDBwindow, isDBwindow, put2Dbuf, resetGlb, set2D, set2D, setPixLineBuf, setPixLineBuf, showReportStatus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Sg2ini()
Method Detail |
---|
public boolean switchAnalysis(java.lang.String[] argv)
argv
- is the list of command line args.
public static void additionalInit()
public static void initCW()
public static int cvtDefaultType(java.lang.String defType)
defType
- default type
public static void createLineBuffers()
public static int initSwitchOptionsData()
If the guiBuilderSpec has a "#", then it is a file browser. If the guiBuilderSpec has a "$", then it is a directory browser. If the guiBuilderSpec has a "@1Text[min,max,scale,precision],@2Text[min,max,scale,precision],@3...", then it is set of Sliders implemented on the right as Scrollbars If the guiBuilderSpec has a "{A|B|C...Z}1,{A|B|C...Z}2,...", then it is set of Choices (i.e., between the {...} If guiBuilderSpec has a "*1,*2,..." entries in the list, then get that data from the comma separated text area. If the user data is not null, then make a TextField with this user data on the right else make an empty Label. guiBuilderSpec syntax to specify one or more in the command options e.g., 1. sliders -thrArea: guiBuilderSpec is "@1Minimum area[10,2000,1.0,0],@2Maximum area[10,2000,1.0,0]" 2. popup file browser "#Gel image file" guiBuilderSpec is "#" 3. popup directory browser "@Project directory" guiBuilderSpec is "@Project directory" or -projDir:$Project directory$ 4. choice. -lowpassFilter:{3 | 5 | B}1,gridSize,{P | C}2 guiBuilderSpec is "{3|5|B}1,-,{P|C}3",
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |