docstr: Use the convex hull transform to smooth the image
docstr_tok: ["Use","the","convex","hull","transform","to","smooth","the","image"]
code: def smooth_with_convex_hull(self, pixel_data, mask):
      """Use the convex hull transform to smooth the image"""
      #
      # Apply an erosion, then the transform, then a dilation, heuristically
      # to ignore little spikey noisy things.
      #
      image = centrosome.cpmorphology.grey_erosion(pixel_data, 2, mask)
      image = centrosome.filter.convex_hull_transform(image, mask=mask)
      image = centrosome.cpmorphology.grey_dilation(image, 2, mask)
      return image
  
imports: import centrosome.bg_compensate
  import centrosome.cpmorphology
  import centrosome.cpmorphology
  import centrosome.filter
  import centrosome.smooth
  import numpy
  import scipy.ndimage
  import skimage.filters
  from cellprofiler_core.image import AbstractImage
  from cellprofiler_core.image import Image
  from cellprofiler_core.measurement import Measurements
  from cellprofiler_core.module import Module
  from cellprofiler_core.pipeline import Pipeline
  from cellprofiler_core.setting import Binary
  from cellprofiler_core.setting import ValidationError
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.subscriber import ImageSubscriber
  from cellprofiler_core.setting.text import Float
  from cellprofiler_core.setting.text import ImageName
  from cellprofiler_core.setting.text import Integer
label_desc: Use image node_id 15 for calling the CorrectIlluminationCalculate obj's underlying member method code with example usage: obj.smooth_with_convex_hull(pixel_data, mask) and returns: image