class_docstr: Filters Green and Gray channel of the image using an allowable object size, this pre-processing transform
  is specific towards NuClick training process. More details can be referred in this paper Koohbanani,
  Navid Alemi, et al. "NuClick: a deep learning framework for interactive segmentation of microscopic images."
  Medical Image Analysis 65 (2020): 101771.
  
  Args:
      min_size: The smallest allowable object size
      allow_missing_keys: don't raise exception if key is missing.
class_docstr_tok: ["Filters","Green","and","Gray","channel","of","the","image","using","an","allowable","object","size",",","this","pre-processing","transform","is","specific","towards","NuClick","training","process",".","More","details","can","be","referred","in","this","paper","Koohbanani",",","Navid","Alemi",",","et","al",".","``","NuClick",":","a","deep","learning","framework","for","interactive","segmentation","of","microscopic","images",".","''","Medical","Image","Analysis","65","(","2020",")",":","101771",".","Args",":","min_size",":","The","smallest","allowable","object","size","allow_missing_keys",":","do","n't","raise","exception","if","key","is","missing","."]
code: def filter(self, rgb):
      mask_not_green = self.filter_green_channel(rgb)
      mask_not_gray = self.filter_grays(rgb)
      mask_gray_green = mask_not_gray & mask_not_green
      mask = (
          self.filter_remove_small_objects(
              mask_gray_green, min_size=self.min_size
          )
          if self.min_size
          else mask_gray_green
      )
  
      return rgb * np.dstack([mask, mask, mask])
  
imports: from __future__ import annotations
  import math
  from typing import Any
  import numpy
  import torch
  from monai.config import KeysCollection, NdarrayOrTensor
  from monai.networks.layers import GaussianFilter
  from monai.transforms import MapTransform, Randomizable, SpatialPad
  from monai.utils import StrEnum, convert_to_numpy, optional_import
label_desc: Use image node_id 3 for calling the FilterImaged obj's underlying member method code with example usage: obj.filter(rgb) and returns: unknown