public class ImageWarper extends Object
Name: ImageWarper
Description: Warper module for ImageGrabber using JAI.
Comment: This additional module requires JAI lib http://download.java.net/media/jai/builds/release/1_1_3/ You can download native lib of JAI, you can get more higher speed of calculating, but you can run image-grabber without native lib with slower speed.
Copyright: Copyright (c) 2019
Company: >StA-Soft<
| Constructor and Description |
|---|
ImageWarper() |
| Modifier and Type | Method and Description |
|---|---|
com.sta.mimages.ImageWarper.WarpResult |
execWarpFromRect(BufferedImage bufImage,
Point p0,
Point p1,
Point p2,
Point p3)
Execute the operation of WARP from rectangle image.
|
com.sta.mimages.ImageWarper.WarpResult |
execWarpToRect(BufferedImage bufImage,
Point p0,
Point p1,
Point p2,
Point p3,
int destRectWidth,
int destRectHeight)
Construct rectangle image from cropped area that was specified by
supplied points by WARP operation.
|
public com.sta.mimages.ImageWarper.WarpResult execWarpToRect(BufferedImage bufImage, Point p0, Point p1, Point p2, Point p3, int destRectWidth, int destRectHeight)
bufImage - Bufferd-Imagep0 - the point of the corner no.0(upper,left)p1 - the point of the corner no.1(upper,right)p2 - the point of the corner no.2(bottom,right)p3 - The point of the corner no.3(bottomleft)destRectWidth - Ziel-Rechteck-BreitedestRectHeight - Ziel-Rechteck-Höhepublic com.sta.mimages.ImageWarper.WarpResult execWarpFromRect(BufferedImage bufImage, Point p0, Point p1, Point p2, Point p3)
bufImage - Buffered-Imagep0 - The point of the corner no.0(upper,left)p1 - The point of the corner no.1(upper,right)p2 - The point of the corner no.2(bottom,right)p3 - The point of the corner no.3(bottomleft)Copyright © 2005-2023–2024 >StA-Soft<. All rights reserved.