Students are expected to have already used UCSF Chimera to view their own data. This class will cover the typical workflow for creating a publication-quality image. The techniques may help you improve your interactive use of chimera, but that is not the focus of this class.
When you have everything setup just right, it's time to save your chimera session. There is a good chance you'll want to make modifications based on feedback from your colleagues or the journal. Or maybe you'll want to make a different sized picture of the same image.
Animations will be discussed in next weeks class.
|
|
|
| Converted to CMYK (US Web Coated SWOP v2) | Original RGB | |
| Image by Jeff Schewe | Image from Cadmus's Guidelines for Submitting RGB Digital Art | |
After you save the image with chimera, you should resave the image with an image editing program to embed a color profile into the image file (someday this will be automatically down for you). That color profile is then used together with your printer's color profile by the CMS to match the colors as well as possible (since the range of colors that monitors and printers produce (their color gamuts) are quite different).
Embedding a color profile is also good for emailing the picture to someone else so they will see similar colors on their calibrated monitor or printer. And newer web browsers use an image's color profile too (at this time, Apple's Safari, optionally in OmniWeb Mac, and optionally in Firefox 3). To see if your web browser supports color profiles, visit ICC profile checker.
To turn on Firefox's color profile support, go to the about:config web page and set gfx.color_management.enabled to true.
CMS software is well integrated into to Microsoft Windows and Mac OS X, with Linux slowly catching up.
One way of “fixing” the colors is to use a tool like Vischeck's Daltonize tool but that may alter the colors too much.
These abridged rules from http://jfly.iam.u-tokyo.ac.jp/html/color_blind/ will help too:
|
|
Start up chimera (the Aqua version on Mac OS X) and open a PDB file.
From the chimera User's Guide section on presets:
Publication presets are intended for generating images for presentation and publication. They do not change what items are displayed or their colors, but may change their styles and the color of the background. For example, choosing a preset with rounded ribbon or licorice will not turn on ribbon display, but will adjust any currently displayed ribbon segments; similarly, only the currently displayed atoms and bonds will be shown as sticks. Publication presets may decrease interactive performance because finer divisions are used to depict curved objects (molecular surfaces, ribbons, etc.).Presets are a shortcut for doing many operations at once. We will be going over the individual controls in the following sections.
Chimera's Save Image dialog has a myriad of options.
First choose the size and print resolution of your image based on the
journal's requirements.
Next choose whether or not to raytrace the image
with the POV-Ray program.
Raytracing provides better shadows and specular highlights,
but doesn't show silhouette edge enhancements.
If you're not raytracing, then make sure your Image Credits preferences is up-to-date with your name and copyright information, so it will be embedded in images saved directly by chimera. The description is optional. And you can also generate stereo pair images at twice the width given, as well as input images for a lenticular interlacing program. The default 3x3 supersampling can be reduced for lower quality “draft” images. For non-multisampled windows, you might want to increase it to 4x4, but in general, improvements from higher settings are not noticeable.
Journals have specific requirements for the images they accept.
The physical size of images is limited by the page size
and column width.
The resolution needed of images depends on the image type:
color, line-art (wireframe), or mixed/combination,
with color needed the lowest resolution and line-art the highest.
A color image with text in it is considered mixed.
Chimera can generate images at any resolution (limited by available memory)
so do what the journal asks.
Some journals ask for CMYK images. Since the conversion of RGB images (what chimera does) to CMYK is dependent on the inks and paper the printer uses, ask which CMYK standard the journal uses (e.g., US Web Coated SWOP v2 or Euroscale Coated v2), and use your image editing tool to convert the image. Photoshop also has a Proof Colors viewing mode that lets you see what the differences will be. If you are making the prints yourself, you can do similar proofing using the color profile of your printer.
Journals also frequently ask for all text to be in the Arial font. Chimera uses the Free Sans font from the Free UCS Outline fonts, instead of Arial (primarily because Arial is missing the Angstrom symbol). Both fonts are sans-serif fonts, so if a journal ever complains, please let us know.
The font size requirement is really a request that the text be readable at the printed image size. A point is 1/72 of an inch, so a 8 point font is 1/9 of an inch high. Chimera's font sizes are in pixels and they are scaled by the print resolution to maintain their relative size to the rest of the image. A future version of chimera will report the current font size in points in the Save Image dialog.
Journals also ask to be given TIFF files. For historical reasons, chimera saves uncompressed TIFF files, so you will need to use your image editing program and resave the image using compression. (Since the patent on the compression algorithm has expired, chimera may be modified now to save compressed TIFF files.) Since you should also use the image editing program to add a color profile , this is not as annoying as it could be.
Here are some journals and their requirements (as of July 2008):
Even though about 12 percent of people have problems seeing stereo,
a stereo image is very useful for communicating the spatial relationships
in your data.
Chimera has several alternatives for saving stereo images.
If you don't have any saturated colors (grayscale is best),
the simpliest way is to switch the camera mode to red-cyan (anaglyph) stereo
and save it that way.
The next best way is in the Save Image dialog to change the
image camera mode to stereo pair.
To generate a great stereo image, chimera needs to know the physical width of the image, the distance between the eyes, and the distance to the image. The distance to the image, the viewing distance, doesn't need to be exact because your brain can compensate very well, but it can't be far off. By default, chimera will adjust the field of view angle to keep the same viewing distance in the printed image. That will change the divergence between the left and right eye images.
The dashed line in the top Side View represents the focal plane — for stereo purposes that is also the plane of the screen. To get the right depth effects in stereo, you should switch the camera to a stereo mode for previewing and adjust the focal plane to be at the depth of what you're focusing on. Also be sure to eliminate objects that are sticking too far in or out of the screen because the eyes have a difficult time focusing on extremes.
The human eye is drawn to areas of high contrast. So you should reduce the contrast in unimportant areas of your image. That includes simplifying the representation, reducing the number of colors, and fading out unimportant sections either with transparency or less contrasting colors.
To see some of the possibilities, visit the Chimera gallery.
First let's review some of the chimera tools used to make your image. This information is also present in the chimera User's Guide Tips on Preparing Images.
Often overlooked are the backgroud preferences.
The important choices here are the background color
and the 3D label appearance.
If you want the defaults to be different, Save them.
|
While you can change colors with the Color (Actions) menu,
you have the most control over colors in chimera when you use the
Color Editor (Utilities) tool.
The color editor is shown whenever you pick the interior of a color well
in a dialog, e.g., the selection inspector,
or the model panel,
.
Picking the color well's border turns on
getting the color from the color editor.
The color editor provides several different color spaces in which to
describe a color: RGB, HLS, HSV, CMYK, and Gray.
The
HLS and HSV
color spaces are the easiest to pick distinct colors in.
![]() |
The color editor is also where you can specify transparent colors, by pressing the Opacity button and specifying the A, a.k.a. alpha, value. Zero alpha is fully transparent and one is fully opaque. For surfaces, there is a shortcut for setting transparency in the Actions menu.
Selecting No Color causes the the associated objects to revert to their default colors. For example, an atom with no color has the same color as its molecule.
In addition to the Color (Action) menu, there are several Depiction tools that can help: the Color Secondary Structure, Rainbow, and Color Zone, as well as Surface Color (Volume Data) offer different coloring schemes.
If you are having problems selecting appropriate colors for your images, you should visit a web site about color theory, such as Wikipedia's page on color theory. Another good resource is the ColorBrewer web site that helps you choose distinct colors for sequential, diverging, and qualitative comparisons.
|
|
|
|
While you are probably aware how to modify the representation of
a molecule with the Select and Action menus,
you are probably less aware of the Depiction tools
and their capabilities.
In particular,
the Per-Model Clipping and Surface Capping tools
are very useful for cutting away parts of surfaces.
Pipes and Planks and Nucleotides provide alternate
representations of secondary structure and nucleotides, respectively.
You can alter the ribbon cross section
with the Ribbon Style Editor.
And you can alter sizes and colors based on various attributes
with the Render by Attribute tool.
The unimportant parts of your image can be deemphasized by using a simplier representation for those parts.
For example, changing the representation can make a huge difference. The following two images are of a ribosomal subunit, PDB Id 1jj2. The left image is similar to one in the chimera image gallery with low resolution surfaces placed shown for the ribosomal RNA and each protein. The right image replaces the RNA surface with a RNA depiction.
|
|
| re-creation | emphasize the RNA-ness |
Nucleotides example:
|
|
| edged ribbon, box slab base | double diamond ribbon, custom slab base |
|
|
|
| normal | 30% transparent | 30% transparent, one layer |
A new feature of the lighting tool is the ability to change the quality of the lighting from normal to glossy. Glossy lighting uses a (slower) graphics technique to tighten the highlights and increase the opacity of edge on translucent surfaces, so there is less need to raytrace your images.
|
|
| basic lighting | shininess |
The Effects dialog provides many options.
|
|
| normal | shadow |
|
|
|
| depth cueing to background (normal) | depth cueing to black | no depth cueing |
|
|
| normal | silhouette |
|
|
| no multisampling | closeup |
|
|
| multisampling | closeup |
|
|
| normal | composite |
|
|
| normal | clipped |
|
|
| normal | ambient occlusion |
|
Another exercise for creating images with transparent backgrounds is here.