code: def test_fei_file_reading(test_images):
      fei_filename = test_images / "fei-sem-rbc.tif"
      reader = imageio.get_reader(fei_filename, format="fei")
      image = reader.get_data(0)  # imageio.Image object
      assert image.shape == (1024, 1536)
      assert np.round(np.mean(image)) == 142
      assert len(image.meta) == 18
      assert image.meta["EScan"]["PixelHeight"] == 7.70833e-009
      assert isinstance(image.meta["Image"]["ResolutionX"], int)
  
      image_with_watermark = reader.get_data(0, discard_watermark=False)
      assert image_with_watermark.shape == (1094, 1536)
      assert np.round(np.mean(image_with_watermark)) == 137
  
      assert reader.get_data(0, discard_watermark=False).shape == (
          1094,
          1536,
      )
  
imports: from __future__ import unicode_literals
  import pytest
  import numpy
  import imageio
label_desc: Use image node_id 1 for calling a global function with example usage: test_fei_file_reading(test_images) without return types