static extern bool gimp_curves_spline(Int32 drawable_ID, HistogramChannel channel, int num_points, byte[] control_pts);
public void Levels(HistogramChannel channel, int low_input, int high_input, double gamma, int low_output, int high_output) { if (!gimp_levels(ID, channel, low_input, high_input, gamma, low_output, high_output)) { throw new GimpSharpException(); } }
public void Histogram(HistogramChannel channel, int start_range, int end_range, out double mean, out double std_dev, out double median, out double pixels, out double count, out double percentile) { if (!gimp_histogram(ID, channel, start_range, end_range, out mean, out std_dev, out median, out pixels, out count, out percentile)) { throw new GimpSharpException(); } }
public void CurvesSpline(HistogramChannel channel, CoordinateList<byte> controlPoints) { byte[] array = controlPoints.ToArray(); if (!gimp_curves_spline(ID, channel, array.Length, array)) { throw new GimpSharpException(); } }
static extern bool gimp_levels(Int32 drawable_ID, HistogramChannel channel, int low_input, int high_input, double gamma, int low_output, int high_output);
static extern bool gimp_histogram(Int32 drawable_ID, HistogramChannel channel, int start_range, int end_range, out double mean, out double std_dev, out double median, out double pixels, out double count, out double percentile);