@ALDDataIOProvider(priority=10)
public class SegmentationInitializerDataIOSwing
extends de.unihalle.informatik.Alida.dataio.provider.ALDDataIOSwingInitialGUIValueDefaultHandler
SegmentationInitializer
.
If no concrete class is requested, the type of the returned data
object depends on the input data (e.g. 3D data yields an object of
type MTBSegmentation3D
to be returned, 2D data results in an
object of type MTBSegmentation3D
).
If a concrete class is given an object of a corresponding class is
returned, if available. In case that the dimensions of input data and
desired class are not consistent, the input data is automatically
converted if possible. This might result in a loss of data.
Modifier and Type | Class and Description |
---|---|
protected class |
SegmentationInitializerDataIOSwing.ConfigureSegmentationButton
GUI element for configuring segmentations.
|
protected class |
SegmentationInitializerDataIOSwing.SegmentationConfigWin
Segmentation configuration window.
|
Constructor and Description |
---|
SegmentationInitializerDataIOSwing() |
Modifier and Type | Method and Description |
---|---|
de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent |
createGUIElement(Field field,
Class<?> cl,
Object obj,
de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
Generic reading of segmentation objects.
|
Collection<Class<?>> |
providedClasses()
Interface method to announce class for which IO is provided for.
|
Object |
readData(Field field,
Class<?> cl,
de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent guiElem) |
void |
setValue(Field field,
Class<?> cl,
de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent guiElem,
Object value) |
JComponent |
writeData(Object obj,
de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr) |
public Collection<Class<?>> providedClasses()
public de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent createGUIElement(Field field, Class<?> cl, Object obj, de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
public void setValue(Field field, Class<?> cl, de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent guiElem, Object value) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
public Object readData(Field field, Class<?> cl, de.unihalle.informatik.Alida.dataio.provider.swing.components.ALDSwingComponent guiElem) throws de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
de.unihalle.informatik.Alida.exceptions.ALDDataIOProviderException
public JComponent writeData(Object obj, de.unihalle.informatik.Alida.operator.ALDParameterDescriptor descr)
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.