class_docstr: Template class for volumetric (3D/4D) images
class_docstr_tok: ["Template","class","for","volumetric","(","3D\/4D",")","images"]
docstr: Slicer object that returns cropped and subsampled images
  
  The image is resliced in the current orientation; no rotation or
  resampling is performed, and no attempt is made to filter the image
  to avoid `aliasing`_.
  
  The affine matrix is updated with the new intercept (and scales, if
  down-sampling is used), so that all values are found at the same RAS
  locations.
  
  Slicing may include non-spatial dimensions.
  However, this method does not currently adjust the repetition time in
  the image header.
  
  .. _aliasing: https://en.wikipedia.org/wiki/Aliasing
docstr_tok: ["Slicer","object","that","returns","cropped","and","subsampled","images","The","image","is","resliced","in","the","current","orientation",";","no","rotation","or","resampling","is","performed",",","and","no","attempt","is","made","to","filter","the","image","to","avoid","`","aliasing","`","_",".","The","affine","matrix","is","updated","with","the","new","intercept","(","and","scales",",","if","down-sampling","is","used",")",",","so","that","all","values","are","found","at","the","same","RAS","locations",".","Slicing","may","include","non-spatial","dimensions",".","However",",","this","method","does","not","currently","adjust","the","repetition","time","in","the","image","header",".","..","_aliasing",":","https",":","\/\/en.wikipedia.org\/wiki\/Aliasing"]
code: def slicer(self: SpatialImgT) -> SpatialFirstSlicer[SpatialImgT]:
      """Slicer object that returns cropped and subsampled images
  
      The image is resliced in the current orientation; no rotation or
      resampling is performed, and no attempt is made to filter the image
      to avoid `aliasing`_.
  
      The affine matrix is updated with the new intercept (and scales, if
      down-sampling is used), so that all values are found at the same RAS
      locations.
  
      Slicing may include non-spatial dimensions.
      However, this method does not currently adjust the repetition time in
      the image header.
  
      .. _aliasing: https://en.wikipedia.org/wiki/Aliasing
      """
      return self.ImageSlicer(self)
  
imports: from __future__ import annotations
  import io
  import typing
  from collections.abc import Sequence
  from typing import Literal
  import numpy
  from .arrayproxy import ArrayLike
  from .casting import sctypes_aliases
  from .dataobj_images import DataobjImage
  from .filebasedimages import FileBasedHeader, FileBasedImage
  from .fileholders import FileMap
  from .fileslice import canonical_slicers
  from .orientations import apply_orientation, inv_ornt_aff
  from .viewers import OrthoSlicer3D
  from .volumeutils import shape_zoom_affine
label_desc: Use image node_id 9 for calling the SpatialImage obj's underlying member method code with example usage: obj.slicer() and returns: self