|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectannotool.gui.AnnImageTable
public class AnnImageTable
This class is responsible for displaying a list of images or roi that are loaded as problem. Depending upon the mode (ROI input, target file, directory structure), one of its several buildTable... methods are used.
Method Summary | |
---|---|
javax.swing.JScrollPane |
buildImageTable(java.lang.String[] files,
java.lang.String directory,
java.lang.String ext)
|
javax.swing.JScrollPane |
buildImageTable(java.lang.String directory,
java.lang.String ext)
|
javax.swing.JScrollPane |
buildImageTable(java.lang.String directory,
java.lang.String targetFile,
java.lang.String ext)
|
javax.swing.JScrollPane |
buildImageTableFromROI(java.lang.String imagePath,
java.lang.String[] roiPaths,
boolean hasTarget,
int depth,
int newwidth,
int newheight)
Builds table from list of rois loaded from one or multiple roi zip files. |
javax.swing.JScrollPane |
buildImageTableFromSubdirectories(java.lang.String directory,
java.lang.String ext,
boolean hasTarget)
For hierarchical directory structure. |
java.lang.String[] |
getChildren()
|
java.util.HashMap<java.lang.String,java.lang.String> |
getClassNames()
|
DataInput |
getProblem()
|
int[] |
getSelectedRows()
|
boolean |
is3D()
|
boolean |
isColor()
|
void |
updateTable(annotool.Annotation[][] predictions)
|
void |
updateTable(annotool.Annotation[][] predictions,
java.lang.String[] modelLabels,
boolean[] supportsProb,
boolean isBinary)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public javax.swing.JScrollPane buildImageTable(java.lang.String directory, java.lang.String targetFile, java.lang.String ext) throws java.lang.Exception
java.lang.Exception
public javax.swing.JScrollPane buildImageTable(java.lang.String directory, java.lang.String ext) throws java.lang.Exception
java.lang.Exception
public javax.swing.JScrollPane buildImageTable(java.lang.String[] files, java.lang.String directory, java.lang.String ext) throws java.lang.Exception
java.lang.Exception
public javax.swing.JScrollPane buildImageTableFromSubdirectories(java.lang.String directory, java.lang.String ext, boolean hasTarget) throws java.lang.Exception
directory
- ext
- hasTarget
- Whether or not the targets are known (i.e. targets is known if it is problem set for training or testing and not known new problems)
java.lang.Exception
public javax.swing.JScrollPane buildImageTableFromROI(java.lang.String imagePath, java.lang.String[] roiPaths, boolean hasTarget, int depth, int newwidth, int newheight) throws java.lang.Exception
imagePath
- roiPaths
- hasTarget
-
java.lang.Exception
public void updateTable(annotool.Annotation[][] predictions)
public void updateTable(annotool.Annotation[][] predictions, java.lang.String[] modelLabels, boolean[] supportsProb, boolean isBinary)
public java.lang.String[] getChildren()
public java.util.HashMap<java.lang.String,java.lang.String> getClassNames()
public int[] getSelectedRows()
public DataInput getProblem()
public boolean isColor() throws java.lang.Exception
java.lang.Exception
public boolean is3D() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |