Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2008, 02:51 PM
Member
 
Join Date: Nov 2007
Posts: 13
shaungoater is on a distinguished road
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
Sponsored Links
  #2 (permalink)  
Old 03-10-2008, 04:44 PM
Member
 
Join Date: Mar 2008
Posts: 3
mindwarp is on a distinguished road
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, 06:18 PM
Member
 
Join Date: Nov 2007
Posts: 13
shaungoater is on a distinguished road
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
Sponsored Links
Reply


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

vB 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 07:11 AM
storing and retrieving a file as such anil_manu Advanced Java 0 03-11-2008 03:27 PM
Reading form inputStream and storing in ByteArray Java Tip Java Tips 0 11-27-2007 12:23 PM
Storing Data Khorod New To Java 1 08-03-2007 07:48 AM
Problem with storing and retrieving from a textfile Albert Advanced Java 1 07-13-2007 05:01 PM


All times are GMT +3. The time now is 09:17 AM.


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