This module defines inrimage format

image.serial.inrimage.read_inriheader(filename)[source]

Read only the header of an inrimage

Parameters:
  • filename (str) - name of the file to read
image.serial.inrimage.read_inrimage(filename)[source]

Read an inrimage, either zipped or not according to extension

Parameters:
  • filename (str) - name of the file to read
image.serial.inrimage.write_inrimage(filename, img)[source]

Write an inrimage zipped or not according to the extension

Warning

if img is not a |SpatialImage|, default values will be used for the resolution of the image

Parameters:
  • img (|SpatialImage|) - image to write
  • filename (str) - name of the file to read

This Page