A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
How to copy image with given points?
au lai seong
Joined: Mar 06, 2011
Nov 01, 2011 23:42:21
How to copy/crop with given points? The number of point maybe more than 4.
Joined: Jul 25, 2011
Jan 08, 2012 21:22:22
What do you mean by points? The standard
classes just have one point, with an (x, y) location. Please be more specific.
Stephan van Hulst
Joined: Sep 20, 2010
Jan 09, 2012 08:05:47
I'm thinking the original poster wants to define a polygon, and create a new image that is the intersection of the original image and the polygon.
Take a look at the Graphics class. You can get an instance of it from an instance of Image.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How to copy image with given points?
singleton vs multiton data object
Same old question about clone(). How ???
is this strange
util for detecting given point is within given region/points(circle, rectangle...)
PolyLine or Polygon?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015