Package me.clarius.sdk
Class SpectralImageInfo
java.lang.Object
me.clarius.sdk.SpectralImageInfo
Spectral image information supplied with each block.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
Bits per sample.int
Number of lines in the block.double
Microns per pixel/sample in an M spectrum.double
Line acquisition period in seconds.int
Flag specifying the data is PW and not M.int
Number of samples per line.double
Velocity in m/s per pixel/sample in a PW spectrum. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.SpectralImageInfo
(int lines, int samples, int bitsPerSample, double period, double micronsPerSample, double velocityPerSample, int pw) Constructor with parameters. -
Method Summary
-
Field Details
-
lines
public int linesNumber of lines in the block. -
samples
public int samplesNumber of samples per line. -
bitsPerSample
public int bitsPerSampleBits per sample. -
period
public double periodLine acquisition period in seconds. -
micronsPerSample
public double micronsPerSampleMicrons per pixel/sample in an M spectrum. -
velocityPerSample
public double velocityPerSampleVelocity in m/s per pixel/sample in a PW spectrum. -
pw
public int pwFlag specifying the data is PW and not M.
-
-
Constructor Details
-
SpectralImageInfo
public SpectralImageInfo()Default constructor. -
SpectralImageInfo
public SpectralImageInfo(int lines, int samples, int bitsPerSample, double period, double micronsPerSample, double velocityPerSample, int pw) Constructor with parameters.- Parameters:
lines
- Number of lines in the block.samples
- Number of samples per line.bitsPerSample
- Bits per sample.period
- Line acquisition period in seconds.micronsPerSample
- Microns per pixel/sample in an M spectrum.velocityPerSample
- Velocity in m/s per pixel/sample in a PW spectrum.pw
- Flag specifying the data is PW and not M.
-