@Deprecated public class LuraWaveServiceImpl extends loci.common.services.AbstractService implements LuraWaveService
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
delegate
Deprecated.
LuraWave decoder delegate.
|
static java.lang.String |
INVALID_LICENSE_MSG
Deprecated.
Message to display if an invalid LuraWave license code is given.
|
private java.lang.String |
license
Deprecated.
License code.
|
static java.lang.String |
LICENSE_PROPERTY
Deprecated.
System property to check for the LuraWave license code.
|
static java.lang.String |
NO_LICENSE_MSG
Deprecated.
Message to display if no LuraWave license code is given.
|
static java.lang.String |
NO_LURAWAVE_MSG
Deprecated.
Message displayed if the LuraWave LWF decoder library is not found.
|
static java.lang.String |
STUB_FIELD
Deprecated.
Identifying field in stub class.
|
| Constructor and Description |
|---|
LuraWaveServiceImpl()
Deprecated.
Default constructor.
|
| 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)
Deprecated.
Wraps
lwfDecoder.decodeToMemoryGray16(short[], int, int, int, int, int, int, int, int, int, int). |
void |
decodeToMemoryGray8(byte[] image,
int limit,
int quality,
int scale)
Deprecated.
Wraps
lwfDecoder.decodeToMemoryGray8(byte[], int, int, int). |
int |
getHeight()
Deprecated.
Wraps
lwfDecoder.getHeight() |
java.lang.String |
getLicenseCode()
Deprecated.
Retrieves the current license code as a string.
|
int |
getWidth()
Deprecated.
Wraps
lwfDecoder.getWidth() |
void |
initialize(java.io.InputStream stream)
Deprecated.
Wraps
lwfDecoder(InputStream, String, String). |
private void |
initLicense()
Deprecated.
|
void |
setLicenseCode(java.lang.String license)
Deprecated.
Overrides the license code to use when initializing the LuraWave decoder.
|
public static final java.lang.String LICENSE_PROPERTY
public static final java.lang.String NO_LURAWAVE_MSG
public static final java.lang.String NO_LICENSE_MSG
public static final java.lang.String INVALID_LICENSE_MSG
public static final java.lang.String STUB_FIELD
private transient java.lang.Object delegate
private java.lang.String license
public LuraWaveServiceImpl()
throws loci.common.services.DependencyException
loci.common.services.DependencyExceptionpublic void setLicenseCode(java.lang.String license)
LuraWaveServicesetLicenseCode in interface LuraWaveServicelicense - String license code.public java.lang.String getLicenseCode()
LuraWaveServicegetLicenseCode in interface LuraWaveServicepublic void initialize(java.io.InputStream stream)
throws java.io.IOException,
loci.common.services.DependencyException,
loci.common.services.ServiceException
LuraWaveServicelwfDecoder(InputStream, String, String).initialize in interface LuraWaveServicejava.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.public int getWidth()
LuraWaveServicelwfDecoder.getWidth()getWidth in interface LuraWaveServicepublic int getHeight()
LuraWaveServicelwfDecoder.getHeight()getHeight in interface LuraWaveServicepublic void decodeToMemoryGray8(byte[] image,
int limit,
int quality,
int scale)
throws loci.common.services.ServiceException
LuraWaveServicelwfDecoder.decodeToMemoryGray8(byte[], int, int, int).decodeToMemoryGray8 in interface LuraWaveServiceloci.common.services.ServiceException - If the license code is invalid.public 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
LuraWaveServicelwfDecoder.decodeToMemoryGray16(short[], int, int, int, int, int, int, int, int, int, int).decodeToMemoryGray16 in interface LuraWaveServiceloci.common.services.ServiceException - If the license code is invalid.private void initLicense()
throws loci.common.services.DependencyException
loci.common.services.DependencyExceptionCopyright © 2023 Open Microscopy Environment