docstr: returns fitered list of imageData which are filtered according to input parameters
docstr_tok: ["returns","fitered","list","of","imageData","which","are","filtered","according","to","input","parameters"]
code: def getAllImageData(
      self,
      segmented=False,
      notSegmented=False,
      approved=False,
      flagged=False,
  ) -> List[ImageData]:
      """
      returns fitered list of imageData which are filtered according to input parameters
      """
      if self.invalidFilterCombination(
          segmented, notSegmented, approved, flagged
      ):
          logging.warning(
              "{}: Selected filter options are not valid: segmented='{}' | notSegmented='{}' | approved='{}' | flagged='{}')".format(
                  self.getCurrentTime(),
                  segmented,
                  notSegmented,
                  approved,
                  flagged,
              )
          )
          return None
  
      if (
          notSegmented is False
          and segmented is False
          and approved is False
          and flagged is False
      ):
          return [*self.nameToImageData.values()]
  
      selectedImageData = []
      for imagedata in self.nameToImageData.values():
          if (
              notSegmented is True
              and segmented is False
              and imagedata.isSegemented() is False
          ):
              selectedImageData.append(imagedata)
              continue
  
          if (
              imagedata.isSegemented() is segmented
              and imagedata.isApproved() is True
              and approved is True
          ):
              selectedImageData.append(imagedata)
              continue
  
          if (
              imagedata.isSegemented() is segmented
              # and imagedata.isApproved() is approved
              and imagedata.isFlagged() is True
              and flagged is True
          ):
              selectedImageData.append(imagedata)
              continue
  
      return selectedImageData
  
imports: import datetime
  import logging
  from typing import Dict, List
  from MONAILabelReviewerLib.ImageData import ImageData
  from MONAILabelReviewerLib.MONAILabelReviewerEnum import Level
label_desc: Use image node_id 19 for calling the ImageDataExtractor obj's underlying member method code with example usage: obj.getAllImageData(segmented, notSegmented, approved, flagged) and returns: selectedImageData, None, list