/// <summary> /// Initializes a new instance of the <see cref="EntropyCropProcessor{TPixel}"/> class. /// </summary> /// <param name="definition">The <see cref="EntropyCropProcessor"/>.</param> public EntropyCropProcessor(EntropyCropProcessor definition) { this.definition = definition; }
/// <summary> /// Initializes a new instance of the <see cref="EntropyCropProcessor{TPixel}"/> class. /// </summary> /// <param name="definition">The <see cref="EntropyCropProcessor"/>.</param> /// <param name="source">The source <see cref="Image{TPixel}"/> for the current processor instance.</param> /// <param name="sourceRectangle">The source area to process for the current processor instance.</param> public EntropyCropProcessor(EntropyCropProcessor definition, Image <TPixel> source, Rectangle sourceRectangle) : base(source, sourceRectangle) { this.definition = definition; }
/// <summary> /// Initializes a new instance of the <see cref="EntropyCropProcessor{TPixel}"/> class. /// </summary> /// <param name="configuration">The configuration which allows altering default behaviour or extending the library.</param> /// <param name="definition">The <see cref="EntropyCropProcessor"/>.</param> /// <param name="source">The source <see cref="Image{TPixel}"/> for the current processor instance.</param> /// <param name="sourceRectangle">The source area to process for the current processor instance.</param> public EntropyCropProcessor(Configuration configuration, EntropyCropProcessor definition, Image <TPixel> source, Rectangle sourceRectangle) : base(configuration, source, sourceRectangle) { this.definition = definition; }