|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.washington.biostr.sig.brainj3d.volume.AnalyzeSPMDecoder
public class AnalyzeSPMDecoder
Title: Brain Visualizer
Description: Displays and allows manipulation of 3d brain models
Copyright: Copyright (c) 2002
Company: Structural Informatics Group
This loads a file in Analyze 7.5 format with SPM's extensions. SPM defines the following fields in specific ways: image_dimension.funused1 is a scaling factor to multiply all of the voxels by. This is useful primarily for byte format. It also uses the Originator field for the central voxel. This 10 char field is instead read as 3 shorts. It also adds a third file, which represents a transform
| Constructor Summary | |
|---|---|
AnalyzeSPMDecoder()
Create an AnalyzeSPMLoader. |
|
| Method Summary | |
|---|---|
Data |
decode(String directory,
URL[] urls,
FileGroup source)
The urls are expected in alphabetical order of extension (.hdr, .img, .mat) |
int |
getNumberOfFiles()
|
Class<? extends Data> |
getResultType()
Return the class of the Data that will be returned by decode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnalyzeSPMDecoder()
| Method Detail |
|---|
public Data decode(String directory,
URL[] urls,
FileGroup source)
throws BadDataFile,
FileNotFoundException,
IOException
decode in interface Decoderdirectory - urls -
BadDataFile
MissingDataFile
FileNotFoundException
IOExceptionpublic int getNumberOfFiles()
getNumberOfFiles in interface Decoderpublic Class<? extends Data> getResultType()
Decoder
getResultType in interface Decoder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||