public class Convert extends AbstractReaderCommand
SCIFIOToolCommand
plugin for converting (reading and writing)
datasets.Constructor and Description |
---|
Convert() |
Modifier and Type | Method and Description |
---|---|
String |
commandName()
Default command name is a lower-case version of the class name.
|
protected String |
description() |
protected List<String> |
getExtraArguments()
Each SCIFIOToolCommand implementation should have a
List<String>
Argument field which is multiValued = true and with an
index putting it at the end of the argument list. |
protected String |
getName() |
protected Plane |
processPlane(Reader reader,
Plane plane,
int imageIndex,
long planeIndex,
long planeNo,
Interval bounds)
Helper method to open the specified region of the specified plane and
perform any command-specific operations.
|
protected void |
run()
Performs the actual tool operations.
|
protected void |
validateParams()
Very that all parameters were set correctly, in case any need checking that
the
Parameter or Argument can't provide. |
getConfig, getCrop, getMap, makeRange, makeReader, read, setCrop, setMap
debug, err, info, location, runCommand, warn
getVersion, log
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersion, log
getIdentifier
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
protected void run() throws org.kohsuke.args4j.CmdLineException
AbstractSCIFIOToolCommand
AbstractSCIFIOToolCommand.runCommand(String...)
.run
in class AbstractSCIFIOToolCommand
org.kohsuke.args4j.CmdLineException
protected String description()
description
in class AbstractSCIFIOToolCommand
protected String getName()
getName
in class AbstractSCIFIOToolCommand
protected List<String> getExtraArguments()
AbstractSCIFIOToolCommand
List<String>
Argument
field which is multiValued = true
and with an
index
putting it at the end of the argument list. The user will be
warned that these arguments were not used.getExtraArguments
in class AbstractSCIFIOToolCommand
protected void validateParams() throws org.kohsuke.args4j.CmdLineException
AbstractSCIFIOToolCommand
Parameter
or Argument
can't provide.validateParams
in class AbstractSCIFIOToolCommand
org.kohsuke.args4j.CmdLineException
protected Plane processPlane(Reader reader, Plane plane, int imageIndex, long planeIndex, long planeNo, Interval bounds) throws org.kohsuke.args4j.CmdLineException
AbstractReaderCommand
processPlane
in class AbstractReaderCommand
org.kohsuke.args4j.CmdLineException
public String commandName()
AbstractSCIFIOToolCommand
commandName
in interface SCIFIOToolCommand
commandName
in class AbstractSCIFIOToolCommand
Copyright © 2015–2022 SCIFIO. All rights reserved.