Programs to convert X-ray diffraction image file formats to graphics file formats: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
=== Considerations and programs to convert X-ray diffraction images into a graphics file format ===
<nowiki>    The following information was compiled from a series of responses to a post on the CCP4bb on October 21, 2009 by Andrew Torelli who asked about free utilities/programs that could convert X-ray diffraction image file formats to a graphics file format that could be edited by programs such as Photoshop.  The specific responses are worthwhile to read and can be searched in the CCP4bb archives using the subject query "X-ray diffraction image --> .jpg".  The summary is below:
<nowiki>    The following information was compiled from a series of responses to a post on the CCP4bb on October 21, 2009 by Andrew Torelli who asked about free utilities/programs that could convert X-ray diffraction image file formats to a graphics file format that could be edited by programs such as Photoshop.  The specific responses are worthwhile to read and can be searched in the CCP4bb archives using the subject query "X-ray diffraction image --> .jpg".  The summary is below:
</nowiki>
</nowiki>
Line 9: Line 10:
Specific program suggestions:
Specific program suggestions:


- diff2jpeg - a CCP4 utility within the "DiffractionImage" library for handling different diffraction file formats. See: http://www.ccp4.ac.uk/html/DiffractionImage.html
* [http://www.ccp4.ac.uk/html/DiffractionImage.html|''diff2jpeg''] - a CCP4 utility within the "DiffractionImage" library for handling different diffraction file formats.


- idiffdisp - a CCP4 utility.  See also CCP4wiki page: http://ccp4wiki.org/~ccp4wiki/wiki/index.php?title=CCP4i_diffraction_image_display_%28idiffdisp%29
* [http://ccp4wiki.org/~ccp4wiki/wiki/index.php?title=CCP4i_diffraction_image_display_%28idiffdisp%29|''idiffdisp''] - a CCP4 utility.


- ipdisp - a CCP4 utility.  See also:
* [http://www.ccp4.ac.uk/dist/html/ipdisp.html|''ipdisp''] - a CCP4 utility.
http://www.ccp4.ac.uk/dist/html/ipdisp.html


- Mosflm has capability including control over gr[e|a]yscale.  See FAQ section for details.
* [http://www.mrc-lmb.cam.ac.uk/harry/mosflm/|''Mosflm''] has capability including control over grayscale.  See FAQ section for details.


- ADXV - reportedly easy to install and can save in TIFF format.  Also will save image to match coloring in view window: http://www.scripps.edu/~arvai/adxv.html
* [http://www.scripps.edu/~arvai/adxv.html|''ADXV''] - reportedly easy to install and can save in TIFF format.  Also will save image to match coloring in view window.  


- Marview - can be installed using Linux_glibc-2.3.3 (RedHat9, WS3, etc).  Just download it, unpack (gunzip marView.gz). See also http://www.marresearch.com/download.html#Utilities
* [http://www.marresearch.com/download.html#Utilities|''Marview''] - can be installed using Linux_glibc-2.3.3 (RedHat9, WS3, etc).  Just download it, unpack (gunzip marView.gz).  
     # chmod a+x marView
    first: chmod a+x marView
    a) to run the program from terminal:
      ./marView   
      or make an alias (.bashrc): alias marview=/home/user/Desktop/marview/./marView
     b) alternatively, place the program in the Desktop and just double-click to start it up.


    a) to run the program from terminal
* demo version of [http://www.rigaku.com/downloads/software/index.html#free|''d*TREK''] is freely available from Rigaku and has dtdisplay for this purpose.
    # ./marView    or


    # kate .bashrc:
* [http://cci.lbl.gov/labelit|''Labelit'']
        alias marview=/home/user/Desktop/marview/./marView
 
    b) alternativelly, place the program in the Desktop and just double-click to start it up.
 
- demo version of d*TREK is freely available from Rigaku and has dtdisplay for this purpose.
 
- Labelit - see http://cci.lbl.gov/labelit
     - labelit.png <filename> <output.png> [-large]
     - labelit.png <filename> <output.png> [-large]


- ImageMagick - part of most linux distros.  See also James Holton's helpful and detailed reply to my original post.
* [http://www.imagemagick.org/script/index.php|''ImageMagick''] - part of most linux distros.  See also [https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0910&L=CCP4BB&D=0&X=2FA4086DA38435B93C&Y=att29%40cornell.edu&P=196309|''James Holton's helpful and detailed reply''] made to the CCP4bb on October 21, 2009 to the original post.
     - convert -depth 16 -type Grayscale -colorspace GRAY -endian LSB -size 3072x3072+512 GRAY:test_0_001.img test_0_001.jpg
     - convert -depth 16 -type Grayscale -colorspace GRAY -endian LSB -size 3072x3072+512 GRAY:test_0_001.img test_0_001.jpg
5

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu