Ejemplo n.º 1
0
 static extern bool gimp_curves_spline(Int32 drawable_ID,
     HistogramChannel channel,
     int num_points,
     byte[] control_pts);
Ejemplo n.º 2
0
 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();
     }
 }
Ejemplo n.º 3
0
 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();
     }
 }
Ejemplo n.º 4
0
        public void CurvesSpline(HistogramChannel channel, CoordinateList<byte>
            controlPoints)
        {
            byte[] array = controlPoints.ToArray();

              if (!gimp_curves_spline(ID, channel, array.Length, array))
            {
              throw new GimpSharpException();
            }
        }
Ejemplo n.º 5
0
 static extern bool gimp_levels(Int32 drawable_ID,
     HistogramChannel channel,
     int low_input,
     int high_input,
     double gamma,
     int low_output,
     int high_output);
Ejemplo n.º 6
0
 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);