-
problem in region of interest selection in an image
hiii everybody...
my project is on image processing where i have to display two images, select region of interest in both the images and then show the percentage of matching of the selected region...so can anyone help me out plss...
the problem lies in displaying both the images in different window using filechooser and then selecting region of interest in both the sample images.....
if anyone could help me out plsssssss.....especially in region of interest selection.......
-
For displaying image(s) make a JPanel extension and override the
paintComponent(Graphics g) -method, load the image first and draw it in this method. The selection of a region should be done by detecting mouseclicking/dragging via a MouseListener and a MouseMotionListener. If a simple rectangular selection is not enough you should look into the classes that extend the Shape -interface.
For selecting a region of a displayed image use java.awt.CropImageFilter.
eschew obfuscation
Similar Threads
-
By syntax_error0 in forum Java
Replies: 1
Last Post: 02-06-2006, 01:33 AM
-
Replies: 0
Last Post: 01-31-2002, 06:52 AM
-
Replies: 0
Last Post: 09-13-2001, 04:29 PM
-
By MacDeath in forum VB Classic
Replies: 2
Last Post: 02-14-2001, 05:44 AM
-
By Rohit Mediratta in forum ASP.NET
Replies: 1
Last Post: 03-31-2000, 01:57 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks