Class ResizeCanvas
Represents an operator that resizes the border around each image in the sequence without stretching the image.
public class ResizeCanvas : Transform<IplImage, IplImage>
- Inheritance
-
ResizeCanvas
- Inherited Members
Properties
BorderType
Gets or sets a value specifying the type of border to create around the output image.
public IplBorder BorderType { get; set; }
Property Value
FillValue
Gets or sets the value to which constant border pixels will be set to.
public Scalar FillValue { get; set; }
Property Value
Offset
Gets or sets the optional top-left coordinates where the source image will be placed.
[TypeConverter(typeof(NumericRecordConverter))]
public Point? Offset { get; set; }
Property Value
Size
Gets or sets the size of the output image.
public Size Size { get; set; }
Property Value
Methods
Process(IObservable<IplImage>)
Resizes the border around each image in an observable sequence without stretching the image.
public override IObservable<IplImage> Process(IObservable<IplImage> source)
Parameters
source
IObservable<IplImage>The sequence of images for which to resize the border.
Returns
- IObservable<IplImage>
A sequence of images with the specified border size.