Hi Lucas,
There is a C++ library called DiffractionImage which may help with #3 if you get that far:
http://www.ccp4.ac.uk/newsletters/newsletter45/articles/DiffractionImage.html
If you get in touch with Francois Remacle I'm sure he'll send you everything you need.
Cheers,
Graeme
-----Original Message-----
From: CCP4 bulletin board [mailto:[log in to unmask]] On Behalf Of Lucas Bleicher
Sent: 30 May 2007 17:58
To: [log in to unmask]
Subject: [ccp4bb] I vs. 2theta plot, image processing
1) Some data collection and image processing files have the options to show the intensity distribution over a user-defined "line" in the image. Does any program allow one to trace a line from the beam center to the detector edge and save this intensity distribution to a file, so one could have I vs. 2theta data (or even a I vs. pixel data file, which could be easily converted to a I vs. 2theta file given the experimental setup)?
2) Is there a program which could convert image files from common 2D detectors (Mar345, MarCCD, RaxisII...) to a text file with the intensity on each pixel so one could easily write programs to do things such as in (1)?
3) If the answer to 2 is "No, you should learn how to handle binary files and image data formats", is there a tutorial on how to do this (I would prefer C/C++, but Fortran is OK), or some well-documented open source code I could study?
Thanks,
Lucas Bleicher
__________________________________________________
Fale com seus amigos de graça com o novo Yahoo! Messenger http://br.messenger.yahoo.com/
|