Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2008, 01:51 PM
Member
 
Join Date: Nov 2007
Posts: 13
Rep Power: 0
shaungoater is on a distinguished road
Default Storing data permanently
I am writing a program that compares images. I need to permanently store the images along with some data for these images. What is the best way to do it. Can i use xml to store the images along with corresponding data. Or should i just store the images in a folder and have a text file with the path names of the images and their data which can be read in at startup. Any other ideas for solutions will be much appreciated.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 03-10-2008, 03:44 PM
Member
 
Join Date: Mar 2008
Posts: 3
Rep Power: 0
mindwarp is on a distinguished road
Default
I deal with 100's of images of human faces which I manipulate using java...

my experience leads me to:

1. how big are the images?
2. how many do you need to have in memory at a time?
3. dealing with many large images at the same time SLOWS down your system
4. have you looked at extracting "feature" information from the images instead of dealing with the complete images themselves? that way you can deal with less data...
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 03-10-2008, 05:18 PM
Member
 
Join Date: Nov 2007
Posts: 13
Rep Power: 0
shaungoater is on a distinguished road
Default
I was planning on having a number of images in my database which i can add more to and then run my program to extract rgb info from the image. Once this is done i do not need to access the image just the data. The idea is that i can find similar images using this data. So i only have to get the actual image file if it is a search result or the image being compared otherwise i am just comparing numerical data. Do you think it is better to have a folder of actual images and then an xml file or just a text file containing all the data. I was planning and setting the data up in some sort of tree format so that some images can be discarded before the search starts. For example if the image is predominantly blue then only compare it with other predominantly blue images.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Why import isnt needed whn ref is used without storing to local variable N_i_X Advanced Java 2 03-31-2008 06:11 AM
storing and retrieving a file as such anil_manu Advanced Java 0 03-11-2008 02:27 PM
Reading form inputStream and storing in ByteArray Java Tip Java Tips 0 11-27-2007 11:23 AM
Storing Data Khorod New To Java 1 08-03-2007 06:48 AM
Problem with storing and retrieving from a textfile Albert Advanced Java 1 07-13-2007 04:01 PM


All times are GMT +2. The time now is 05:31 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org