ThrowImageException;
}
+void Magick::Image::meanShift(const size_t width_,const size_t height_,
+ const double color_distance_)
+{
+ MagickCore::Image
+ *newImage;
+
+ GetPPException;
+ newImage=MeanShiftImage(constImage(),width_,height_,color_distance_,
+ exceptionInfo);
+ replaceImage(newImage);
+ ThrowImageException;
+}
+
void Magick::Image::medianFilter(const double radius_)
{
MagickCore::Image
// Remap image colors with closest color from reference image
void map(const Image &mapImage_,const bool dither_=false);
+ // Delineate arbitrarily shaped clusters in the image.
+ void meanShift(const size_t width_,const size_t height_,
+ const double color_distance_);
+
// Filter image by replacing each pixel component with the median
// color in a circular neighborhood
void medianFilter(const double radius_=0.0);