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() |
String |
getLicenseCode()
Retrieves the current license code as a string.
|
int |
getWidth()
Wraps
lwfDecoder.getWidth() |
void |
initialize(InputStream stream)
Wraps
lwfDecoder.lwfDecoder(InputStream, String, String) . |
void |
setLicenseCode(String license)
Overrides the license code to use when initializing the LuraWave decoder.
|
void setLicenseCode(String license)
license
- String license code.String getLicenseCode()
void initialize(InputStream stream) throws IOException, loci.common.services.DependencyException, loci.common.services.ServiceException
lwfDecoder.lwfDecoder(InputStream, String, String)
.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 © 2017 Open Microscopy Environment