code: def image(self):
      if self._image is not None:
          return self._image
      else:
          _image = self.read_image()
          _image = np.array(
              Image.fromarray(_image).resize(
                  self.tgt_size[::-1], self.sampling
              )
          )
          return _image
  
imports: import os
  import abc
  import numpy
  import imageio
  import PIL
  from PIL import Image
label_desc: Use image node_id 2 for calling the ResizedCapturedImage obj's underlying member method code with example usage: obj.image() and returns: self, _image