class_docstr: Converts a floating point observation into an unsigned int 8 bit observation. This is
  mostly useful for reducing memory consumption and is usually used for image observations. The filter will first
  spread the observation values over the range 0-255 and then discretize them into integer values.
code: def filter(
      self,
      observation: ObservationType,
      update_internal_state: bool = True,
  ) -> ObservationType:
      # scale to 0-1
      observation = (observation - self.input_low) / (
          self.input_high - self.input_low
      )
  
      # scale to 0-255
      observation *= 255
  
      observation = observation.astype("uint8")
  
      return observation
  
file_path: coach/rl_coach/filters/observation/observation_to_uint8_filter.py
imports: import numpy
  from rl_coach.core_types import ObservationType
  from rl_coach.filters.observation.observation_filter import ObservationFilter
  from rl_coach.spaces import ObservationSpace
label_desc: Use image node_id 3 for calling the ObservationToUInt8Filter obj's underlying member method code with example usage: obj.filter(observation, update_internal_state) and returns: observation