public class ImageLabelAnnotationWriter extends Object implements AnnotationWriter<ImageLabelAnnotation>
ImageLabelAnnotation
to the file-system.Constructor and Description |
---|
ImageLabelAnnotationWriter() |
Modifier and Type | Method and Description |
---|---|
void |
write(ImageLabelAnnotation annotation,
Path path)
Saves the annotation to the filesystem.
|
public void write(ImageLabelAnnotation annotation, Path path) throws IOException
AnnotationWriter
write
in interface AnnotationWriter<ImageLabelAnnotation>
annotation
- the annotation to save.path
- the path to write to (or a slightly-modified path is derived from this).IOException
- if the annotation fails to write successfully.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.