Images

Becca Haynes
University of Georgia, Athens
10 October 2002

Under construction

Discover Life | Education | Training Guides | Images
Overview

This page will help you to get your photographed specimens from the camera to the web page.

Index
Basic Steps

  1. Import the Images from the Nikon D1
  2. Move Images to their correct directory
  3. Rename Images
  4. Copy Images
  5. Modify Images
  6. Build Images

Index
Moving Images

Before doing anything to your images, you should make sure that they are put in the proper directory to avoid confusion.
Once you have imported your images:

  • If you type cd butter or cd bees into a new shelltool, you should automatically be taken to the images directory for butterflies or bees.
  • Once you are in the images directory of your choice, the images will be under another directory named 100_NC.
    This is a temporary directory, so always rename or delete the directory before importing any more images.
    The images will be named numerically, like DSC_0002.JPG.
  • You will type the command mv to move the images to another directory.
    For instance, you may type mv DSC_0002.JPG ../../Coliadinae/Phoebis/sennae/images/UGCA/UGCA196251.
  • For each specimen there will be a similar path narrowing down from family, for instance above you have /Coliadinae(sub-family)/Phoebis(genus)/sennae(species)/images/UGCA/UGCA196251.
    Each species will have an images, UGCA, and specific UGCAnumber directory.
    Your original images will always be located in the UGCAnumber directory of the correct individual specimen.
  • You will also need to rename your images from DSC_0002.JPG to, for instance, UGCA196251_01.male_top.2000.jpg.
    Thus, assigning the UGCAnumber, the image number (pose 1 or 2), sex of the specimen (if known), the type of pose (like top or bottom for butterflies),
    and the resolution size (all originals are 2000).
NOTE: Learn more about UNIX commands.

Index
Copying

Before modifying images, you should always make a copy. Therefore you will always have the original of the image saved in
the UGCAnumber directory of the specimen. The modified images that will be displayed on the web page will be in the images directory.

  • You will use the UNIX command cp to make a copy of the image.
  • When copying an image, you must always specify a location.
    For instance, I would type cp UGCA196251_01.male_top.2000.jpg UGCA.
    This would mean that I am making a copy of the image in the UGCAnumber directory, that will be placed in the directory above, UGCA.
    Thus, you are typing: copy image location.

Index
Modifying Images

Now that you have renamed and copied your image, you are ready to modify it!

  • To look at your image, and modify it, type display and then the name of your image.
    So, you would type display UGCA196251_01.male_top.2000.jpg.
  • This command will bring up your image in the program ImageMagick.
    Use your Pan Icon to see all parts of the image.
  • If you left click your mouse anywhere in ImageMagick, the menu will appear.
    Under the Transform menu, you will select Crop.
    Crop the image to your discretion, just don't cut of any of the specimen or give too much space on the sides.
    We also try to make each pose of the butterfly the same size as the other.
  • You will also need to Sharpen the image.
    By clicking on the Effects menu, you will choose Sharpen.
    You will not need to change the degree, just click Sharpen again.
  • Once you have cropped and sharpened your image, you should save it.
    Under the File menu, you will select Save.
    For simplicity, just click save, yes, or ok for every window that comes up.
  • Once you are back in your shelltool, you need to rename your new, modified image.
    To find out the new resolution size, type identify -ping UGCA196251_01.male_top.2000.jpg.
    Once it has told your the resolution size, rename your image using the new size.
    For instance, you would now type mv UGCA196251_01.male_top.2000.jpg UGCA196251_01.male_top.1750.jpg.
    Now you will be able to tell between the modified and original version of your image.
  • Now move your new image to the images directory to be built.
    You will type, for instance, mv UGCA196251_01.male_top.1750.jpg ... Therefore you will move your image from the UGCA directory to the images directory.

Index
Building Images

This is the last and final step. Now that your image, or images, are in the images directory, you can build them.

  • If you only want to build one specific image, for example, type build_images UGCA196251_01.male_top.1750.jpg.
  • If you would like to build more than one image, you would simply type build_images all.
    This will build all of the images in the directory.
  • You must always have the images in the images directory if you want them to show up on the web page!

Discover Life | Education | Training Guides | Images

Last updated: 10 October 2002