docstr: Normalize label values according to label names dictionary
  
  Args:
      keys: The ``keys`` parameter will be used to get and set the actual data item to transform
      label_names: all label names
docstr_tok: ["Normalize","label","values","according","to","label","names","dictionary","Args",":","keys",":","The","``","keys","``","parameter","will","be","used","to","get","and","set","the","actual","data","item","to","transform","label_names",":","all","label","names"]
code: def __init__(
      self,
      keys: KeysCollection,
      label_names=None,
      allow_missing_keys: bool = False,
  ):
      """
      Normalize label values according to label names dictionary
  
      Args:
          keys: The ``keys`` parameter will be used to get and set the actual data item to transform
          label_names: all label names
      """
      super().__init__(keys, allow_missing_keys)
  
      self.label_names = label_names
  
imports: import copy
  import logging
  from typing import Dict, Hashable, Mapping
  import numpy
  import torch
  from monai.config import KeysCollection, NdarrayOrTensor
  from monai.transforms import CropForeground, GaussianSmooth, Randomizable, Resize, ScaleIntensity, SpatialCrop
  from monai.transforms.transform import MapTransform, Transform
label_desc: Use image node_id 1 to create a new NormalizeLabelsInDatasetd object from inherited base classes: MapTransform with example: obj = NormalizeLabelsInDatasetd(keys, label_names, allow_missing_keys)