public class ImageFileHeader extends Object
Modifier and Type | Field and Description |
---|---|
IFormatReader |
fr |
int |
height |
int |
type |
int |
width |
Constructor and Description |
---|
ImageFileHeader(String filepath)
Reads the header of the image file at
filepath
using an IFormatReader from the bio-formats library,
and then extracts the {link #width}, height and type
of the image. |
Modifier and Type | Method and Description |
---|---|
boolean |
isSupportedType() |
public final int width
public final int height
public final int type
public final IFormatReader fr
public ImageFileHeader(String filepath) throws Exception
filepath
using an IFormatReader
from the bio-formats library,
and then extracts the {link #width}, height
and type
of the image. If the type is not one supported by TrakEM2, the type
is set to the value returned by IFormatReader.getPixelType()
.filepath
- Exception
Copyright © 2015–2021 Fiji. All rights reserved.