class_docstr: Image processor for VAE LDM3D.
  
  Args:
      do_resize (`bool`, *optional*, defaults to `True`):
          Whether to downscale the image's (height, width) dimensions to multiples of `vae_scale_factor`.
      vae_scale_factor (`int`, *optional*, defaults to `8`):
          VAE scale factor. If `do_resize` is `True`, the image is automatically resized to multiples of this factor.
      resample (`str`, *optional*, defaults to `lanczos`):
          Resampling filter to use when resizing the image.
      do_normalize (`bool`, *optional*, defaults to `True`):
          Whether to normalize the image to [-1,1].
class_docstr_tok: ["Image","processor","for","VAE","LDM3D",".","Args",":","do_resize","(","`","bool","`",",","*","optional","*",",","defaults","to","`","True","`",")",":","Whether","to","downscale","the","image","'s","(","height",",","width",")","dimensions","to","multiples","of","`","vae_scale_factor","`",".","vae_scale_factor","(","`","int","`",",","*","optional","*",",","defaults","to","`","8","`",")",":","VAE","scale","factor",".","If","`","do_resize","`","is","`","True","`",",","the","image","is","automatically","resized","to","multiples","of","this","factor",".","resample","(","`","str","`",",","*","optional","*",",","defaults","to","`","lanczos","`",")",":","Resampling","filter","to","use","when","resizing","the","image",".","do_normalize","(","`","bool","`",",","*","optional","*",",","defaults","to","`","True","`",")",":","Whether","to","normalize","the","image","to","[","-1,1","]","."]
docstr: Args:
      image: RGB-like depth image
  
  Returns: depth map
docstr_tok: ["Args",":","image",":","RGB-like","depth","image","Returns",":","depth","map"]
code: def rgblike_to_depthmap(image):
      """
      Args:
          image: RGB-like depth image
  
      Returns: depth map
  
      """
      return image[:, :, 1] * 2**8 + image[:, :, 2]
  
imports: import warnings
  from typing import List, Optional, Union
  import numpy
  import PIL.Image
  import torch
  from PIL import Image
  from .configuration_utils import ConfigMixin, register_to_config
  from .utils import CONFIG_NAME, PIL_INTERPOLATION, deprecate
label_desc: Use image node_id 3 for calling the VaeImageProcessorLDM3D obj's underlying member method code with example usage: obj.rgblike_to_depthmap(image) and returns: unknown