Quote: "Anyway, as part of my PhD research I also have to sift through data and in this case the software I am using is outputting a certain image (from a database) based on the result of a simulation. I would now like use each output as in input to another simulation without having to record each one individually manually (basically, the simulation outputs me an image symbolising one of the 12 different possible outcomes... "
Well, if the image is actually being extracted (output) from a database, then it has an index of some sort. This index would be your identifier of the image that you could feed back into the other simulation.
pseudo code for a random selection of images:
image=random(12) : rem where 12 is the maximum possible image number
with image
select from database image filename
load image filename,image : rem load into DB Pro
paste image screenx,screeny
rem use image index for second database
write image number to second database index
The databases can be simple delimited text files. The actual images are already stored on disk. You reference everything through DB pro, pulling an image number and file name reference from database 1 and saving that to database 2 in a similar convention.
Just a thought
Enjoy your day.