public interface LuraWaveService extends 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)
|
void |
decodeToMemoryGray8(byte[] image,
int limit,
int quality,
int scale)
|
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)
|
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, DependencyException, ServiceException
java.io.IOException
- If parsing of the image header fails.DependencyException
- If no license code was specified.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 ServiceException
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 ServiceException
ServiceException
- If the license code is invalid.Copyright © 2014 Open Microscopy Environment