|SKIP AHEAD TO|
|Create an Action Definition|
|Assign Attribute to an Imagery Type|
|Assign Image Action to a Workspace|
|Select One or more Collections|
|Extract Dominant Colour from Images|
|Export the Extracted Colour Attributes|
There are a several steps to follow to extract the dominant colour from images on the Imago Portal. In summary these are :
- Create an Attribute Definition.
- Create an Action Definition.
- Assign Attribute to an Imagery Type.
- Assign Image Action to a Workspace.
- Select One or more Collections.
- Extract Dominant Colour from Images.
- Export the Extracted Colour Attributes.
- Import the Dominant Colour Attributes into Leapfrog.
If you are unfamiliar with the data hierarchy within Imago, click here.
Putting these steps together:
1. Create an Attribute Definition
- In My Workspaces>Definitions>Attributes, click Attribute Definitions:
- To create a new Attribute Definition, scroll to the bottom of the list of definitions and enter a name for the new definition:
- Two Attribute Types have been defined for the Coreboxes Color Attribute (to add a new Attribute Type, provide a name in the highlighted location):
- Both Attribute Types are set to Colour (Corebox Color Attribute Dry shown here):
These Attribute Types will hold the extracted Colour.
Before moving to the next step, copy the Attribute Type Name (Corebox Color Attribute Dry in the above). This will become clear in the next step.
2. Create an Action Definition
Now that an Attribute has been defined as a Colour Type an Action Definition needs to be created which will perform the dominant colour extraction which will save this colour to the attributes created earlier.
- Click Action Definitions:
- In this example, two have already been created (one each for wet and dry core):
To create a new Action Definition, scroll to the bottom of the list of definitions and enter a name for the new definition.
- Focussing on Coreboxes Color Extraction Dry. When clicked, the Action Definition looks like this:
- After clicking the CoreboxColor Dry action, the Action Type can be defined by entering the name to add the colour attribute. In the previous section, the Attribute Name was copied to the clipboard (Corebox Color Attribute Dry). This should be pasted (At this stage, there is no dropdown box to select this). The Action Type Name (CoreboxColor Dry) has already been created. This will later be used to extract the Dominant Colour:
3. Assign Attribute to an Imagery Type
Colour Attributes have been created and associated these with Actions for Core Boxes. The next step is to associate these Attributes (which have associated actions) with an Imagery Type.
1. To do this, go to the main Definitions Panel and click Imagery Types:
2. And click Core Boxes, which is our selected Imagery Type in this example:
3. Next, add the Coreboxes Color Attribute, by selecting from the dropdown list (already added below):
4. Assign Image Action to a Workspace
1. Return to the main Settings panel, click Workspaces. In this example, the Firefly Resource Development workspace is selected:
2. The colour extraction action performed in this example will be for core box imagery. Click Drilling Core Dataset:
3. The final step in preparing for colour extraction is to:
- Assign Image Actions to the Drilling Core Dataset by adding the newly created Action Definition (two in this case).
- Select the Imagery Type to extract the dominant colour from.
- Select the Image Type:
5. Select One or more Collections
Imago needs to know which Collection(s) to process. To do this, return to Imagery page:
- Toggle Editing On
- Use the Workpace Browser to select a Dataset, Imagery Type and one or more Collections (AADD0141 in this example):
6. Extract Dominant Colour from Images
In the last Section, Wet was already selected. Next:
- Return to the My Workspaces panel
- Select Image Tools
- Select Trigger Image Actions from the drop down list:
- And complete as follows for Wet:
- When Trigger this image type has been selected (It will blank out after selection. Ignore this), a list of intervals are displayed for the images (wet) present in the collection. Use the standard windows select key options to select one, several or all:
- Click Trigger to start the colour extraction process for Wet core. The following is displayed:
- Repeat steps 1 to 6 to extract the dominant colour for Dry core (ensuring Dry is selected as described in 5. Select One or more Collections).
Depending on the number of images in a Collection, processing may take several minutes.
- View the processed images for Wet by moving back to the Imagery page and select Corebox Color Attribute Wet:
- The view for the colour images is NOT scaled to depth and the dominant colour is not displayed. Change the view to true depth by clicking the option as shown:
The dominant colour attribute now displays appropriately scaled next to the core boxes:
To display core trays to the right of the colour extracted images, unselect and select Wet in the Active Imagery Panel:
7. Export the Extracted Colour Attributes
To export the dominant colour extracted from the coreboxes, use the Export Attributes option in Imago Connect.
Open Imago Connect and filter if needed by Workspace, Dataset, collection or image type. For this example, the export in this screen is set for CoreBox Color Attribute Wet. Finally click Download:
8. Import the Dominant Colour Attributes into Leapfrog
After exporting the dominant colour (CSV and LFC files) using Imago Connect + Tools, this can be imported into a Leapfrog Project. View this demonstration :
|SKIP AHEAD TO|
|Data Hierarchy within Imago|
|Imago Connect Overview|
|Link Imago To Leapfrog Geo|