Class AxesKey


  • public final class AxesKey
    extends Object
    Canonical serialization of an axes map (axisName -> position) to a deterministic string that is used as the key into all internal indices, following the approach in NDTiffStorage (sorted keys so ordering is irrelevant).

    Axis values may be Integer or String (matching NDTiff's format v3.2+).

    • Method Detail

      • serialize

        public static String serialize​(Map<String,​Object> axes)
        Serialize an axes map to a deterministic JSON string with sorted keys.
      • intValue

        public static int intValue​(Map<String,​Object> axes,
                                   String axis,
                                   int dflt)
        Return the integer value for an axis, or a default if absent/non-integer.