Re: ImagePlus into postgresql

Posted by Albert-5 on
URL: http://imagej.273.s1.nabble.com/Re-ImagePlus-into-postgresql-tp3705193.html

Hi all,

Finally it's working: I can save and read any ImagePlus as a Tiff file
into a PostgreSQL database using the JDBC driver. For stacks only the
first slice is read, but it could easily be adapted to save stacks in
full.
I gave up on using piped streams as these could not guarantee that the
stream was completely written when the database was attempting to use
it for saving the image (there the truncated images).

Find it here: http://www.pensament.net/java/other_plugins.html at the
very bottom.

Albert



Albert Cardona
Institute of Neuroinformatics     Tel : +41 1 635 3052
University/ETH Zurich             Fax : +41 1 635 3053
Winterthurerstrasse 190           acardona (at) ini phys ethz ch
Zurich 8057, Switzerland          www.ini.unizh.ch