code: def perspective_transform_intensity(sigma: float, **kwargs) -> float:
      assert (
          isinstance(sigma, (float, int)) and sigma >= 0
      ), "sigma must be a non-negative number"
  
      max_sigma_val = 100
      sigma_intensity = sigma / max_sigma_val
      return min(sigma_intensity * 100.0, 100.0)
  
imports: from typing import Any, Dict, Optional, Union
  import numpy
  from augly.image import utils
  from PIL import Image
label_desc: Use image node_id 25 for calling a global function with example usage: perspective_transform_intensity(sigma) and returns: min