Loading up Images and Data

From CwWiki

Jump to: navigation, search

Prev: Starting up Corelyzer Home: Corelyzer Tutorial Next:Interacting and Annotating

Contents

Loading Data

Corelyzer loads data using the Corelyzer Data XML Schema. Data files can be loaded at anytime during the execution of the program. To do so you will need to choose the menu item under File -> Load Data and a file selection dialog will appear. Corelyzer data files are in XML and properly have a .xml extension appended to them.


Image:load_data_option.jpg
Bring up the file selection dialog by selecing "Load Data"
Once a data file is selected, the Corelyzer application will process the data and then update the Dataset and Fields list boxes. If you load up multiple data files, you can click on a dataset to view what fields were retrieved from the data file.
Image:data_loaded.jpg
Data file loaded and updated list boxes

Use Plain Text Data Import

In the case your data file is not in Corelyzer dataset XML schema yet, you can use the “Import Data…” feature under “File” menu to specify few parameters and have the program to convert your data file into Corelyzer dataset XML format. A user can convert a plain text tabular data file or a Geotek generated data (after pre-processing and data cleaning) to Corelyzer XML data format and directly imported into Corelyzer working session.

Several important parameters:

Image:ImportParam.png

Walkthrough screenshots with example dataset file can also be found in Corelyzer Data Import Wizard

Loading Images

Corelyzer by default visualizes core imagery by placing the image on a horizontal track. A track is just a way of grouping multiple section images. Before you can load an image in Corelyzer, you must first create a track. To create a track you must select the menu item File -> Create Track, after which you will be prompted to enter a name for a track. Once you do this the Track listbox in the main menu will update.


Image:create_track.png
Here we will name our track "Hole 1218 A"
Image:track_created.png
Our Track listbox is now updated
Again, tracks are just a way of grouping. Since we have nothing in our grouping/track then nothing in our visualization window will change. Now we add images so that way we can see something and have something to interact with. First, let's remember that our track is a horizontally oriented track, with an increasing depth as we go from left to right. This means we will need images that are horizontally oriented in such a way that they are increasing in depth from left to right. IODP images are vertical, with increasing depth as you go from top to bottom. Fortunately we have created a Corelyzer Plugin that makes use of CHRONOS webservices to access the JANUS database. The plugin is called the Chronos-Janus Plugin and will be discussed later. For now, we will assume that there are some images of core sections that are horizontally oriented, with an increasing depth from left to right. Great, but that is not all. We also have to make sure that your images have the correct dots-per-inch (DPI). Why does the DPI of the image matter? This is discussed in detail in Why is the Image DPI Important?. Now that we've established that the DPI of an image is important, how do you know what is the right DPI of your image? This all depends on the equipment in which the image was retrieved. Usually most line scan cameras that are manufactured for the creation of high resolution digital line scan images of core sections have this indicated in the advertisment of the scanner. Unfortunately, it seems that most of the scanners don't save off the correct DPI. There is a quick and dirty way of checking and making sure the DPI is correct in the section Making Sure the DPI of an Image is Correct. So now we will assume that the images are:
  • horizontally oriented
  • have an increasing depth from left to right
  • have the correct dots-per-inch (DPI)
To bring up our file selection dialog to tell Corelyzer which images to load, we need to select the menu item File -> Image.

Image Loading Dialog

Image:Imageloaddialog.png

The “Load Images with Properties” dialog will pop up and allow you to load the section images with properties like, rotate from vertical to horizontal, DPI, and starting depth (in meters) of the section image etc. The center of the dialog is an Excel-like table. You can double-click each cell to make your modifications. Also, you can use the bottom row (Rotation value, DPI value, Starting depth, and Depth increment) with the “Apply” button to make batch modification at one time. Click “OK” button when you are satisfied with the table content. These images then will start being loading.

Once completed the visualization window will display our imagery, and the Section listbox will update with the image filenames loaded on the Track. Notice in the image below that our image has a ruler in it, and that the ruler in the image closely matches the markers indicating depth at the bottom of the visualization window.

Image:core_in_vizwin.png
Core image loaded. Markers and ruler in image match closely

Prev: Starting up Corelyzer Home: Corelyzer Tutorial Next:Interacting and Annotating