class_docstr: Base depth anomalib dataset class.
  
  Args:
      task (str): Task type, either 'classification' or 'segmentation'
      transform (A.Compose): Albumentations Compose object describing the transforms that are applied to the inputs.
code: def __init__(self, task: TaskType, transform: A.Compose) -> None:
      super().__init__(task, transform)
  
      self.transform = transform
  
file_path: anomalib/src/anomalib/data/base/depth.py
imports: from __future__ import annotations
  from abc import ABC
  import albumentations
  import cv2
  import numpy
  from torch import Tensor
  from anomalib.data.base.dataset import AnomalibDataset
  from anomalib.data.task_type import TaskType
  from anomalib.data.utils import masks_to_boxes, read_depth_image, read_image
label_desc: Use image node_id 1 to create a new AnomalibDepthDataset object from inherited base classes: AnomalibDataset, ABC with example: obj = AnomalibDepthDataset(task, transform)