code: def to_mono_intensity(metadata: Dict[str, Any], **kwargs) -> float:
      return 0.0 if metadata["src_num_channels"] == 1 else 100.0
  
imports: from typing import Any, Callable, Dict, Optional, Tuple
  import numpy
label_desc: Use image node_id 20 for calling a global function with example usage: to_mono_intensity(metadata) and returns: unknown