Declaration
procedure pyrDown(dst: TIEVisionImage); overload; safecall;
procedure pyrDown(); overload; safecall;
Description
Smooth an image and downsample it (halving its size).
First overload places the result into destination object.
Second overload updates the current image.
Size of the destination image wil be: new_width = (width+1)/2, new_height = (height+1)/2).
Parameter | Description |
dst | Container for the destination image |
Note: You cannot use pyrUp directly on a TImageEnView image, you must use
assignIEVisionImage to reflect this method's changes
| Demos\ImageEditing\EveryMethod\EveryMethod.dpr |
var
im: TIEVisionImage;
begin
ImageEnView1.IO.LoadFromFile('C:\input.jpg');
im := ImageEnView1.IEBitmap.GetIEVisionImage();
im.pyrDown();
ImageEnView1.IEBitmap.AssignIEVisionImage(im);
end;