public interface LuraWaveService
extends loci.common.services.Service
Modifier and Type | Method and Description |
---|---|
void |
decodeToMemoryGray16(short[] image,
int imageoffset,
int limit,
int quality,
int scale,
int pdx,
int pdy,
int clip_x,
int clip_y,
int clip_w,
int clip_h)
Wraps
lwfDecoder.decodeToMemoryGray16(short[], int, int, int, int, int, int, int, int, int, int) . |
void |
decodeToMemoryGray8(byte[] image,
int limit,
int quality,
int scale)
Wraps
lwfDecoder.decodeToMemoryGray8(byte[], int, int, int) . |
int |
getHeight()
Wraps
lwfDecoder.getHeight() |
java.lang.String |
getLicenseCode()
Retrieves the current license code as a string.
|
int |
getWidth()
Wraps
lwfDecoder.getWidth() |
void |
initialize(java.io.InputStream stream)
Wraps
lwfDecoder.lwfDecoder(InputStream, String, String) . |
void |
setLicenseCode(java.lang.String license)
Overrides the license code to use when initializing the LuraWave decoder.
|
void setLicenseCode(java.lang.String license)
license
- String license code.java.lang.String getLicenseCode()
void initialize(java.io.InputStream stream) throws java.io.IOException, loci.common.services.DependencyException, loci.common.services.ServiceException
lwfDecoder.lwfDecoder(InputStream, String, String)
.java.io.IOException
- If parsing of the image header fails.loci.common.services.DependencyException
- If no license code was specified.loci.common.services.ServiceException
- If the license code is invalid.int getWidth()
lwfDecoder.getWidth()
int getHeight()
lwfDecoder.getHeight()
void decodeToMemoryGray8(byte[] image, int limit, int quality, int scale) throws loci.common.services.ServiceException
lwfDecoder.decodeToMemoryGray8(byte[], int, int, int)
.loci.common.services.ServiceException
- If the license code is invalid.void decodeToMemoryGray16(short[] image, int imageoffset, int limit, int quality, int scale, int pdx, int pdy, int clip_x, int clip_y, int clip_w, int clip_h) throws loci.common.services.ServiceException
lwfDecoder.decodeToMemoryGray16(short[], int, int, int, int, int, int, int, int, int, int)
.loci.common.services.ServiceException
- If the license code is invalid.Copyright © 2018 Open Microscopy Environment