Constructor and Description |
---|
WrapperNdxImpl(Ndx ndx) |
Modifier and Type | Method and Description |
---|---|
int |
getBadBits()
Returns the bad bits mask used to mask the image/variance arrays
against the quality array.
|
Source |
getEtc()
Gets an XML Source holding the extension information.
|
NDArray |
getImage()
Gets an NDArray containing the image data.
|
String |
getLabel()
Gets the label component.
|
NDArray |
getQuality()
Gets an NDArray containing the quality data.
|
String |
getTitle()
Gets the title component.
|
String |
getUnits()
Gets the units component.
|
NDArray |
getVariance()
Gets an NDArray containing the variance data.
|
Object |
getWCS()
Gets an object representing the world coordinate systems of this Ndx.
|
boolean |
hasEtc()
Indicates whether an extensions DOM is available.
|
boolean |
hasLabel()
Indicates whether a label component is available.
|
boolean |
hasQuality()
Indicates whether quality array data is present.
|
boolean |
hasTitle()
Indicates whether a title component is available.
|
boolean |
hasUnits()
Indicates whether a units component is available.
|
boolean |
hasVariance()
Indicates whether variance array data is present.
|
boolean |
hasWCS()
Indicates whether a WCS component is available.
|
public WrapperNdxImpl(Ndx ndx)
public int getBadBits()
NdxImpl
getBadBits
in interface NdxImpl
public boolean hasTitle()
NdxImpl
hasTitle
in interface NdxImpl
NdxImpl.getTitle()
will return a stringpublic String getTitle()
NdxImpl
NdxImpl.hasTitle()
returns true.public boolean hasLabel()
NdxImpl
hasLabel
in interface NdxImpl
NdxImpl.getLabel()
will return a stringpublic String getLabel()
NdxImpl
NdxImpl.hasLabel()
returns true.public boolean hasUnits()
NdxImpl
hasUnits
in interface NdxImpl
NdxImpl.getUnits()
will return a stringpublic String getUnits()
NdxImpl
NdxImpl.hasUnits()
returns true.public boolean hasEtc()
NdxImpl
public Source getEtc()
NdxImpl
NdxImpl.hasEtc()
returns true.
The result must represent an element, or a document with a root
element, whose tagname is "etc". This method may be called more
than once by BridgeNdx
, so it must not return a source
which may have been exhausted by a previous call (for instance
an old StreamSource
).public boolean hasWCS()
NdxImpl
public Object getWCS()
NdxImpl
NdxImpl.hasWCS()
returns true.public NDArray getImage()
NdxImpl
public boolean hasVariance()
NdxImpl
hasVariance
in interface NdxImpl
public NDArray getVariance()
NdxImpl
NdxImpl.hasVariance()
returns true.getVariance
in interface NdxImpl
public boolean hasQuality()
NdxImpl
hasQuality
in interface NdxImpl
public NDArray getQuality()
NdxImpl
NdxImpl.hasQuality()
returns true.getQuality
in interface NdxImpl
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.