code: def __init__(
      self,
      _resampled_labels_img_,
      background_label,
      strategy,
      keep_masked_labels,
      mask_img,
  ):
      self._resampled_labels_img_ = _resampled_labels_img_
      self.background_label = background_label
      self.strategy = strategy
      self.keep_masked_labels = keep_masked_labels
      self.mask_img = mask_img
  
file_path: nilearn/nilearn/maskers/nifti_labels_masker.py
imports: import warnings
  import numpy
  from joblib import Memory
  from nilearn import _utils, image, masking
  from nilearn.maskers._utils import compute_middle_image
  from nilearn.maskers.base_masker import BaseMasker, _filter_and_extract
label_desc: Use image node_id 1 to create a new _ExtractionFunctor object  with example: obj = _ExtractionFunctor(_resampled_labels_img_, background_label, strategy, keep_masked_labels, mask_img)