Class OptimizedImageHDU


public class OptimizedImageHDU extends ImageHDU
Optimized version of ImageHDU that uses Panama-based native reader for zero-copy access.
Since:
1.1
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • OptimizedImageHDU

      public OptimizedImageHDU(Header header)
  • Method Details

    • asNativeRealDoubleMatrixStorage

      public NativeRealDoubleMatrixStorage asNativeRealDoubleMatrixStorage(Path path, Arena arena) throws IOException
      Reads image data directly into a NativeRealDoubleMatrixStorage using cfitsio.
      Parameters:
      path - the path to the FITS file
      arena - the arena for the result matrix
      Returns:
      the native matrix containing image data
      Throws:
      IOException - if an error occurs