Interface ProcessImageData

    • Field Detail

      • serialVersionUID

        static final long serialVersionUID
        Generated ID for serialisation.
        See Also:
        Constant Field Values
    • Method Detail

      • getType

        String getType()
        Gets the type of the image which is provided as byte[].
        Returns:
        The type of the image which is provided as byte[].
        See Also:
        ImageTypes
      • getImage

        byte[] getImage()
        Gets the binary data of the image represented as the appropriate image type.
        Returns:
        The image as binary data.
      • getImageSize

        Rectangle getImageSize()
        Gets the size of the image in pixels.
        Returns:
        The size of the image in pixels.
      • getNodeArea

        Map<Integer,​Rectangle> getNodeArea()
        Gets the areas in pixels where the nodes are located in the image. The index of the map is the corresponding node ID. If there are no nodes in the image, an empty map will be returned.
        Returns:
        The areas in pixels where the nodes are located in the image, indexed by the corresponding node ID.
      • getDataElementArea

        Map<Integer,​Rectangle> getDataElementArea()
        Gets the areas in pixels where the data elements are located in the image. The index of the map is the corresponding data element ID. If there are no data elements in the image, an empty map will be returned.
        Returns:
        The areas in pixels where the data elements are located in the image, indexed by the corresponding data element ID.