class_docstr: Transformer for common image processing stages.
docstr: Center crops the image given the width and height.
  
  Args:
      height (int): The height to crop to (>= 0)
      width (int): The width to crop to (>= 0)
docstr_tok: ["Center","crops","the","image","given","the","width","and","height",".","Args",":","height","(","int",")",":","The","height","to","crop","to","(",">","=","0",")","width","(","int",")",":","The","width","to","crop","to","(",">","=","0",")"]
code: def centerCrop(self, height, width):
      """
      Center crops the image given the width and height.
  
      Args:
          height (int): The height to crop to (>= 0)
          width (int): The width to crop to (>= 0)
  
      """
      self._java_obj.centerCrop(height, width)
      return self
  
imports: import sys
  from typing import List
  import pyspark
  from pyspark import SparkContext
  from pyspark.ml.common import inherit_doc
  from pyspark.sql.types import *
  from pyspark.sql.types import Row, _create_row
  import numpy
  from synapse.ml.opencv._ImageTransformer import _ImageTransformer
  from pyspark.ml.common import inherit_doc
label_desc: Use image node_id 3 for calling the ImageTransformer obj's underlying member method code with example usage: obj.centerCrop(height, width) and returns: self