Visualizer
            visualizer
#
    3DSliceImages: Efficiently generate and store 2D slices from a 3D SimpleITK image.
Functions:
| Name | Description | 
|---|---|
view_multiple_SliceImage3DObjects | 
              
                 This is a grand view to help when you want to view multiple  | 
            
            SliceImage3D
  
      dataclass
  
#
SliceImage3D(
    image: SimpleITK.Image,
    mask: SimpleITK.Image | None = None,
    alpha: float = 0.2,
    disable_progress: bool = False,
)
Generates 2D slices from a 3D SimpleITK image and optionally overlays a mask.
Methods:
| Name | Description | 
|---|---|
generate_dim_slices | 
              
                 Generate 2D slices along a given dimension, optionally overlaying the mask.  | 
            
            generate_dim_slices
#
generate_dim_slices(
    dim: int, every_n: int = 5
) -> imgtools.vizualize.visualizer.SliceImage3D
Generate 2D slices along a given dimension, optionally overlaying the mask.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
                               | 
            
                  int
             | 
            
               The dimension along which to generate slices (0, 1, or 2).  | 
            required | 
                               | 
            
                  int
             | 
            
               Generate a slice every   | 
            
                  5
             | 
          
Source code in src/imgtools/vizualize/visualizer.py
              
            view_multiple_SliceImage3DObjects
#
view_multiple_SliceImage3DObjects(
    *args: tuple[
        str, imgtools.vizualize.visualizer.SliceImage3D
    ]
) -> None
This is a grand view to help when you want to view multiple
pass in all of them, with generate_dim_slices already called ALL of them MUST have the same number of slices this will then use a SINGLE slider, to view and iterate over all of them