Skip to content

com.inscoper.nbo.Pixels

Represents the XML element Pixels. More...

Inherits from com.inscoper.nbo.NBOBaseClass

Public Functions

Name
synchronized void delete()
Pixels()
String getTypeName()
Returns the class type name.
String getXMLName()
Returns the XML element name corresponding to this class.
ENBOType getNBOType()
Returns the NBO Type corresponding to this class.
NBOBaseClassVector getChildren()
Returns a list of all classes derived from this class.
NBOBaseClassVector getSubElements()
Returns a list of all child elements contained in this class.
void fromJsonFile(String path, boolean validate)
Populates this object from a JSON file.
void fromJsonFile(String path)
Populates this object from a JSON file.
void fromJsonString(String json_string, boolean validate)
Populates this object from a JSON string.
void fromJsonString(String json_string)
Populates this object from a JSON string.
void fromXmlFile(String path, boolean validate)
Populates this object from a XML file.
void fromXmlFile(String path)
Populates this object from a XML file.
void fromXmlString(String xml_string, boolean validate)
Populates this object from a XML string.
void fromXmlString(String xml_string)
Populates this object from a XML string.
void toXmlFile(String filename, boolean validate)
Serializes this object to an XML file.
void toXmlFile(String filename)
Serializes this object to an XML file.
String toXmlString(boolean validate)
Serializes this object to an XML string.
String toXmlString()
Serializes this object to an XML string.
void setID(PixelsID_Type value, boolean validate)
Sets the value of the ID attribute.
void setID(PixelsID_Type value)
Sets the value of the ID attribute.
PixelsID_Type getID()
Returns the value of the ID attribute.
void resetID()
Resets the ID attribute to an unset state.
boolean hasID()
Checks whether the optional ID attribute is present.
void setDimensionOrder(PixelsDimensionOrder_Type value, boolean validate)
Sets the value of the DimensionOrder attribute.
void setDimensionOrder(PixelsDimensionOrder_Type value)
Sets the value of the DimensionOrder attribute.
PixelsDimensionOrder_Type getDimensionOrder()
Returns the value of the DimensionOrder attribute.
void resetDimensionOrder()
Resets the DimensionOrder attribute to an unset state.
boolean hasDimensionOrder()
Checks whether the optional DimensionOrder attribute is present.
void setSizeX(PositiveInt_Type value, boolean validate)
Sets the value of the SizeX attribute.
void setSizeX(PositiveInt_Type value)
Sets the value of the SizeX attribute.
PositiveInt_Type getSizeX()
Returns the value of the SizeX attribute.
void resetSizeX()
Resets the SizeX attribute to an unset state.
boolean hasSizeX()
Checks whether the optional SizeX attribute is present.
void setSizeY(PositiveInt_Type value, boolean validate)
Sets the value of the SizeY attribute.
void setSizeY(PositiveInt_Type value)
Sets the value of the SizeY attribute.
PositiveInt_Type getSizeY()
Returns the value of the SizeY attribute.
void resetSizeY()
Resets the SizeY attribute to an unset state.
boolean hasSizeY()
Checks whether the optional SizeY attribute is present.
void setSizeZ(PositiveInt_Type value, boolean validate)
Sets the value of the SizeZ attribute.
void setSizeZ(PositiveInt_Type value)
Sets the value of the SizeZ attribute.
PositiveInt_Type getSizeZ()
Returns the value of the SizeZ attribute.
void resetSizeZ()
Resets the SizeZ attribute to an unset state.
boolean hasSizeZ()
Checks whether the optional SizeZ attribute is present.
void setSizeC(PositiveInt_Type value, boolean validate)
Sets the value of the SizeC attribute.
void setSizeC(PositiveInt_Type value)
Sets the value of the SizeC attribute.
PositiveInt_Type getSizeC()
Returns the value of the SizeC attribute.
void resetSizeC()
Resets the SizeC attribute to an unset state.
boolean hasSizeC()
Checks whether the optional SizeC attribute is present.
void setSizeT(PositiveInt_Type value, boolean validate)
Sets the value of the SizeT attribute.
void setSizeT(PositiveInt_Type value)
Sets the value of the SizeT attribute.
PositiveInt_Type getSizeT()
Returns the value of the SizeT attribute.
void resetSizeT()
Resets the SizeT attribute to an unset state.
boolean hasSizeT()
Checks whether the optional SizeT attribute is present.
void setPhysicalSizeX(PositiveFloat_Type value, boolean validate)
Sets the value of the PhysicalSizeX attribute.
void setPhysicalSizeX(PositiveFloat_Type value)
Sets the value of the PhysicalSizeX attribute.
PositiveFloat_Type getPhysicalSizeX()
Returns the value of the PhysicalSizeX attribute.
void resetPhysicalSizeX()
Resets the PhysicalSizeX attribute to an unset state.
boolean hasPhysicalSizeX()
Checks whether the optional PhysicalSizeX attribute is present.
void setPhysicalSizeXUnit(UnitsLength_Type value, boolean validate)
Sets the value of the PhysicalSizeXUnit attribute.
void setPhysicalSizeXUnit(UnitsLength_Type value)
Sets the value of the PhysicalSizeXUnit attribute.
UnitsLength_Type getPhysicalSizeXUnit()
Returns the value of the PhysicalSizeXUnit attribute.
void resetPhysicalSizeXUnit()
Resets the PhysicalSizeXUnit attribute to an unset state.
boolean hasPhysicalSizeXUnit()
Checks whether the optional PhysicalSizeXUnit attribute is present.
void setPhysicalSizeY(PositiveFloat_Type value, boolean validate)
Sets the value of the PhysicalSizeY attribute.
void setPhysicalSizeY(PositiveFloat_Type value)
Sets the value of the PhysicalSizeY attribute.
PositiveFloat_Type getPhysicalSizeY()
Returns the value of the PhysicalSizeY attribute.
void resetPhysicalSizeY()
Resets the PhysicalSizeY attribute to an unset state.
boolean hasPhysicalSizeY()
Checks whether the optional PhysicalSizeY attribute is present.
void setPhysicalSizeYUnit(UnitsLength_Type value, boolean validate)
Sets the value of the PhysicalSizeYUnit attribute.
void setPhysicalSizeYUnit(UnitsLength_Type value)
Sets the value of the PhysicalSizeYUnit attribute.
UnitsLength_Type getPhysicalSizeYUnit()
Returns the value of the PhysicalSizeYUnit attribute.
void resetPhysicalSizeYUnit()
Resets the PhysicalSizeYUnit attribute to an unset state.
boolean hasPhysicalSizeYUnit()
Checks whether the optional PhysicalSizeYUnit attribute is present.
void setPhysicalSizeZ(PositiveFloat_Type value, boolean validate)
Sets the value of the PhysicalSizeZ attribute.
void setPhysicalSizeZ(PositiveFloat_Type value)
Sets the value of the PhysicalSizeZ attribute.
PositiveFloat_Type getPhysicalSizeZ()
Returns the value of the PhysicalSizeZ attribute.
void resetPhysicalSizeZ()
Resets the PhysicalSizeZ attribute to an unset state.
boolean hasPhysicalSizeZ()
Checks whether the optional PhysicalSizeZ attribute is present.
void setPhysicalSizeZUnit(UnitsLength_Type value, boolean validate)
Sets the value of the PhysicalSizeZUnit attribute.
void setPhysicalSizeZUnit(UnitsLength_Type value)
Sets the value of the PhysicalSizeZUnit attribute.
UnitsLength_Type getPhysicalSizeZUnit()
Returns the value of the PhysicalSizeZUnit attribute.
void resetPhysicalSizeZUnit()
Resets the PhysicalSizeZUnit attribute to an unset state.
boolean hasPhysicalSizeZUnit()
Checks whether the optional PhysicalSizeZUnit attribute is present.
void setTimeIncrement(PositiveFloat_Type value, boolean validate)
Sets the value of the TimeIncrement attribute.
void setTimeIncrement(PositiveFloat_Type value)
Sets the value of the TimeIncrement attribute.
PositiveFloat_Type getTimeIncrement()
Returns the value of the TimeIncrement attribute.
void resetTimeIncrement()
Resets the TimeIncrement attribute to an unset state.
boolean hasTimeIncrement()
Checks whether the optional TimeIncrement attribute is present.
void setTimeIncrementUnit(UnitsTime_Type value, boolean validate)
Sets the value of the TimeIncrementUnit attribute.
void setTimeIncrementUnit(UnitsTime_Type value)
Sets the value of the TimeIncrementUnit attribute.
UnitsTime_Type getTimeIncrementUnit()
Returns the value of the TimeIncrementUnit attribute.
void resetTimeIncrementUnit()
Resets the TimeIncrementUnit attribute to an unset state.
boolean hasTimeIncrementUnit()
Checks whether the optional TimeIncrementUnit attribute is present.
void setPixelType(PixelType_Type value, boolean validate)
Sets the value of the PixelType attribute.
void setPixelType(PixelType_Type value)
Sets the value of the PixelType attribute.
PixelType_Type getPixelType()
Returns the value of the PixelType attribute.
void resetPixelType()
Resets the PixelType attribute to an unset state.
boolean hasPixelType()
Checks whether the optional PixelType attribute is present.
void setInterleaved(boolean value, boolean validate)
Sets the value of the Interleaved attribute.
void setInterleaved(boolean value)
Sets the value of the Interleaved attribute.
boolean getInterleaved()
Returns the value of the Interleaved attribute.
void resetInterleaved()
Resets the Interleaved attribute to an unset state.
boolean hasInterleaved()
Checks whether the Interleaved attribute is present.
void setSignificantBits(PositiveInt_Type value, boolean validate)
Sets the value of the SignificantBits attribute.
void setSignificantBits(PositiveInt_Type value)
Sets the value of the SignificantBits attribute.
PositiveInt_Type getSignificantBits()
Returns the value of the SignificantBits attribute.
void resetSignificantBits()
Resets the SignificantBits attribute to an unset state.
boolean hasSignificantBits()
Checks whether the optional SignificantBits attribute is present.
void setBigEndian(boolean value, boolean validate)
Sets the value of the BigEndian attribute.
void setBigEndian(boolean value)
Sets the value of the BigEndian attribute.
boolean getBigEndian()
Returns the value of the BigEndian attribute.
void resetBigEndian()
Resets the BigEndian attribute to an unset state.
boolean hasBigEndian()
Checks whether the BigEndian attribute is present.
void setPlane_List(PlaneVector value, boolean validate)
Sets the list of Plane elements.
void setPlane_List(PlaneVector value)
Sets the list of Plane elements.
PlaneVector getPlane_List()
Returns the list of Plane elements.
void addToPlane_List(Plane value, boolean validate)
Adds a new Plane element to this object.
void addToPlane_List(Plane value)
Adds a new Plane element to this object.
void clearPlane_List()
Clear the list of Plane.
void setChannel_List(ChannelVector value, boolean validate)
Sets the list of Channel elements.
void setChannel_List(ChannelVector value)
Sets the list of Channel elements.
ChannelVector getChannel_List()
Returns the list of Channel elements.
void addToChannel_List(Channel value, boolean validate)
Adds a new Channel element to this object.
void addToChannel_List(Channel value)
Adds a new Channel element to this object.
void clearChannel_List()
Clear the list of Channel.
void setAdditionalDimensionMap(AdditionalDimensionMap value, boolean validate)
Sets the value of the AdditionalDimensionMap element.
void setAdditionalDimensionMap(AdditionalDimensionMap value)
Sets the value of the AdditionalDimensionMap element.
AdditionalDimensionMap getAdditionalDimensionMap()
Returns the value of the AdditionalDimensionMap element.
void resetAdditionalDimensionMap()
Resets the AdditionalDimensionMap element to an unset state.
boolean hasAdditionalDimensionMap()
Checks whether the optional AdditionalDimensionMap element is present.
void setpixels_choice(Pixels_Choice value, boolean validate)
Sets the value of the pixels_choice element.
void setpixels_choice(Pixels_Choice value)
Sets the value of the pixels_choice element.
Pixels_Choice getpixels_choice()
Returns the value of the pixels_choice element.
void resetpixels_choice()
Resets the pixels_choice element to an unset state.
boolean haspixels_choice()
Checks whether the optional pixels_choice element is present.
Pixels __internal_create(long cPtr, boolean own)
Pixels fromBase(NBOBaseClass base)
Cast a NBOBaseClass to a Pixels.

Protected Functions

Name
Pixels(long cPtr, boolean cMemoryOwn)
void swigSetCMemOwn(boolean own)
void finalize()
long getCPtr(Pixels obj)

Additional inherited members

Protected Functions inherited from com.inscoper.nbo.NBOBaseClass

Name
NBOBaseClass(long cPtr, boolean cMemoryOwn)

Detailed Description

public class com.inscoper.nbo.Pixels;

Represents the XML element Pixels.

The Pixels element is going to be removed in the future, but it is still required. This is just notice that the contents of Pixels will be moved up to Image in a future release. This is because there has only been 1 Pixels object in each Image for some time. The concept of multiple Pixels sets for one Image failed to take off. It is therefore redundant. The Image will be unreadable if any of the required Pixel attributes are missing. The Pixels themselves can be stored within the OME-XML compressed by Plane, and encoded in Base64. Or the Pixels may be stored in TIFF format. The Pixels element should contain a list of BinData or TiffData, each containing a single Plane of pixels. These Pixels elements, when read in document order, must produce a 5-D Pixel array of the size specified in this element, and in the dimension order specified by 'DimensionOrder'. All of the values in the Pixels object when present should match the same value stored in any associated TIFF format (e.g. SizeX should be the same). Where there is a mismatch our readers will take the value from the TIFF structure as overriding the value in the OME-XML. This is simply a pragmatic decision as it increases the likelihood of reading data from a slightly incorrect file.

Public Functions Documentation

function delete

function Pixels

function getTypeName

function getXMLName

function getNBOType

function getChildren

function getSubElements

function fromJsonFile

function fromJsonFile

function fromJsonString

function fromJsonString

function fromXmlFile

function fromXmlFile

function fromXmlString

function fromXmlString

function toXmlFile

function toXmlFile

function toXmlString

function toXmlString

function setID

function setID

function getID

function resetID

function hasID

function setDimensionOrder

function setDimensionOrder

function getDimensionOrder

function resetDimensionOrder

function hasDimensionOrder

function setSizeX

function setSizeX

function getSizeX

function resetSizeX

function hasSizeX

function setSizeY

function setSizeY

function getSizeY

function resetSizeY

function hasSizeY

function setSizeZ

function setSizeZ

function getSizeZ

function resetSizeZ

function hasSizeZ

function setSizeC

function setSizeC

function getSizeC

function resetSizeC

function hasSizeC

function setSizeT

function setSizeT

function getSizeT

function resetSizeT

function hasSizeT

function setPhysicalSizeX

function setPhysicalSizeX

function getPhysicalSizeX

function resetPhysicalSizeX

function hasPhysicalSizeX

function setPhysicalSizeXUnit

function setPhysicalSizeXUnit

function getPhysicalSizeXUnit

function resetPhysicalSizeXUnit

function hasPhysicalSizeXUnit

function setPhysicalSizeY

function setPhysicalSizeY

function getPhysicalSizeY

function resetPhysicalSizeY

function hasPhysicalSizeY

function setPhysicalSizeYUnit

function setPhysicalSizeYUnit

function getPhysicalSizeYUnit

function resetPhysicalSizeYUnit

function hasPhysicalSizeYUnit

function setPhysicalSizeZ

function setPhysicalSizeZ

function getPhysicalSizeZ

function resetPhysicalSizeZ

function hasPhysicalSizeZ

function setPhysicalSizeZUnit

function setPhysicalSizeZUnit

function getPhysicalSizeZUnit

function resetPhysicalSizeZUnit

function hasPhysicalSizeZUnit

function setTimeIncrement

function setTimeIncrement

function getTimeIncrement

function resetTimeIncrement

function hasTimeIncrement

function setTimeIncrementUnit

function setTimeIncrementUnit

function getTimeIncrementUnit

function resetTimeIncrementUnit

function hasTimeIncrementUnit

function setPixelType

function setPixelType

function getPixelType

function resetPixelType

function hasPixelType

function setInterleaved

function setInterleaved

function getInterleaved

function resetInterleaved

function hasInterleaved

function setSignificantBits

function setSignificantBits

function getSignificantBits

function resetSignificantBits

function hasSignificantBits

function setBigEndian

function setBigEndian

function getBigEndian

function resetBigEndian

function hasBigEndian

function setPlane_List

function setPlane_List

function getPlane_List

function addToPlane_List

function addToPlane_List

function clearPlane_List

function setChannel_List

function setChannel_List

function getChannel_List

function addToChannel_List

function addToChannel_List

function clearChannel_List

function setAdditionalDimensionMap

function setAdditionalDimensionMap

function getAdditionalDimensionMap

function resetAdditionalDimensionMap

function hasAdditionalDimensionMap

function setpixels_choice

function setpixels_choice

function getpixels_choice

function resetpixels_choice

function haspixels_choice

function __internal_create

function fromBase

Protected Functions Documentation

function Pixels

function swigSetCMemOwn

function finalize

function getCPtr