- java.lang.Object
-
- org.scijava.AbstractContextual
-
- org.scijava.plugin.AbstractRichPlugin
-
- io.scif.AbstractSCIFIOPlugin
-
- io.scif.AbstractFormat
-
- io.scif.formats.KontronFormat
-
- All Implemented Interfaces:
Format,SCIFIOPlugin,Comparable<org.scijava.Prioritized>,org.scijava.Contextual,org.scijava.Identifiable,org.scijava.Locatable,org.scijava.log.Logged,org.scijava.plugin.HasPluginInfo,org.scijava.plugin.RichPlugin,org.scijava.plugin.SciJavaPlugin,org.scijava.plugin.SingletonPlugin,org.scijava.Prioritized,org.scijava.Versioned
public class KontronFormat extends AbstractFormat
The file format reader for Kontron IMG filesKontron IMG files are generated by a Kontron controller computer attached to Alan Boyde's Zeiss DSM 962 scanning electron microscope. They are 8-bit greyscale images with a 128-byte header, which contains the image width and height and an identifier sequence.
- Author:
- Richard Domander (Royal Veterinary College, London), Michael Doube (Royal Veterinary College, London)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKontronFormat.Checkerstatic classKontronFormat.Metadatastatic classKontronFormat.Parserstatic classKontronFormat.Reader
-
Field Summary
Fields Modifier and Type Field Description static intHEADER_BYTESLength of the header in a Kontron filestatic byte[]KONTRON_IDKontron IMGs start with this sequence
-
Constructor Summary
Constructors Constructor Description KontronFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]makeSuffixArray()Helper method to cache the suffix array for a format.-
Methods inherited from class io.scif.AbstractFormat
createChecker, createMetadata, createParser, createReader, createWriter, getCheckerClass, getFormatName, getMetadataClass, getParserClass, getReaderClass, getSuffixes, getWriterClass, isEnabled, setEnabled
-
Methods inherited from class io.scif.AbstractSCIFIOPlugin
getVersion, log
-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority, toString
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface io.scif.Format
ownsLocationType
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier
-
Methods inherited from interface io.scif.SCIFIOPlugin
getVersion, log
-
-
-
-
Field Detail
-
KONTRON_ID
public static final byte[] KONTRON_ID
Kontron IMGs start with this sequence
-
HEADER_BYTES
public static final int HEADER_BYTES
Length of the header in a Kontron file- See Also:
- Constant Field Values
-
-
Method Detail
-
makeSuffixArray
protected String[] makeSuffixArray()
Description copied from class:AbstractFormatHelper method to cache the suffix array for a format. Concrete format classes should implement this method, returning an array of supported suffixes.- Specified by:
makeSuffixArrayin classAbstractFormat- Returns:
- Valid suffixes for this file format.
-
-