source: sasview/src/sas/sasgui/perspectives/calculator/media/image_viewer_help.rst @ e870702

ticket-1094-headless
Last change on this file since e870702 was 412e9e8b, checked in by butler, 7 years ago

Fix viewer documentation

Replaced the three images for the image_viewer_help.rst with new ones
that reflect the latest features. Also replaced the bmp with png.
Finaly added a comment in the image_viewer.py code noting the close
error generated by PIL (for any non png images). This should complete
the work on this branch.

  • Property mode set to 100644
File size: 1.6 KB

Image Viewer Tool

Description

This tool loads image files and displays them as 2D (x-y coordinate against counts per pixel). The plot can then can be saved, printed, and copied. The plot can also be resized by dragging the corner of the panel.

The supported input image formats are:

  • BMP (bitmap format)
  • GIF (graphical interchange format)
  • JPG (joint photographic experts group format)
  • PNG (portable network graphics format)
  • TIF (tagged image format)

Using the tool

  1. Select Image Viewer from the Tool menu on the SasView toolbar.
  2. Select a file and then click Open. If the loading is successful the image will be displayed.
load_image.png
  1. To save, print, or copy the image, or to apply a grid overlay, right-click anywhere in the plot.
pic_plot.png
  1. If the image is taken from a 2D detector, SasView can attempt to convert the colour/grey scale into pseudo-intensity 2D data using

    z = (0.299 x R) + (0.587 x G) + (0.114 x B)

    unless the image is formatted as 8-bit grey-scale TIF.

  2. In the Convert to Data dialog, set the parameters relevant to the data and then click the OK.

pic_convert.png

Note

This help document was last changed by Steve King, 01May2015

Note: See TracBrowser for help on using the repository browser.