-
Help needed for image processing (school project)
Hi,
for a project in school I need to make a running program, partly in Java, to evaluate tissues by take a picture with a digital camera.
The idea is to take a picture (3038*2012 pixels) and transform the RGB values per pixel to a 3038*2012 matrix.
So matrix[0][0]= R+G+B value of upperleft pixel f.e.
But, I seem to come across an unexpected problem: reading the image file data...
The camera is a Nikon D70 and the only RAW file it supports is NEF (encoded by Nikon with no standard given available from nikon) -> almost impossible to retrieve the image data
Other possibility is to transform the file to a TIFF file... I've come across the JAI API from sun itself and the Lizardworks TIFF library but my knowledge about JAVA is too limited to use them properly. Could anyone help me on this plz?
Bottomline is: Load the TIFF (or maybe NEF if possible to retrieve data with library f.e.) --> Retrieve the RGB value per pixel --> store every pixel in a matrix so matrix (3038*2012) represents the RGB values of the picture
Tnx in advance
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