class_docstr: Transformer for common image processing stages.
docstr: Crops the image given the starting x,y coordinates
  and the width and height
  
  Args:
      x (int): The initial x coordinate (>=0)
      y (int): The initial y coordinate (>=0)
      height (int): The height to crop to (>=0)
      width (int): The width to crop to (>=0)
docstr_tok: ["Crops","the","image","given","the","starting","x",",","y","coordinates","and","the","width","and","height","Args",":","x","(","int",")",":","The","initial","x","coordinate","(",">","=0",")","y","(","int",")",":","The","initial","y","coordinate","(",">","=0",")","height","(","int",")",":","The","height","to","crop","to","(",">","=0",")","width","(","int",")",":","The","width","to","crop","to","(",">","=0",")"]
code: def crop(self, x, y, height, width):
      """
      Crops the image given the starting x,y coordinates
      and the width and height
  
      Args:
          x (int): The initial x coordinate (>=0)
          y (int): The initial y coordinate (>=0)
          height (int): The height to crop to (>=0)
          width (int): The width to crop to (>=0)
  
      """
      self._java_obj.crop(x, y, 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 2 for calling the ImageTransformer obj's underlying member method code with example usage: obj.crop(x, y, height, width) and returns: self