docstr: Crop into an ellipse using user-specified coordinates
docstr_tok: ["Crop","into","an","ellipse","using","user-specified","coordinates"]
code: def get_ellipse_cropping(self, workspace, orig_image):
      """Crop into an ellipse using user-specified coordinates"""
      x_center = self.ellipse_center.x
      y_center = self.ellipse_center.y
      x_radius = self.ellipse_x_radius.value
      y_radius = self.ellipse_y_radius.value
      d = self.get_dictionary(workspace.image_set_list)
      d[SH_ELLIPSE] = {
          EL_XCENTER: x_center,
          EL_YCENTER: y_center,
          EL_XRADIUS: x_radius,
          EL_YRADIUS: y_radius,
      }
      return self.apply_ellipse_cropping(workspace, orig_image)
  
imports: import logging
  import math
  import centrosome.filter
  import matplotlib.axes
  import matplotlib.cm
  import matplotlib.figure
  import matplotlib.patches
  import numpy
  from cellprofiler_core.image import Image
  from cellprofiler_core.module import Module
  from cellprofiler_core.preferences import get_primary_outline_color
  from cellprofiler_core.setting import Coordinates
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.range import IntegerOrUnboundedRange
  from cellprofiler_core.setting.subscriber import CropImageSubscriber
  from cellprofiler_core.setting.subscriber import ImageSubscriber
  from cellprofiler_core.setting.subscriber import LabelSubscriber
  from cellprofiler_core.setting.text import CropImageName
  from cellprofiler_core.setting.text import Integer
  from cellprofiler_core.utilities.image import crop_image
label_desc: Use image node_id 9 for calling the Crop obj's underlying member method code with example usage: obj.get_ellipse_cropping(workspace, orig_image) and returns: self