Chad Matsalla wrote: > > Nicklas wrote: >> Nice work! It seems like you have spent some time on this. > > I certainly have. JAI isn't exactly intuitive.
No, it isn't. > >> Do you have some code and/or images that can be useful for us? > > I certainly do. I basically check to see if the user provided one and only > one image and if so call 'loadMultiImageTiff' with the indices of the > desired images: > (in SpotImages.mergeColorImages()) : > HashMap<String,RenderedOp> images = loadMultiTiff(red,index_635,index_532); > sourceImages[0] = images.get("635"); > sourceImages[1] = images.get("532"); This means nothing to me. Exactly where is this code located? Where can I find the loadMultiTiff() method? Does it still work if you have separate images for the two channels? For the code to be useful I need something I can put in and compile without having to redo things that you probably already have done. A diff would probably work. > I'll clean up my code this weekend. Would you like me to send you a diff of > some sort? I wrote a Test class based on yours and heavily altered (in > parts) SpotImages.java. > > I certainly have data I can 'lend' you for testing (please email for a url). > I'll also ask the Molecular Devices people for a dataset that we can put > into the svn for testing.[1] It would be nice to have an image and some raw data with it. It doesn't have to be a complete file. Remove all headers (except those needed for the spot image creation) if you like. We have a locked repository for test data that we aren't allowed to share. > >> I think that adding parameters for which image to use in a multi-image TIFF >> should be easy to implement. This can be done earliest at the 2.4 release. > > Great. > > Another point: > The 'zip' that contains spot images isn't a zip. It looks like a zip, but > this[2] is what I see when I try to open it in osx. Can you provide a hint > as to how to open it? It seems like you are right. All programs I have tried to use also fail to open the zip file. I know that it has worked before so something is probably broken, except that Java seems to not have the same problems. /Nicklas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ The BASE general discussion mailing list basedb-users@lists.sourceforge.net unsubscribe: send a mail with subject "unsubscribe" to [EMAIL PROTECTED]