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() |
String |
getLicenseCode()
Retrieves the current license code as a string.
|
int |
getWidth()
Wraps
lwfDecoder.getWidth() |
void |
initialize(InputStream stream)
|
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, DependencyException, ServiceException
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 © 2015 Open Microscopy Environment