Image Pro User Guide 20200211
Image Pro User Guide 20200211
Media Cybernetics
401 N. Washington St. Suite 350
Rockville, MD 20850
+1-301-495-3305, FAX +1-240-328-6193
+1-800-263-2088 (North America only)
http://www.mediacy.com
COPYRIGHT NOTICE
Copyright, 2012 - 2017 Media Cybernetics, Inc.
All Rights Reserved
TRADEMARK ACKNOWLEDGMENTS
Image-Pro and Image-Pro with 3D Module are registered trademarks of Media Cyber-
netics, Inc..
All trademarks in this document are trademarks or registered trademarks of their respect-
ive companies.
License Agreement
IMPORTANT: PLEASE READ CAREFULLY
LICENSE AGREEMENT
THIS LICENSE AGREEMENT ("AGREEMENT") IS BETWEEN YOU, THE END USER, AND MEDIA CYBERNETICS, INC. ("MEDIA"). IT
GOVERNS THE USE OF THE SOFTWARE, PROGRAM MEDIA AND DOCUMENTATION KNOWN AS Image-Pro Image-Pro (THE
"PRODUCT"). IF YOU USE THE PRODUCT, THEN YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE NOT WILLING
TO BE BOUND BY THE TERMS OF THIS AGREEMENT, PROMPTLY RETURN THIS PACKAGE TO THE PLACE OF PURCHASE WITH A
COPY OF THE RECEIPT, AND YOUR LICENSE FEE WILL BE REFUNDED.
Media licenses use of the PRODUCT, which may be manufactured and distributed by Media or by a third party (either, the "Manufacturer").
You, the end-user, assume responsibility for the selection of the PRODUCT to achieve your intended results, and for its installation and subsequent
use.
GRANT OF LICENSE
Media hereby grants you a non-exclusive license to use the PRODUCT in object code form only, upon the terms and conditions contained in this
Agreement.
You may:
1. Use the PRODUCT on the number of workstations for which you have purchased PRODUCT licenses. The workstations must be owned, leased
or otherwise controlled by you, whether in a network or other configuration.
2. Create a quantity of backup copies of the PRODUCT, in any machine-readable or printed form, equal to the number of PRODUCT licenses you
have purchased.
3. Transfer the PRODUCT and your rights under this Agreement to another party if the other party agrees to accept the terms and conditions of
this Agreement. If you transfer the PRODUCT, you must, at the same time, either transfer all copies of PRODUCT to the same party, or des-
troy any copies not transferred. You must immediately notify Media of the transfer.
4. Print out one copy of the Product documentation from the program media for each license purchased. If you print out any part of the Product
documentation from the program media, you must reproduce and include all the copyright notices that appear in the documentation on any such
copy of the documentation.
To use the PRODUCT as described in Sections 2 or 4 above, or for any other use not specifically set forth above, additional licensing from Media is
required. For further information, please contact Media at:
Media Cybernetics, Inc.
401 North Washington St., Suite 350
Rockville, MD 20850
U.S.A.
Phone: (301) 495-3305
Fax: (301) 495-5964
WorldwideWeb:http://www.mediacy.com
E-Mail: [email protected]
PROPRIETARY RIGHTS
This Agreement gives you ownership only of the physical program media on which the PRODUCT is stored, but not of the PRODUCT itself. You
acknowledge that Media owns all right, title and interest in the PRODUCT, and that you will acquire no rights in the PRODUCT through your use
of it. You agree that you will take no action that interferes with Media's rights in the PRODUCT.
TERM
This Agreement is effective until terminated. You may terminate it at any time by destroying the PRODUCT together with all copies and doc-
umentation in any form. This Agreement will also terminate automatically and without notice from Media if you fail to comply with any term or
condition of this Agreement. You agree upon such termination to destroy the PRODUCT and all copies of the PRODUCT.
DISCLAIMER; LIMITED WARRANTY
EXCEPT AS PROVIDED BELOW, THE PRODUCT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PRODUCT IS WITH YOU. SOME
JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO THE ABOVE EXCLUSION MAY NOT APPLY TO
YOU.
NEITHER MEDIA NOR MANUFACTURER WARRANT THAT THE FUNCTIONS CONTAINED IN THE PRODUCT WILL MEET YOUR
REQUIREMENTS OR THAT THE OPERATION OF THE PRODUCT WILL BE UNINTERRUPTED OR ERROR-FREE. However, where
Media is the Manufacturer, Media warrants that the program media on which the software is furnished will be free from defects in materials and
workmanship under normal use for a period of ninety (90) days from the date of delivery as evidenced by a copy of your receipt.
LIMITATION OF REMEDIES
Where Media is the Manufacturer, Manufacturer’s entire liability and your exclusive remedy shall be:
1.the replacement of the program media not meeting the Limited Warranty, which is returned to Manufacturer with a copy of your receipt;
2.if Manufacturer is unable to deliver replacement program media which is free of defects in materials or workmanship, you may terminate this
Agreement by returning the PRODUCT and a copy of your receipt to the place of purchase, and your money will be refunded.
Where Media is not the Manufacturer, Media shall have no liability to replace or refund, and you agree to look to Manufacturer to meet the oblig-
ations described above.
LIMITATION OF LIABILITY
IN NO EVENT WILL MEDIA OR MANUFACTURER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO,
ANY LOST PROFITS, LOST SAVINGS, OR OTHER INDIRECT, SPECIAL, EXEMPLARY, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
ARISING OUT OF THE USE OR INABILITY TO USE THIS PRODUCT, EVEN IF MEDIA OR MANUFACTURER HAS BEEN ADVISED OF
THE POSSIBILITY OF SUCH DAMAGES. FURTHER, IN NO EVENT WILL MEDIA OR MANUFACTURER BE LIABLE FOR ANY CLAIM
BY ANY OTHER PARTY ARISING OUT OF YOUR USE OF THE PRODUCT. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION
OR EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE ABOVE LIMITATION OR EXCLUSION
MAY NOT APPLY TO YOU.
TRADEMARKS
Image-Pro™ is a trademark of Media Cybernetics Inc., and Media Cybernetics™ is a trademark of Media Cybernetics Inc. No right, license, or
interest in such trademarks is granted hereunder.
Table of Contents
1
Preface xvii
Product Features xviii
Acquire and Open Images xviii
Automate and Customize xviii
Read and Write Image Data xix
Process and Analyze xix
Measure and Count xix
3D Image Viewing and Rendering xx
Report and Share xx
Conventions Used in this Guide xxi
A Note about this User Guide xxi
Contacting Technical Support xxii
Chapter 1: Installing Image-Pro 1
Package Contents 2
System Requirements for Image-Pro 10 3
Supported Operating Systems: 3
Minimum Requirements 3
Recommended Requirements 3
High Performance Requirements 4
System Requirements for Image-Pro with 3D Module 5
Rule of Thumb: 5
Minimum Requirements (for small datasets only, performance will be low) 5
Table of Contents
Recommended Requirements 5
High Performance Requirements 6
Hardware Priorities 7
Graphics Card 7
System Memory 7
Hard Drives 8
CPU 8
Installing Image-Pro 9
Activating Your Image-Pro License 16
Verifying your Registration 19
Windows Security Alert 21
Product Versions and Updates 22
Updating Your Product 23
Verifying Updates 26
Help and About Image-Pro 29
Upgrading Image-Pro 35
Upgrading the Installed Software 36
Upgrading Your Software 36
How to Return your Original Image-Pro License 38
Upgrading your License 39
Configuring License Use 40
Sending Feedback 42
Chapter 2: Getting Started 44
The Image-Pro Application Window 45
Floating Panels 45
Workspace Tabs 46
Viewing Tooltips 46
ii
Table of Contents
iii
Table of Contents
Count/Size Tab 88
Measure Tab 89
Review Tab 89
View Tab 89
Image Tab 89
Optional Tabs 90
Automate Tab 90
Apps Tab 90
Custom Tab 90
Extras Tab 91
Context-Sensitive Tabs 91
3D View Tab 91
3D Measure Tab 91
3D Animation Tab 92
Chapter 4: Viewing Intensity Measurements 94
Image Histogram, Line Profile, and Saturation Warning 95
Viewing an Image Histogram 96
Advanced Display 99
Viewing a Line Profile 103
Line Profile Tools 104
Background Tools 108
To Add a Line Profile to the Current Collection 108
Edge Detection Tools 110
Using the Saturation Warning 119
Chapter 5: Working with Images 121
121
Viewing Optical Characteristics 122
iv
Table of Contents
v
Table of Contents
vi
Table of Contents
Sub-sampling 194
Aligning Images 195
Using Extended Depth of Field 203
Tiling and Stitching 209
Comparing Images 218
Image Math 220
Correcting the Background 224
Applying Filters 226
Advanced Filters 227
Using the Grid Overlay 229
Filtering with Fast Fourier Transforms 232
Viewing the Image Spectrum 233
Image Sequences 237
Using the Active Data Overlay 242
Customizing the Data Overlay 244
Using Live Extended Depth of Field 247
Using Live Tiling 251
Creating an Audit Trail 256
Audit Trail Options 257
Audit Trail Tools 258
Very Large Images 259
Large Image Tools 260
Image-Pro Experiments 263
Managing Mixed Content Experiments 263
Working with Image Sets 266
Open Set from File 266
Image Set Controls 272
vii
Table of Contents
viii
Table of Contents
ix
Table of Contents
x
Table of Contents
xi
Table of Contents
xii
Table of Contents
xiii
Table of Contents
xiv
Table of Contents
xv
Table of Contents
xvi
Preface
Before You Begin
Welcome to the Image-Pro® User’s Guide. This product is designed to run under the
Microsoft® Windows® 7.0 Professional or Ultimate (service pack 1) (32- and 64-bit), Win-
dows® 8.0 or 8.1 Enterprise or Professional (32- and 64-bit), and Windows® 10 Enterprise
or Professional (32- and 64-bit).
xvii
Preface 1
Product Features
Image-Pro 9.3 is a comprehensive application for image acquisition and measurement for
industrial and physical scientists. It has been designed to automate and simplify routine
image capture, inspection, and measurement tasks.
With Image-Pro, you can.....
xviii
Product Features
hide different toolbars and buttons. You can also reset your interface to “factory”
or “default” settings if you don’t like what you’ve set up and want to start over.
l Never lose your work with Image-Pro’s AutoSave and AutoRecover.
xix
Preface 1
xx
Conventions Used in this Guide
xxi
Chapter 1
Support for all registered users includes access to the latest information and downloads
regarding updates, hot-fixes, and service packs. Technical support for all users is free for
the first 30 days.
Support for users who have a valid Image-Pro maintenance agreement includes the fol-
lowing:
l Continuing access to the latest updates and fixes.
l Access to the Image Analysis Forum Discussion Group. Image-Pro Support Spe-
cialists and users from around the world participate and grow this Knowledge Base. It
includes valuable information concerning the use and support of Image-Pro. To access
this forum, click on the Image Analysis link on the Help menu:
xxii
Contacting Technical Support
l Access to Image-Pro Support Specialists. If you cannot find a solution in the Forum
you can submit your problem to our Image-Pro Support Specialists. They will attempt
to answer you as quickly as possible.
Before you contact Thermo Fisher's Technical Support for assistance, please be prepared to
provide the following information:
l Your registration information: the product serial number, your name, phone number,
organization name, mailing address, and e-mail address. The serial numbers are dis-
played on the About Image-Pro screen (open from the Help menu):
xxiii
Chapter 1 : Installing Image-Pro
Installing Image-Pro
1
Chapter 1
Package Contents
Before installing Image-Pro, please check that you have received everything in your
Image-Pro package:
l Image-Pro USB Installation Drive
l Image-Pro USB Licensing Dongle (if applicable)
2
System Requirements for Image-Pro 10
Minimum Requirements
l Dual core processor
l 4 GB of RAM or more
l 5 GB or more of available hard-disk space
l 1024 x 768 display with a 32-bit video card
l DVD/CD-ROM drive
l Microsoft .NET 4.0 Framework (automatically installed by application)
l USB port required for hard licenses and offline license activation
l Internet connection required for online services.
Note that Image-Pro will not install on computers running Windows® XP or Win-
dows® Vista™. Nor will it run under Windows® N.
Recommended Requirements
l OS: Windows 7, 8.1 or 10, 32-bit or 64-bit
l Processor: 2.8 GHz Intel quad-core 64-bit processor (Core i7 Series) or better
l RAM: 16 GB memory or higher
l Free Disk Space: Multiple High Speed SATA Hard Disks or SSDs; 8 GB free on
installation drive + free space for images (500+GB)
3
Chapter 1
l Graphics Card: nVIDIA GeForce GTX Cards with 4GB graphics memory & Open
GL 4.2 or higher
l DVD-ROM drive
l USB port required for hard licenses and offline license activation
l Internet Explorer version 9 or higher
l Internet connection required for online services*
4
System Requirements for Image-Pro with 3D Module
Rule of Thumb:
In short… More S Better. More GPU (Graphics Processing Unit) cores, more system RAM,
more graphics RAM, more CPU cores, more speed for 3D viewing rates.
Image-Pro with 3D Module has no limits on the number of objects, the size of images, the
number of images, or the number of frames. Everything depends on memory and speed. For
users the best possible experience and product performance review the requirements below
and follow-up with a review of the hardware priorities to understand how the whole sys-
tem plays a part in the application’s performance.
To install and work with Image-Pro with 3D Module you will need the following equip-
ment and software:
Recommended Requirements
l OS: Windows 7, 8.1 or 10, 64-bit
5
Chapter 1
6
Hardware Priorities
Hardware Priorities
Graphics Card
Image-Pro with 3D Module is a 3D graphics-intensive product that requires a very capable
graphics adapter. For this reason, purchase the most powerful graphics card possible
because the single most important determinant of 3D viewing performance is the graphics
card.
When choosing a graphics card for optimal visualization performance Open GL 4.2 is
recommended along with at least 1GB of graphics memory, but ideally 2GBpreferable.
Securing the best possible graphics card is not buying the most expensive one, as many of
these cards are designed for unique rendering applications, such as the nVidia Quadro
series. These cards will not necessarily provide an Image-Pro with 3D Module user with
the best price to performance ratio. NVidia GeForce GTX and AMD Radeon HD and ATI
Radeon X cards typically are designed for video gaming, but deliver excellent performance
for 3D image analysis as well. When looking into nVidia cards, be aware of their series of
cards such as the 500, 600, and 700 have high and low endsmean a GTX 650 could be
potentially worse than a GTX 580 because the first number denotes a series and not the
level of performance. In this case the second number of the model explains how they
match up.
If you are working with very large images or sets, then it is important to focus on the
second priority, as much as you do the graphics card for visualization. Our suggestions
regarding memory are in the next section.
l Users are discouraged from multi-video card (Crossfire and SLI) solutions for now,
as this technology is known to decrease performance compared to single graphics
card solutions.
System Memory
System memory is the second most important factor for users who need to inspect large
data sets in particular, large volume data with direct volume rendering. This is why Image-
Pro with 3D Module is a 64-bit ONLY software product (32-bit operating systems are lim-
ited to a maximum amount of about 3.2 GB of system memory. It is important to note that
you may need much more memory than the actual size of the data you want to work with
since some processing may require several times the memory required by the original data
set.
7
Chapter 1
For instance, if you want to load a 4GB data set in memory, you may need up to 16 or
20GB of additional memory for the intermediate results of your processing. More com-
monly you will need 2 or 3 times the memory footprint for data being processed.
Hard Drives
When working with large files that contain either a long sequence or many dimensions of
data, reading from the disk can slow down your productivity.
Option 1 is a standard hard drive (e.g. 7200rpm SATA disk) that can only send data to
your application at a continuous rate of about 60MB/second. That is the theoretical limit;
your actual experience is likely to be closer to 40MB/second.
Option 2 is to configure multiple hard drives (3 or more) in a RAID5 configuration but
please note that RAID configurations may require substantially more system admin-
istration.
Option 3 is to use solid state drives (SSD) instead of standard hard drives (HDD) in either
a single-drive or RAID configuration. SSD’s are becoming more popular as the prices con-
tinue to drop. The SSD can perform better than a HDD, generally having file read-
ing/writing at speeds of 200-550 MB/second. The price of solid state drives is still higher
and the capacity is not typically equivalent, but the performance can certainly be worth
the investment.
CPU
The Image-Pro with 3D Module platform is designed to support multiple cores/processors
using state-of-the-art background processing. This feature is on by default and enables the
software to execute tasks in parallel. Since Image-Pro with 3D Module combines the best
of 3D and 2D processing and analysis, additional CPU cores and/or processor speed will
enhance the responsiveness of the Graphical User Interface (GUI), data tables, 2D outlines,
and large image filters. If you are using the 3D rendering and measurements, they will be
mostly exploiting GPU power, and little of Image-Pro’s visualization processes are strongly
affected by CPU performance. Some image processing routines are CPU-limited, so a better
CPU can benefit performance on those routines.
8
Installing Image-Pro
Installing Image-Pro
To install Image-Pro, follow the steps below. Please close any other applications before
starting the installation process. The setup screen will indicate which version of Image-Pro
you are installing.
1. Insert the Image-Pro product into the correct drive.
If the program does not start automatically, you can install Image-Pro using the Start
button on your desktop. Choose Run and then use the Browse button to find the
autorun.exe file on the CD. Double-click autorun.exe to begin the installation process.
Image-Pro requires the Microsoft *.NET framework. If this is not installed on your
computer, the application will install it automatically.
If you have restricted user access control, you may see a warning asking if you want
the program to make changes to your system. Click Yes.
You will see the Installation Start screen. This screen has the following buttons:
l Install Image-Pro
l Documentation
l Install Demo Images
l Capture Support.
Image-Pro requires the Microsoft *.NET framework. If this is not installed on your
computer, the application will install it automatically.
Please wait.
In a few moments, you will see the Image-Pro Setup screen.
3. Click Next.
You will see the Image-Pro License Agreement.
9
Chapter 1
10
Installing Image-Pro
11
Chapter 1
7. Confirm that the destination is correct. Click Change if you want to use a different loc-
ation.
8. When the path is correct, click Next to continue.
The next screen indicates that your computer is ready to install
Image-Pro/Image-Pro with 3D Module.
12
Installing Image-Pro
9. Click the Install button to begin the installation. This screen gives you a chance to
verify your Image-Pro location and settings.
The Installing dialog box appears. The setup program will begin copying and
installing files.
13
Chapter 1
14
Installing Image-Pro
Note: During the installation process, you may see the following warning message:
This warning can be ignored safely, and installation of your product will complete suc-
cessfully.
15
Chapter 1
16
Activating Your Image-Pro License
17
Chapter 1
b. If you have an already activated dongle you can obtain the license(s)
using the License Activation Wizard to export them from the original
computer.
3. In both cases, you can import the license(s) on the second page of the
License Activation Wizard.
18
Verifying your Registration
19
Chapter 1
This page will indicate if and when your license expires. It also provides information
about your maintenance package, if any
20
Windows Security Alert
21
Chapter 1
22
Updating Your Product
Checking this box ensures that software update checks will happen automatically.
When an update is available, your application will offer to download the available
updates. The downloads run in the background, and you may continue to use Image-
Pro while they run. You can decide later when you want to install the downloaded
updates. More information about Application Options appears in Chapter 2.
23
Chapter 1
If Automatic Update Check is not selected, follow the steps below to look for updates
to your software installation.
1. Click the small drop-down arrow at the upper right-hand corner of your application.
2. ClickCheck For Updates. If your product is current, you will see a message saying
that you are running the most current version and no update is necessary.
4. To install the update now, click Yes. To install the update later, click No.
If you click Yes the application closes (and prompts to save documents as appro-
priate), and the update is applied once the application has exited. If you click No, the
update is installed after the end of the current session.
When the update process is complete, you may see a message, or a page of release
notes pertaining to this upgrade.
24
Updating Your Product
You may see a message reminding you to restart your computer before using
Image-Pro. If you do, please restart you computer before using Image-Pro.
If you do not have an Internet connection, please contact Media Cybernetics’ technical
support for assistance.
25
Chapter 1
Verifying Updates
You can find out which updates of the application software have been applied by visiting
the Windows Control Panel:
1. Go to Programs:
26
Verifying Updates
You will see which programs and updates have been installed on your machine.
3. Once you have verified the update and version number, close the Window Control
Panel dialog.
You can view the About box to verify the current software version and see additional
information about your Image-Pro system.
27
Chapter 1
28
Help and About Image-Pro
Once the drop-down menu appears, clicking anywhere on the menu item or its icon in the
Help menu items will take you to that feature of Image-Pro.
Clicking the Help question mark icon or H will open the first page of the in-product help
file:
29
Chapter 1
The Table of Contents, Index, and Search tabs in the left-side panel will help you navigate
through the Help files.
l Clicking the Image-Pro Users Guide link or G opens the first page of the Users Guide
in PDF. There are links and bookmarks to help you find the information you need in
the User’s Guide.
l Click the Image Analysis Forum or F sends you to the image analysis forum dis-
cussion group. This group includes links for you to send feedback, report a problem,
or make a feature request.
l Clicking Welcome to Image-Pro or W opens the Welcome screen. Note that if you do
not have an internet connection, the Welcome screen will display only offline content.
Tutorials, news, and forum posts will be available only if you have an internet con-
nection.
l Click Look for Updates or U to see if a new version of Image-Pro is available, as
described earlier in this chapter.
l Click SupportCenter or S to open a support session with a Technical Support spe-
cialist:
l Click About Image-Proor A to see important information about your Image-Prosystem.
The About page displays the version, copyright, license, and maintenance information:
30
Help and About Image-Pro
31
Chapter 1
32
Help and About Image-Pro
You can expand the system information folders to see the details of your installation. You
may need this information when working with Technical Support.
The next screen shows the system information for a rental software license.
Finally, a Licenses tab is included in the About dialog to help some users configure their
license use, see Configuring License Use.
33
Chapter 1
34
Upgrading Image-Pro
Upgrading Image-Pro
There are two aspects to any upgrade:
l Upgrading the installed software from the previous product or version to the Image-
Pro 10 software, and
l Upgrading the license that authorizes Image-Pro to run.
You will want to review the next section, "Upgrading the Installed Software" on the next
page, regardless of what type of upgrade you are doing.
If you are upgrading from a previous version of Image-Pro, then you will want to review
the section "Upgrading your License" on page 39.
l If you are running a licensed and registered copy of Image-Pro 9, this will be a
paid upgrade to version 10, and it will not be available via Auto-Update.
35
Chapter 1
.
2. Choose Look For Updates. You will see the Update Available dialog:
Note that if you are upgrading to Image-Pro 10 from Image-Pro 9, you are required
to update your product license as well as the software. The new version includes a
36
Upgrading Your Software
14-day temporary license. Follow the instructions regarding the License Upgrade Wiz-
ard later in this chapter to obtain a permanent license.
37
Chapter 1
If you don’t have your original packing slip, please contact [email protected]
38
Upgrading your License
39
Chapter 1
l Each available product tier and module is displayed in a hierarchical view with its
contained tiers and features listed as child nodes.
40
Configuring License Use
l Product tiers and modules can be excluded or left as available. Each selection gives
visual feedback based on the tier hierarchy and dependencies so that selecting a tier
will show exactly what features will be included or excluded. The three possible
licensing states are as follows:
l In Use: This tier or module is currently in use on this machine.
l Available: This tier or module is currently available on this machine
without being in use.
l Excluded: This tier or module will not be used on this machine, leaving
the license available for others to use.
l Once changes are made, the configuration can be saved using the Save Con-
figuration button and will take effect in the next session. The information is saved
in the identity so that different identities can use different licenses.
41
Chapter 1
Sending Feedback
Thermo Fisher welcomes your feedback about our products. If you have a suggestion, ques-
tion, or concern, please let us know. To send feedback, follow these steps:
1. Click the drop-down arrow in the upper right-hand corner of the application :
You will see this menu:
2. Choose Report a Problem or Send a Feature Request under the Image Analysis For-
ums.
You will see a form similar to the following according to your choice:
42
Sending Feedback
3. Choose a general comment, feature suggestion, or issue from the dropdown list.
4. Enter your comments, and remember to include your email address.
5. Press Submit.
Your feedback is always appreciated. You should hear from us shortly.
43
Chapter 2: Getting Started
Getting Started
This chapter introduces you to the Image-Pro and Image-Pro with 3D Module systems,
including an overview of the interface components and features.
44
Chapter 2
The in-product Help contains detailed information about all the features and functions of
Image-Pro. Click on the question mark at the right side of the application window
to open the help file. More information about using the Help appears at the end of this
chapter.
The center of the window contains a set of panels or panes. The far-left panel is the Over-
view panel, which contains the image strip and tools that provide an overview of the work-
space contents. The center panel contains the active content, which can be an image,
histogram, or other rendering. The far-right panel contains the image histogram as well as
additional dialogs that enable you to modify the contents of the workspace.
The following sections explain these features of the Image-Pro application window in
greater detail.
Floating Panels
One of the unique features of Image-Pro is the “floating” or “dockable” panels. The image
strip, details panel, mini-histogram panel, or other workspace areas can be moved inde-
pendently from the main image workspace. This may be particularly useful when working
with a dual-monitor system, as you may want to display the image on one monitor and the
details on the other. An example of floating or “undocked” panels appears below:
45
The Image-Pro Application Window
Workspace Tabs
Image-Pro and Image-Pro with 3D Module display your images in tabbed workspaces, as
shown here:
The name of the active image in the workspace is highlighted. You can switch back and
forth among multiple images by clicking the image’s tab.
The small icons next to the name of the image indicate what type of image is open. Some
examples of common types are shown here:
Viewing Tooltips
Tooltips show the basic image information:
46
Chapter 2
l To view an image tooltip, move your mouse cursor over the image thumbnail
in the image strip.
The zoom and pan controls allow you to resize the image or a portion of the image.
When the active image is zoomed and doesn’t fit in the viewer, the viewing area is shown
on the image strip thumbnail as a semitransparent orange overlay.
l Click and drag the center of the viewing area on the thumbnail to control pan
and scroll of the image.
47
The Image-Pro Application Window
Normally, when the workspace windows are set to Docking, the image appears like this:
When you switch to the MDI view, several images can be viewed at once, as shown here.
This example shows image windows tiled horizontally.
48
Chapter 2
49
The Image-Pro Application Window
Align Views lets you organize your images in rows and columns, as shown here:
The Tools in the Workspace group allows you to load and save custom tool sets and lay-
outs for your specific situation.
50
Chapter 2
Close All Views closes all the images and windows in the workspace.
Close All Tools closes all open dialogs and panels.
Tools redocks or resets any tools/ Click the drop-down arrow to see these features
Redock All Tools: Resets any open moveable panels that are undocked to their default
docked position.
Reset Tools Layout: Resets the application to its factory default tools layout.
Load Layout: This tool allows you to load a previously-saved tools layout. When you
click on this tool, the following dialog is displayed:
51
The Image-Pro Application Window
This dialog shows all available tool layouts to be loaded. The Recent area shows a list of
the last loaded layouts. The Custom area shows a list of the custom layouts currently
stored in the Configuration Files folder. The Default area shows a list of the available pre-
defined layouts from installation directory \Resources folder.
SaveLayout: Click this tool to save the current layout of tools to a file that can be loaded
at a later time to restore the layouts to its current configuration. When you click this
option, you are prompted to give the layouts configuration file a name. Type a name for
the layout configuration file, then click Save. You can use the Load Layout tool (described
above) to restore the tools layout to its current configuration at a later time.
52
Chapter 2
l The Zoom Scale Bar allows you to adjust the size of the image by moving the
slider to the right or left.
l The Undo and Redo buttons let you undo recent actions and reverse the effects of
the Undo.
l The Copy button will copy the part of the image under the ROI to the Win-
dows Clipboard.
l The Red, Green,Blue, and White tint buttons apply the appro-
priate color to the image.
l The Remove Tint and Remove Tint All buttons remove tints from the active
image or all open images.
l The Toggle Nudge polygon/polyline editing mode button is enabled when the
selection tool is running. Nudge editing mode becomes active only when a polygon
or polyline is the selected object being edited. Pressing the <N> key has the same
effect.
53
The Image Context Menu
l Clicking the Convert button converts the selected graphic object(s) into poly form
if possible.
l The Toggle limiting graphic object button limits creation and editing to image
bounds on the active overlay. By default, graphic object creation and editing is lim-
ited by the bounds of the underlying image on all overlays except for the Annotation
overlay, where limiting is disabled by default.
l The Selection tool enables selection and editing of displayed graphic objects.
l The Draggingtool allows you to move the Pan/Scroll position by clicking and
dragging on the image.
l The Zoom tool allows you to zoom in or out on the image with mouse clicks or
by drawing a box around the area to be zoomed. Only one tool may be active at
any time, so starting one of these tools will stop any currently active one.
If your active workspace is an image set, you will see a different context menu.
54
Chapter 2
Click the symbol to see information about your active image. You will see the
DocumentProperties window displayed at the bottom of the Image-Pro workspace, as
shown here:
The image and document property information has been greatly expanded in from pre-
vious versions of Image-Pro. This expanded view allows you to find important inform-
ation more easily. You can also edit the metadata.
The Document Properties feature allows you to view your data in four different lay-
outs:
To compare information for more than one image, click the Lock icon.
55
The Welcome Screen
The information on the left side of the screen is always available. From here, you can open
an image, sequence, or set. The list of recentimages displays a list of files that were
recently opened.
Check for Updates: Click this button to see if any upgrades are available from Thermo
Fisher.
Show page at startup: Check this box to see the Welcome screen each time that you start
Image-Pro.
The Training Resources tab displays a copy of the contents of the video tutorials page
on the website.
56
Chapter 2
The tutorials are in MP4 format. A media player is required to view these files.
The Latest News tab displays the latest news from Media Cybernetics.
A red notification displays the number of new articles and disappears when the tab is
clicked.
The Forums tab displays the most recent discussions from the Media Cybernetics Image
Analysis Forum.
57
The Welcome Screen
58
Chapter 2
The different ribbons will be examined in more detail later in this chapter.
Note that if you have not licensed capture, or are running Image-Pro with 3D Module,
some of the tabs and their associated ribbons will be different from this illustration.
59
Different Types of Content
In addition to different image file formats, Image-Pro can open different types of image
sets and Thermo Fisher experiment files.
Images, or single frames, come in many different formats and types. Image-Pro can open
and read many different formats. A list of available image formats appears in Appendix A.
Image sets are collections of images containing more than one variable dimension. A time
lapse movie is a simple example of the type of image sets that
Image-Pro is designed to handle. A more complex set may contain time lapse movies at
several different positions on the slide, with a Z-series at each time and spatial position. It
is possible to create image sets that have multiple channels, stage positions (user defined
or arrayed), Z slices, images per stage position (tiles), and time points. In an image set, we
still have multiple frames, but we know why – there are multiple channels, or the stage
moved, or the focus changed, etc.
Experiments are image files that contain different types of content stored in one, often very
large, file.
60
Chapter 2
Clicking the File button displays functions that are always available:
l New
l Open
l Save
l Save As
l Reload
l Print
l Close
Some of the items in this list have small menu arrows next to them. Hover your mouse
over the arrow to make the menu appear, as shown here:
61
The File Menu
The Recent Documents panel lists the files that you opened recently:
Click the name of the file to open it. You can use the push-pin icon to “pin” recently-
opened files to keep them in the list. The drop-down arrow
62
Chapter 2
Opening an Image
To open a saved image:
1. Click the File button.
The pull-down application menu appears.
2. Choose Open. Click to go directly to the Open Images dialog, or hover your mouse
over the menu arrow to see the menu of choices.
63
Opening an Image
3. Select the location and type of image file that you want to open.
4. Select the image file that you want to open using the standard file open dialog as illus-
trated below.
64
Chapter 2
To open more than one image, hold down the <Ctrl> key and use your cursor to
select the images you want to open.
5. Click the Open button.
The selected image is opened in the Image-Pro workspace.
2. Choose Open. Click to go directly to the Open Images dialog, or hover your mouse
over the menu arrow to see the menu of choices.
65
Opening an Image Sequence
66
Chapter 2
67
Opening an Image Set
l Site: Index number for the site. Used for organizing image data per area of interest
in a sample, for example.
l Time: Index number for the relative position in a time lapse sequence.
l XY Scan: Index number for the relative position in an XY scan (a series of images
that are taken across the surface of a sample).
Image-Pro and Image-Pro with 3D Module feature the SetBuilder. You can use this fea-
ture to create an image set from a collection of individual image files. Follow the instruc-
tions below:
1. Click the File button.
2. Choose Open Set from Files.
68
Chapter 2
69
Opening an Image Set
b) Review the assigned dimensions. From the list boxes provided, select the cor-
rect dimension information if guessed wrongly.
c) For sequences that include numeric and non-numeric dimension information
(such as when a channel name is included in the file name), use “Check to add the
active selection as a partial set” to “lock in” the detected sequence to part of a lar-
ger set.
l Split sequence into dimensions. Select this option if the files in the sequence have
naming conventions that mix location information for multiple dimensions into a
single sequence. For example: a 50-slice, 2-channel set that includes files named
“Image001.tif” through “Image100.tif”In such a case, can automatically collect the
relevant files into a table, and perhaps organize them according to one dimension,
but it depends on you to specify the specify the allocation of the specified
sequence into the relevant dimensions. If you select this option, you should:
a) Select a single file that is a member of the set you are trying to buld. analyzes
its name to tries to locate sequence information in the name. If any dimension
information is detected, it prompts you to confirm the meaning of the data in the
name structure, as follows:
b) Adjust the dimension allocation as appropriate using the list boxes provided.
Note that additional dimension drop-downs appear as needed.
l Manually add files to a dimension. When you select this option, you are promp-
ted to select a dimension and position within that dimensions to which you want
to add files, and then select the files to be added: Follow the steps below to manu-
ally organize your files:
a) In pull-down list box below the Add selected files to... button, select the
dimension you want to define.
b) In the spin box to its right of the selected dimension, specify the position in
the selected dimension to which you want to add files.
70
Chapter 2
c) In the file list, select all files belonging to the specified position of the selec-
ted dimension.
d) Click the Add selected files to... button.
e) Repeat steps a) through d) until all relevant dimensions and positions are
defined.
Choosing a new operation mode will change the controls available in the control
panel at the bottom of the center region of the Set Builder dialog.
5. Select a folder to add images to the File Table in the center panel. The file table in the
center will list the supported image files that are present in that folder, whether or not
they belong to a set.
The Location columns of the file table display the location index fields that have been
assigned to that file. If the file has not been assigned to any location within the set,
this column will be blank. Once the file has assigned to a location in the set, the Loca-
tion column will be replaced with columns for each dimension that is currently active
in the set.
71
Opening an Image Set
The channel name can be edited in-place. Use the Color drop-down arrow to see the
standard color picker. Click the “…” button in the Dye column to select a dye from
the favorites list, or from all available dyes:
l When Show all dyes is checked, all the dyes in the Dye Library will be included in
the list. If this option is not checked, you will see only the dyes in the Favorites
list. If the current channel name matches a dye in the list, that dye will be selected
in the drop-down list.
l Click Apply to set both the Channel Name and the Color for the selected dye. In
addition, the dye will be associated with the channel and will later be associated
with the image set channel when the set is imported.
7. Set the Z-spacing.
The Z- spacing panel on the dialog allows you to set the spacing between Z planes if
the selected set has Z stacks:
The selected spacing will be applied to both the set’s metadata and to the frames of
the images
8. Open the set.
The Open Set button will be disabled until you have selected at least one file to
define the set.
Here is an example of an image set open in the workspace:
72
Chapter 2
The slider controls and other features of an image set are discussed in Chapter 5, Work-
ing with Images.
73
Saving an Image
Saving an Image
When you hover over the Save command in the application button drop-down menu,
Image-Pro displays two options:
l Save
l Save All.
Save
Use the Save command to immediately store the contents of the current window to its file
(the file listed on the window's title bar) while leaving the image active in its window. If
the image is in an untitled window, Image-Pro will display the Save File As dialog box.
The Save command can be used to save your most recent changes to disk. It is often per-
formed as a precautionary measure during lengthy or involved processes to reduce the
amount of reprocessing that might be required in the event of a system failure or oper-
ational error. When you close an image and choose not to save its changes, Image-Pro dis-
cards all changes made since the last Save operation.
74
Chapter 2
Save All
Use the Save All command to immediately store the contents of all images currently open
in the Image-Pro workspace.
To save an image, follow the steps below:
1. Click the File button. The pull-down application menu appears.
2. Choose Save. You have a choice of saving only the active document (image) or saving
all modified documents or images. Your image is saved automatically.
75
Using Quick Save
l Quick Save for Analysis stores your images in *.TIF format so that they can be
retrieved for analysis at another time.
l Open Saved Images goes to the Open dialog and lets you select a previously stored
image.
l Options takes you to the File Options page where you can change your pref-
erences.
When you select Publication, you will see the following drop-down menu:
l Publication stores your image in a *.JPG format that can be easily incorporated
into a report or spreadsheet. It also burns-in any annotations, ROIs, or measurements
and resizes your image.
l Auto Open will automatically open your saved image in the workspace.
l Open Saved Images goes to the Open dialog and lets you select a previously stored
image.
76
Chapter 2
l Options takes you to the File Options page where you can change your pref-
erences.
Save As
Use the Save As command to store the contents of the current window, the current
ROI, or the active part of a sequence, to a file that you specify, in the format that you
specify. The Save As command serves several important uses beyond simply storing an
image to a new file name. It is also used to:
l Convert a single image from one format to another. For example, if you needed a
TIFF file converted to PNG format, you would simply open the TIFF image, and
then use Save As with the PNG format option to save it to a new file.
l Save an image with different compression or quality options from those it was ori-
ginally created with. For example, if your original TIFF file was uncompressed, you
can use Save As with the LZW compression option to store it in compressed form.
l Save an image to another disk or folder.
Note: Files containing multiple frames, or sequences, are supported only in the TIF,
SEQ, IPW, and AVI formats. All other formats will save all frames separately.
The Save As dialog is shown here:
77
Save As
Save in: Find the folder into which you want to save the file. You may create a new
folder using the New Folder button.
File name: Enter the name of the file you want the image saved to. To specify the
file's location, you can either enter its entire path (disk and folder), or specify its loc-
ation using the Save in list box.
Save as type: In this list box, select the format in which you want the image saved.
Compression: In this list box, select the form of compression you would like the file
stored in. The available compression methods will vary from one file format to
another. For example, LZW (Lempel-Zif encoding) compression is an option with TIFF
files, but it is not available in JPG. Moreover, some formats have no compression
options (None is the only choice).
Note: If you plan to use the image with another program, be sure it is compatible
with the selected compression method. Not all programs support compressed and
uncompressed format variants.
Frame By Frame This option allows to save the sequence into file frame by frame. The
frame’s file name based on next convention: <FileName> <FrameIndex> <Numer-
icSuffix>.<FileFormat> (<NumericSuffix> is an optional part and used to prevent files
from overwriting). If the file format doesn’t support sequences, then Frame By Frame
Only (always checked) will be displayed.
78
Chapter 2
Reload
Use the Reload command to fill the active window with a new copy of the file it is linked
to (the file listed on the window's title bar).
You might want to use this command if, after considerable editing, you wanted to restart
with an untouched copy of the image. Reload is also very useful in automated procedures
where a routine needs an image free from any effects of a preceding routine.
Note: Image-Pro loads the active window from the current copy of the file associated
with it. If you have made changes to the stored file (whether from this window or another)
after the image was opened, the changes will be reflected in the reloaded image.
Performing a Reload on an untitled image window has no effect.
Performing a Reload has no effect on the Lookup Table. If you have modified the Bright-
ness, Contrast, Gamma settings, they will remain as you set them. If you want to return the
LUT to the original settings, use the Reset button on the BCG tool bar.
79
Printing an Image
Printing an Image
Use the Print command to print one or more copies of the current image, or the current
ROI, to the selected output device. When you hover over the Print command in the File
menu, you are shown the following print options:
Quick Print: Click on this option to print the report to the default printer using the current
printer settings.
Print: Click this option to display the Print dialog box prior to sending the report to the
printer:
80
Chapter 2
Through the Print dialog box, you can select the printer you want to print to, define any
other print settings, such as number of copies. Click the OK button to send the page to the
printer.
Print Preview: Click this option to display the report in a preview screen prior to printing.
When you select this option, the preview is shown in a new image window with the fol-
lowing ribbon bar options:
Print: This is the same as clicking Print from the File menu (as described above).
Options: Click this tool to open the Page Setup dialog box:
Use the controls on this dialog box to specify the desired page layout options. Through
this dialog box, you can specify the paper size, page orientation, and margins for the page
containing the image you want to print. Click OK to apply your selections and return to
the print preview.
Close Print Preview: Click this tool to exit the print preview window without printing.
81
Quick Access Toolbar
Clicking the drop-down arrows displays a drop-down menu that allows you to customize
the selections that appear. A copy of the drop-down menu appears here:
Use More Commands to add items to the Quick Access Toolbar. You can find information
about adding commands in Chapter 9.
In addition, right-clicking on any of the buttons in a ribbon displays a menu that allows
you to add that button to the quick access toolbar, as shown here:
l Note that there may be some functions that cannot be mapped to the Quick Access
Toolbar.
82
Chapter 2
Options Buttons
Image-Pro includes Options buttons throughout the workspace. Click on these gear but-
tons to adjust colors, font sizes, and other feature settings.
83
The Image-Pro Status Bar
l Status area. This is where the progress bar and other indicators will appear.
l Frame number of the image in the workspace.
l Date and time that the image was captured.
l Pixel location of the cursor.
l Pixel value.
l Spatial calibration if known.
The image view icons allow you to view your image or sequence in different present-
ations:
l Resource monitor. Clicking this icon opens the resource monitor to display import-
ant metrics about the management of images, and control over the application's
use of image memory.
l Single image viewer. This icon changes depending upon if the image in the work-
space is displayed as a single image or in a 3D view.
l Surface plot viewer. Click this icon to display the image as a surface plot.
l Gallery viewer. Click this icon to display an image sequence in gallery view.
84
Chapter 2
l Slice viewer. Click this icon to display your image in slicer view.
l 3D viewer. Click this icon to display a 3D view of the image in the workspace.
This will be different if you are using Image-Pro with 3D Module.
l Image bitmap. Click this icon to display an image bitmap of the image in the
workspace.
l Zoom factor. Click this icon to adjust the size and scale of the image in the work-
space. You will see the following dialog.
l Scale to best fit automatically adjusts the image display to show the best fit
l Scale to width automatically adjusts the image to the width of the workspace
l Scale to height automatically adjusts the image to the height of the Image-Pro
allows you to enable or disable the status bar fields. Right-clicking on the status
bar displays a menu that allows you to select what type of data you want to dis-
play in the status bar.
A zoom slider and a fixed-zoom control list allow you to control the size of the image in
the workspace. The zoom slider is shown here:
When the magnification is known and the option active, the current zoom will be dis-
played as the effective magnification, as shown here:
85
The Image-Pro Status Bar
Image-Pro allows you to enable or disable the status bar fields. Right-clicking on the
status bar displays a menu that allows you to select what type of data you want to display
in the status bar.
Click the cursor next to the name of the field you wish to enable or disable. Enabled fields
are checked. You can also enable or disable fields in the status bar using the options
described earlier in this chapter.
86
Chapter 2
If capture is not available with your application, the Capture tab is replaced by the Home
tab. If you are using Image-Pro with 3D Module (with or without capture) there are addi-
tional tabs: 3D View, 3D Measure, and 3D Animation. More information about the 3D
features appears in Chapter 12.
Some of the Image-Pro tabs are context-sensitive, which means that they are available only
when you are using certain features, like Line Profile, or opening certain types of images,
image sets, or Very Large Images (VLI).
Capture tab
The Capture tab contains groups for selecting dyes and lenses, calibration, and saving
your images.
Note that this tab does not appear if you are using the non-acquisition versions of
Image-Pro or Image-Pro with 3D Module. In this case, you will see the Home tab instead.
87
Tabs and Ribbons
This tab contains groups for selecting dyes and lenses, calibration, and saving your images.
Adjust Tab
The Adjust tab contains all the functions that allows you to manipulate the image for best
viewing and interpretation. Some functions may require making new or composite images
from other images or changing the pixel values within an image.
Process Tab
The Process tab contains the image processing tools that allow you to change an image
or extract information from it.
Select Tab
The Select tab contains the Clipboard, Annotation, ROI, and Mask features that enable
you to examine and annotate an image or part of an image.A
Count/Size Tab
The Count/Size tab contains tools that allow you to view, count, and measure objects in
a two-dimensional image. It also contains the tools to display the resulting data in a vari-
ety of formats. If you are using Image-Pro with 3D Module, this tab appears as 2D Coun-
t/Size.
88
Chapter 2
Measure Tab
The Measure tab contains features that enable you to measure and analyze features in all
or part of your two-dimensional image. If you are using Image-Pro with 3D Module, this
tab appears as 2D Measure.
Review Tab
The Review tab contains features that allow you to share your images and data with oth-
ers. You can also create an audit trail of all the recordable events during your image pro-
cessing session. The features on the Review tab allow you to create reports and export
your files.
View Tab
The View tab contains specialized tools and graphs to display information about the act-
ive image or image set. Some of these tools allow you to see different aspects of the active
image also.
Image Tab
The Image tab is only visible when there is an image or image set open in the workspace.
You can adjust the image display, show it in a gallery, or zoom/pan on a particular portion
of the image.
89
Optional Tabs
Optional Tabs
These tabs appear when you enable certain features using the Options described at the end
of this chapter.
Automate Tab
The Automate tab contains the macro scripting features. This tab is visible by default, but
you can turn it off by un-checking Show Automate Tab on the Display options page.
Apps Tab
The Apps tab contains any apps that you have loaded into your copy of Image-Pro. It
contains a link to the App Center, where you can find and download the newest apps. It is
empty until you have created or downloaded some apps.
Custom Tab
The Custom tab creates a ribbon for you to store the features that you use most fre-
quently. The first time you open it, the Custom tab’s ribbon will be empty. You can add
any group or tool to it.
90
Chapter 2
This tab does not appear until you check Show Custom Tab on the Display options page.
Extras Tab
The Extras tab contains advanced features, such as Find Shapes. This tab does not appear
until you check Show Extras Tab on the Display options page
Context-Sensitive Tabs
These tabs are available when you have opened certain features.
3D View Tab
3D View lets you load, save, and examine your 3D image in a variety of ways:
This tab is available when you have a 3D image open in the Image-Pro with 3D Module
workspace.
3D Measure Tab
3D Measure contains the tools and features you will need to make volume measurements
in a 3D image:
91
Context-Sensitive Tabs
This tab is available when you have a 3D image open in the Image-Pro with 3D Module
workspace.
3D Animation Tab
3D Animation lets you create animated images and movies from 3D images.
This tab is available when you have a 3D image open in the Image-Pro with 3D Module
workspace.
92
Chapter 4 : Viewing Intensity Measurements
94
Chapter 3
Image histograms measure, and illustrate in graph form, the distribution of pixel intens-
ities in an image. Histogram data can be created and viewed for data gathering and ana-
lytical purposes or can be manipulated for image enhancement purposes.
Line profile analysis allows you to collect the actual pixel intensities of the pixel values
under the profile line. A profile plot shows the pixel positions of the line along the X-axis,
and, along the Y-axis, indicates the pixel intensity for each position along the line. Either
or both axes may use calibrated units if the image has a spatial calibration (for the X-axis)
or intensity calibration (for the Y-axis). You can display a line profile on any type of
image, whether it’s the live image, a captured image, or an image opened from a file.
Saturation is used to show overexposed and underexposed areas with a given color. It can
be used with the live preview to set proper exposure time and avoid over or under- sat-
urated areas, so that intensity measurements on the image will be correct.
95
Viewing an Image Histogram
The histogram area is displayed with a gradient tint that ranges from from black to
white for mono images, and from black to the color of the channel for color images.
Histogram & Profile options control the display of an image histogram or line profile.
More information about these options appears in Chapter 2.
The Reset button automatically resets the histogram display.
96
Chapter 3
If you click the drop-down arrow, you will see the available best-fit options:
Auto-Range automatically adjusts the black and white levels on the image. This fea-
ture is available only if the current camera supports Auto-Range.
The Data Collector feature lets you accumulate data to display in the data
collector. Click the drop-down arrow to see these options:
Check the appropriate box to add or clear information for the data collector.
Right-click in the Histogram window to display the drop-down menu:
Note that you can zoom in on a part of the histogram by using your mouse to draw
a region on the histogram graph.
The View sub-menu allows you to display the graph legend and statistics.
97
Viewing an Image Histogram
You can adjust the black and white levels by using the right and left sliders.As you
move the sliders, you will see the changes in the black and white levels reflected in
the image.
The Options sub-menu contains additional controls for displaying the graph.
n Ignore ROI: indicates that the histogram should reflect the entire image
n Active Frame: use only active frame for histogram data
n Mono interpretation: interpret color images as monochrome images
n Spatial Calibration: use spatial calibration to calculate histogram and statistics val-
ues
n Range Statistics: calculate statistics based on selected range only (selected range
displayed on the chart as yellow bar – you can move or adjust left and right edges
of the selected range with a mouse),
n Exclude Bins: exclude the number of bins to the left or right.
The Statistics option lets you hide or show the following information about the image
histogram:
n Mean: the calibrated Mean of all the bin counts (or selected Range)
n St. Dev.: the calibrated standard deviation of all the bin counts (or selected Range)
n Min: the calibrated minimum of all bin x values (or selected Range) (calibrated
intensity)
98
Chapter 3
n Max: the calibrated maximum of all the bin x values (or selected Range) (cal-
ibrated intensity)
n Sum: the calibrated Sum of all the bin counts (or selected Range) where calibrated
bin counts (Values) are multiplied by their x value (calibrated intensity), and accu-
mulated
n Area (…): the calibrated area of the pixels with intensity between Black and White
Levels (or selected Range),
n Area (%): the percentage of the pixels with intensity between Black and White
Levels (or selected Range) to the total image area.
Advanced Display
Additional histogram options are available when you select the Advanced button from the
Display group on the Adjust tab:
The Advanced context ribbon appears, with additional controls over image display and
brightness/contrast adjustment.
When the Histogram button is activated, the Advanced Display panel opens to show a lar-
ger version of the image histogram appears in the bottom panel of the application work-
space:
The drop-down menu of the Histogram group lets you control the appearance of the his-
togram display:
99
Advanced Display
The example above shows an area histogram. The Dynamic button adds a display of the
resulting or effective histogram after all of the current display adjustments (such as Bright-
ness, Contrast, or changes in the Black/White levels) are applied.
The Look-Up Table (LUT) is also displayed on the graph. The LUT determines how pixel
intensities are displayed on your monitor. Changes to Brightness, Contrast, or the freeform
LUT, will change the display of the image, but will not affect the underlying pixel values.
You can turn it on or off using the LUT button in the Look Up Tables group.
The LUT is indicated by a diagonal line on the histogram and by additional information in
the right-hand panel:
Clicking the Freeform button displays additional information on the histogram. Choose a
display option from the drop-down list:
100
Chapter 3
Ignore ROI creates a histogram using the entire image, even if an ROI is present.
Active Frame creates a histogram using only the active frame in a sequence.
The Log X, Y group uses logarithms to create the graph:
101
Advanced Display
Log X button is used to generate the graph’s horizontal axis using a logarithmic scale.
Log Y button is used to generate the graph’s vertical axis using a logarithmic scale.
102
Chapter 3
There are many different drawing tools in the Line Profile ribbon. They can be used
to draw the sampling lines for the Line Profile..
3. When you select the Line Profile, Image-Pro will automatically draw an initial line
profile on your image.
103
Line Profile Tools
4. This profile is labeled “Line 1”. This is to help you get started with the Line Profile
tools. You can adjust the Initial Profile in the Histogram and Profile panel in the
Application Options. The Line Profile graph appears in a pane below the image:
As you draw more lines on the image, they will also appear in the profile pane. The
plot scale along the X-axis will be adjusted to display the longest line profile that
you’ve drawn. The currently selected Line Profile will appear on the plot and in the
legend as a thicker trace. Under the line profile plot is an image display of the intens-
ities of the pixels under the line profile at each position along the selected Line Pro-
file. The image display will be as long as the selected profile, which may be shorter
than the longest one that you’ve drawn.
104
Chapter 3
There are many different drawing tools in the Line Profile ribbon that can be used
to draw the sampling lines for the Line Profile. The table below describes each
tool:
Select
The plot scale along the X axis will be adjusted to display the longest
line profile that you’ve drawn. The currently selected Line Profile will
appear on the plot and in the legend as a thicker trace. Under the line
profile plot is an image display of the intensities of the pixels under the
line profile at each position along the selected Line Profile. The image
display will be as long as the selected profile, which may be shorter than
the longest one that you’ve drawnUse this tool to select a line profile fea-
ture or group of features.
Line
The Line button will display the currently selected line. This tool
defaults to a simple line, but when you click the drop-down arrow on
the line tool, you will see additional selections. Use the default Line
tool to draw a sampling line on your image. Click on the first point and
drag to the last point of the desired line.
Polyline
This tool allows you draw poly-vertices lines and polygons, or freehand
lines and shapes.
To draw freeform lines and shapes
Use this technique to create lines and shapes that have smooth edges.
Hold the left mouse down while you draw with the cursor to create the
desired freeform shape. Double-click to complete the shape.
105
Line Profile Tools
The auto-trace option for ploylines also appears when you click the drop-
down arrow.
Rectangle
Click the left mouse button and hold it down to drag the rectangle to
your desired size. Clicking the drop-down arrow will also display the
Polygon tool.
Polygon
This tool allows you draw polygons, or freehand shapes. Click the left
mouse button at each vertex (including the beginning point) of the
polygon. Double-click to complete the polygon.
Auto-Trace Polygon. Use this tool to trace polyshapes automatically.
Circle or Ellipse
Position the crosshair cursor anywhere in the image. Click and drag the
mouse from the insertion point to the desired destination. Hold down the
<Shift> key while dragging the cursor to create a circle.
Delete Selected
Use this button to remove the selected profile feature from your image.
106
Chapter 3
Delete All
Use this button to remove all the line profile features from your image.
Note that if you delete all line profiles, the Line Profile pane will be
empty until you draw another one.
Auto-Trace
Use this tool to trace the outline of an irregular object in the image auto-
matically. Place your cursor on the object and click two points. Image-Pro
automatically traces the object.
Width
Use the spin buttons to indicate the with of the profile line in pixel
Features Manager
Use this button to manage feature collections.You will find more inform-
ation about features and feature collections in Chapter 8 of this manual
and in the in-product Help.
Line profile lines have a start and end point. Check the Flip Profile Dir-
ection box to reverse the direction of the profile lines.
Use the right and left arrow buttons to move the profile points in either
direction.
As noted above, each line profile has a beginning and an end. For example, lines
start at the first point at the left, and end at the last point, on the right. The last
107
Line Profile Tools
point gets an arrowhead by default. Closed figures are drawn in the clockwise dir-
ection, and an outline arrow indicates the direction, as shown here:
Background Tools
The Background combo box is used to select a background profile (values of back-
ground profile will be subtracted from all other profiles values). Background
smoothing is used to select the type of smoothing for background profile values.
The Points box indicates the number of points visible on the graph.
Line Profile collections are created by adding defined Line Profiles (that is, Line Pro-
filess defined in the active image) to the list of ‘remembered’ items through the
Features Manager dialog box. You can add a single Line Profile definition, or you
can add a group of :Line Profile definitions under a single name.
108
Chapter 3
The collection definition is added to the list box. Listed names represent the mem-
bers of the current collection.
When a single Line Profile is defined, a default name appears in the Name text
box of the Features Manager dialog box.
If you define more than one Line Profile on the image, the features manager gives
the entire group the default name, “Multiple.” Note that if multiple features are
defined in the image, they will be added to the list as a group regardless of which
feature among them is currently selected.
More information about the Features Manager appears in Chapter 8.
109
Line Profile Tools
The Edge Detection tools find peaks, valleys, and patterns in the line profiles. The
Edge detection tools are described below:
Peaks
Valleys
Rising Edges
Falling Edges
Use this tool to detect falling edges in the profile.
Manual
Click this button to activate the manual edit edge tool (used to add/re-
move edges on the image)
110
Chapter 3
Edge Setting
Use the pull-down arrow next to the tools to open the Settings dialog.
111
Line Profile Tools
The pattern matching feature lets you select a pattern template or create your own pattern:
Pattern A
Use this button to select pattern template A
Pattern B
Use this button to select pattern template B.
Pattern Settings
Use the pull-down arrow next to the tools to open the Label Settings dia-
log.
112
Chapter 3
113
Line Profile Tools
ance of a user defined pattern. You might use this option if you
were looking for a “W” shaped pattern on top of bright sections
of the profile, but you wanted to exclude such profile patterns
where the image was dark.
Size Weighting (%) is an additional setting for creating a user-
defined pattern. It defines the strength of the Match Size option.
Match Size is an additional setting for creating a user-defined pat-
tern. This edge finding method is based on matching amplitudes
in the user-defined pattern. The strength of the effect depends on
the Size Weighting property (stronger with greater Size Weight-
ing). You might use this option if you were looking for medium-
sized luminance peaks, but you wanted to exclude very bright
spots.
114
Chapter 3
3. Draw a line or two on the image, as shown here. Line 1 is red and Line 2 is green.
115
Line Profile Tools
Make sure that the tick marks option is turned on. The edges will be marked on the
image, as shown in the previous image.
A line profile displaying the variations in the edges will appear in the line profile win-
dow at the bottom of the Image-Pro workspace.
The Graph button displays the line profile as a graph, shown above.
The Table button displays the line profile information in a table, as shown
here:
The Measurements button displays the line profile information with a picture
strip below:
You can select the color for each class label, and have the labels appear on the image,
graph, or data table.
The Measurements group in the Line Profile ribbon contains features that allow
you to add measurements to the Line Profile shown above.
116
Chapter 3
The Font group lets you select the font style, size and color for the class labels.
The File group allows you to save or load the current state of the line profile tools.
The Collect group allows you to accumulate data to display in the data collector.
117
Line Profile Tools
Check the appropriate box to add or clear information for the data collector.
To exit the Line Profile ribbon, click the Close button.
118
Chapter 3
The colors are set using High level and Low level color pickers. Intensities that are greater
than or equal to the High Level threshold will be colored with the designated high color.
Intensities that are less than or equal to Low Level threshold will be colored with the des-
ignated low color.
The channels used for saturation test can be selected using Red/Green/Blue checkboxes or
by clicking the Channels button.
This is a sample of a partial image with the high saturation areas visible:
119
Using the Saturation Warning
The Reset button sets the controls back to their default values.
120
Chapter 5 : Working with Images
121
Chapter 4
Clicking the drop-down arrow next to the dye displays a list of available dyes:
Clicking the drop-down arrow next to the lens displays a list of available lenses:
The Lens is particularly important, as you can associate a spatial calibration with each
lens; in addition to the lens characteristics (such as Magnification) , a spatial calibration
will be applied to each captured image, assuring accurate measurements. Please refer to
the Using Spatial Calibrations section for more information.
This group can also display the magnification zoom level. You can select which char-
acteristics to display in the Display area on the Applications page of the Image-Pro
options dialog.
122
Viewing Optical Characteristics
The Mag. * Zoom display option controls display of the zoom magnification level (which
will always be at the top of the group, if displayed). As illustrated above, the group can
only hold 3 sets of controls, so when three options are checked, the fourth will be dis-
abled. To hide the Characteristics group, do not check any of the options.
Your selections will appear in the Characteristics group on the Capture tab’s ribbon:
1. To select optical characteristics, click on the drop-down arrow and select an item from
the drop-down list.
2. To edit one of the characteristics, click the edit button at the far right.
You will see an editing panel at the right side of the workspace.
The Lenses panel is shown here as an example:
123
Chapter 4
3. From this panel, you can edit or change the lens used to capture your images.
The Lens Library displays a list of available lenses with their calibrations.
124
Using Spatial Calibrations
Aspect Ratio
Aspect ratio refers to the ratio of vertical to horizontal lengths. For example, when a tele-
vision screen’s image appears flattened or squeezed, the ratio of horizontal length to ver-
tical length is out of proportion. Similarly, cameras often inadvertantly skew images in the
process of capturing them and translating them to digital format.
125
Chapter 4
Such skewing results in inaccurate lengths being ascribed to features that are measured in
the image. When a skewed aspect ratio has a flattening effect, vertical lengths will be
recorded as shorter than they actually are; when it has a squeezing effect, horizontal
lengths will be recorded as shorter than they actually are.
If an image has a known aspect ratio problem, Image-Pro can compensate for the flattening
or squeezing of vertical and horizontal lengths, and calculate the actual number of units
that measurements of its features represent. To do this, you must be able to supply it with
the value l/h (length divided by height) for a perfect square as represented in the image, or
there must be a feature pictured in the image that represents a perfect square. If a square
feature is pictured, Image-Pro can calculate the aspect ratio from that feature. (Companies
often ‘plant’ a perfectly-square object into images for this purpose.) The selected image
must have a reference feature of known size, which you will measure in step 5.
If you have configured your system using the Hardware Configuration Wizard (described
in Chapter 3), then you will not need to be concerned with Reference or System cal-
ibrations. A list of Reference Calibrations will be created and associated with your Lenses,
and when you select an active lens, the calibration associated with that lens will be made
the System Calibration.
126
Creating a Spatial Calibration
127
Chapter 4
Auto-Calibration
To use Auto-Calibration, follow these steps:
1. Open the image of the Stage Micrometer (included with the Image-Pro Demo Images).
128
Creating a Spatial Calibration
5. Click OK.
If the box is checked, you will see the Spatial Calibration dialog:
From here, you can rename your calibration and make further adjustments.
129
Chapter 4
2. Click the Calibration options icon to open the Spatial Calibration dialog box
in the panel on the right.
The dialog box controls are enabled. This dialog has two view, Basic and Advanced.
In the list-box in the control window (Calibration Name) select the set of calibration
values you want to apply to the image. If you want to use the default values, select
(none). Any calibration sets that were loaded or created since the application window
was last opened, will be listed in this list box.
You will not be able to enter calibration values until a name other than (none) has
been selected in the Name list box. If (none) is the only set listed, you can create a set
130
Creating a Spatial Calibration
3. Type over the default name “Spatial Cal 0” with a name that is more meaningful.
4. In the Unit area, pull down the Name list box and select the units to which you want
the pixel-level measurements converted, as shown below:
For example, if the size of objects in the image is best expressed in terms of micro-
meters, select “Micrometer” from the list.
5. In the Abbreviation text box, enter the text you want to use as the abbreviation for
the selected units.
For example, a typical abbreviation for ‘Millimeter’ is “mm” as shown below. The spe-
cified abbreviation will appear on measurement reports.
If there is a feature pictured in the image that has a known length value:
131
Chapter 4
If you have an image of a micrometer, you can calibrate the image auto-
matically:
132
Creating a Spatial Calibration
1. In the Aspect Ratio spin box, type the aspect ratio value to be used.
For example, if there is no aspect ratio problem to correct for, enter “1.”
Image-Pro automatically adjusts the value for the X spin box to match
the entered Aspect Ratio value.
TIP: Again, for greatest accuracy, it is often helpful to zoom in on the ref-
erence object.
3. Click OK.
The Spatial Calibration dialog box is redisplayed and the calculated
aspect ratio value appears in the Aspect Ratio spin box. Additionally,
the X and Y spin box values are automatically adjusted to account for
the aspect ratio.
Calibrating by Feature
Calibrate by feature option allow you to calibrate an image by a feature with known size.
Any line measurement can be used for image calibration.
Calibration by feature can be done using the following steps:
1. Create a measurement of an object of known size. For example, the length of a
bracket can be measured.
133
Chapter 4
2. Click the Calibrate by feature length button (the same function can be called from
the context menu in the Data Table).
3. Fill the feature size in calibration units and other calibration parameters, such as Units
and Calibration name in the shown Calibrate by feature dialog:
4. (Optional) Use the Show calibration dialog to adjust the calibration measurements.
5. Click Ok to create a new calibration and apply it to the active image.
Predictive Calibration
Predictive calibration lets you create estimated spatial calibrations based on the optical
characteristics of the camera and objectives. To use the predictive calibration feature, fol-
low these steps:
1. From the Calibration group drop-down menu, select Show Predictive Calibration.
134
Creating a Spatial Calibration
135
Chapter 4
The list of camera manufacturers and camera models is loaded from "Camera
list.cfg" file in the Resources folder of the application.
Saving Calibrations
Calibration definitions are saved per-session whenever they are applied to an image. If
you want calibration definitions to be saved between sessions, however, you must mark
them as Reference Calibrations or save them to a file. Once a calibration definition is
saved to a file, you can load it whenever it is needed in the future.
To save calibration definitions:
1. Click the drop-down arrow next to the Open Calibration button on the calibration set-
tings dialog.
The drop-down list box appears. If an active image is displayed in the Image-Pro
workspace that has a calibration definition assigned to it, that calibration definition
appears in the Spatial Calibration dialog box.
2. From the list box at the top of the Spatial Calibration dialog box, select the cal-
ibration definition you want to save.
3. Click Save from the Spatial Calibration group.
TIP: If you want to save all calibrations listed in the Spatial Calibrations list box,
skip Step 2 and click on the Save All from the Spatial Calibration group.
The Save Calibration dialog box appears.
136
Saving Calibrations
4. In the File Name text box, type the name you want to give to the current calibration
definition (or set of calibration definitions) being saved.
5. Click on the Save button.
Locking Calibrations
To ensure that your calibration measurements are not deleted or changed accidentally, you
can lock them. To lock a calibration, follow these steps:
1. Create a calibration using one of the methods described in this chapter.
2. Save your calibration.
3. Click the lock icon on the calibration ribbon:
137
Chapter 4
6. To unlock the calibration, click the open lock icon. You will see the Unlock cal-
ibration dialog:
You can use these features to import/export the calibration and calibration/lens linkage as
a package that can be imported into other copies of Image-Pro.
138
Saving Calibrations
When you add a calibration marker, Image-Pro adds it to the currently active image based
on the number of pixels in the image.
To set the calibration marker to appear in the active image:
1. Choose the Auto-Marker button from the Calibration Marker drop-down menu:
139
Chapter 4
3. Use the Position buttons to place the marker on the image. You can resize the marker
and the length and the label will be adjusted automatically based on the current size.
The length is rounded to the nearest value from the list of 10 logarithmically
equidistant values (1, 1.2, 1.5, 2, 2.5, 3, 4,…).
4. Set the Control options the way you want them. The Length (units) spin box controls
how long the marker will be. Image-Pro renders a marker of the length you specify
here. Adjust the Length (units) value so that the resulting marker line is long enough
to give an indication of scale, but not so long that it takes up the entire image width.
Also, use round numbers. Keys generally use ‘reference’ lengths, such as multiples of
25. The size of the calibration marker can be adjusted manually by resizing the marker
on the image. Note that the minimum marker size is limited by the width of the cal-
ibration label text.
5. Set the Font and Size options the way you want them. Use the Size spin box to indic-
ate the size, in points, to be used for the text. To hide the text and only display the
marker, set the font size to zero. Use the Color button to change the text color.
6. Set the Background options the way you want them. Use the Color button to change
the color of the background. Uncheck the Show button if you want to suppress the
background.
TIP: You may need to experiment with the Text and Marker settings to get the
desired effect. Go with your best guess the first time you set the marker. Once the
marker is added to the image, you can easily delete it and define a new one (see
“Deleting an Annotation” in Chapter 7, “Annotating Images”). By refining the Text
and Marker settings on subsequent iterations, you can achieve the desired effect.
140
Saving Calibrations
The length of the calibration marker can be adjusted manually by resizing the marker
on the image. In this case the minimum marker size is limited by the width of the cal-
ibration label text.
7. Click OK.
The calibration marker is added to the image.
n To add a marker automatically to all active images, click the Auto Marker
button.
When calibration markers are initially added to images, they are added as annotation
overlays. This means that they can be moved and deleted the same as any annotation.
This also means that they will only be saved with the image if that image is saved in a
TIFF format.
Note that Image-Pro does not support calibration of the Z-axis. Where possible, the
location of each Z plane along the Z-axis will be determined from Z stack sequences
or image sets that you open.
141
Chapter 4
142
Using Intensity Calibration
2. To create a new intensity calibration, click the New button on the Intensity
Calibration toolbar.
3. Choose a calibration name from the drop down list, as shown here:
The default is “Intensity Cal 0”. You can rename it if you choose.
A new intensity calibration curve will be displayed in the window.
New: Click this button to create a new set of calibration values. When this but-
ton is clicked, the Application will place the "Intensity Cal 0" name in the Name list
box (the 0 digit may be incremented to make the set name unique) and show the cal-
ibration curve. You can change this name to something more useful if you like.
Load calibration from file: Loads one or more saved calibration(s) from your
files.
143
Chapter 4
Delete: Deletes the current calibration. Clicking the drop-down arrow will
delete all your calibrations.
Ref Only: Click this button to display only the reference calibrations.
Units: Type the name of your unit in this field (e.g., gray level,
density, degrees, disbursement). This name will appear when the application reports
intensity data.
Abbreviation: Enter the short name of the units (as OD, ng etc.).
Log scale X and Y turns the logarithmic scale along the corresponding axis on the
chart on or off.
Toggle Reference Calibration: Click this button to mark or unmark the current
calibration as a reference calibration.
Toggle System Calibration: Click this button to mark or unmark the current
calibration as a system calibration.
Intensity calibrations are handled in the same way as system calibrations. To learn
more about system and reference calibrations, please refer to the section on page 5-7 of
this manual.
To use the edit mode, select the Options/Edit calibration button to see the tools for
editing the intensity calibration:
Use these tools to add, delete, or edit points in the image for intensity calibration.
144
Using Intensity Calibration
2. Click the Step Tablet Wizard button to display the following dialog:
3. Draw a line from center of the first to the center of the last step on the steptab image:
When the line is created, the bands on the step-tablet image are automatically detec-
ted and labeled:
4. Add the correct Output values for every Input value in the table.
Tip: you can create a file with Output values for certain types of step-tablets and use
it with multiple images using the Load and Save buttons.
5. Once you are satisfied with your values, save the calibration.
145
Chapter 4
From the Views group, you can select one of seven different ways to view your image:
n Image is the default view, with the active frame of the image or sequence dis-
played in the image workspace.
n Surface represents the Surface Plot view, which is an advanced view discussed in
the next section of this chapter.
n Gallery displays all of the frames of the sequence in a grid, and allows you to
quickly and easily change the active frame.
n Slicer displays X/Y, X/Z and Y/Z projections of a sequence in the slicer view.
n 3D displays X/Y/Z sequences as a volume.
n Bitmap represents the Bitmap Analysis feature, which displays the pixel intens-
ities of the active frame of the image, and is discussed in a subsequent section of
this chapter.
n Clone allows you to open another view on the active image in any of the sup-
ported viewers.
The Zoom group lets you focus on specific parts of an image using the Zoom, Pan,
and Local Zoom features. The Lock button lets you synchronize two images or
frames together.
146
Viewing a Surface Plot
147
Chapter 4
The lighter and taller areas of the plot represent areas of greater intensity on the image.
Areas of lesser intensity are shorter and darker. You have many choices for adjusting
the appearance and features of the surface plot diagram, as described here:
Draw Mode
The options in the Draw Mode group control the appearance and display of the sur-
face plot diagram. One of the three modes can be selected: Texture, Color or Wire.
In Texture mode the surface uses an image for the surface plot texture.
148
Viewing a Surface Plot
The Texture drop-down menu allows you to control the degree of transparency for the
surface plot. Transparency set to 0 indicates no transparency.
The Color group lets you select the colors to map to the gray values found in the sur-
face plot, as shown here.
149
Chapter 4
In Color mode the surface plot is pseudo-colored. The color is assigned according to
the height value. Click the drop-down arrow to see the context menu:
150
Viewing a Surface Plot
The number of wires along the longest image direction is defined by the resolution
Resolution
The Resolution group enables you to adjust the display resolution of the surface plot:
Style
This group controls the visual presentation of the surface plot diagram.
151
Chapter 4
Clicking the Axes button toggles visibility of the axes and walls on or off. The drop-
down contains the options:
The Text Color and Transparency of the walls can be set using the pull-down con-
trols.
Tip:To hide the walls but leave the axes visible set transparency to 100.
When Auto Range is on (default) the range of height axis is calculated based on the
image data. When the option is off the height range is defined by the display range of
the topology image (ActiveImage.RangeMin and ActiveImage.RangeMax properties).
.
The Light button toggles lighting schemes in the order defined in the Scheme list.
When the Light Scheme is set to None, the illumination is switched off. Northern
Lights scheme uses three light sources, the restof the schemes use only one.
152
Viewing a Surface Plot
The Background control defines the style and color of the graph’s
background. Start Color and End Color define the colors of any background gradi-
ent.
Geometry
The Geometry group lets you view the surface plot from different angles.
Increase Height
Use this tool to increase the height of your surface plot image.
Decrease Height
Use this tool to decrease the height of your surface plot image.
Reset Height
Use this tool to reset the height of your surface plot image back to its
original size.
Perspective Projection
Use this tool to create a perspective projection of the surface plot
image.
Orthagonal Projection
153
Chapter 4
XYZ Perspective
Use this pull-down menu to select the X, Y, or Z perspective
Output
The Output options determine where your surface plot settings and information will be dir-
ected.
Clipboard: Clicking this button sends your surface plot information to the Windows clip-
board, where it can be pasted into other applications that accept data from the clipboard.
Image: Clicking this button creates the surface plot in a new workspace. This function cre-
ates the surface plot in the same size as the original image. It is a good idea to create a
new image when you want to save or print the surface plot, because in this case the surface
plot has maximal resolution.
Animation: Clicking this button displays the Surface Plot animation dialog;
154
Using Gallery View
Rotation direction: Indicate the direction of the animation movement, either horizontal or
vertical.
Number of steps: These spin buttons define the number of frames in the output animation.
Angle range: These controls define the rotation angle of the total animation around X, Y
and Z axes in degrees.
See-saw animation: Checking this box causes the animated image to move up and down,
just as the name implies.
OK: Clicking the Ok button creates an animation sequence in the workspace. The new
sequence then can be saved as a multi-frame *.TIF or *.AVI file.
Clicking this button creates a image gallery workspace from the active workspace.
This feature is disabled if there are no active images, or if the active image is a single-
frame workspace. Here is a sample image gallery:
155
Chapter 4
The red square in the gallery workspace indicates the active frame in the larger work-
space. Use your cursor to click on different frames in the gallery, and the red square
will move to the selected frame, and the active image in the workspace will change to
the selected frame as well. You can also use the following keyboard shortcuts:
l <Ctrl> +<Click> will select or deselect more than one frame.
l <Ctrl> + <Mouse Wheel> zooms the view in or out.
l Clicking the right mouse button opens the context menu and also displays
image information:
Gallery Ribbon
The gallery ribbon contains the following tools:
Extract. Clicking this button extracts selected frames into a new image or set.
Extract Frame By Frame. This button extracts selected frames into new indi-
vidual images (a new image is created for each frame).
Average. Clicking this button creates a new image by averaging the selected
frames,
156
Using Gallery View
Difference. This selection creates a new image as the difference between the
selected frames.
l Wrap: Calculate the last frame as the difference between the last and first
frames.
l Diff Only: Returns only the difference frames (the result will be one frame
shorter than the original),
n Pad First - pad the result with first frame of no difference,
n Pad Last - pad the result with a last frame of no difference,
The Options let you specify how you will view the frames:
Show Range will show frames only from the range Start/End,
Show Every Frame will show each frame from the sequence,
Show Frame Number show or hide the frame number in the top-left corner
of the frame,
Show Frame Relative Time shows or hides the frame relative time
Show Frame Time shows or hides he frame date and time,
The Style tools let you customize the frame display:
Active Frame selects the active frame color
Selected Frame indicates the selected frames color
Active Range selects the active range color
Reset Style resets the colors to their default (Active frame – Red, Selected
frames – green, Active Range – yellow)
Reset Zoom resets the zoom of the frames to the default size
157
Chapter 4
Note: Edit Mode enables “Drag and Drop” operations with frames. This allows you
to (rearrange frames and add frames from the Image Strip.This feature is not usable
with image sets.
The Clipboard group contains the standard set of tools, applied to image frames:
Paste Click this button to paste frames from the clipboard into the image
next to the active frame.
Paste New exports frames from the clipboard into the new image.
Paste Frame by Frame exports frames from the clipboard into new
images (new image created for each frame).
Cut Click this button to cut selected frames from the image and place them
onto the clipboard.
Copy This selection copies the selected frames onto the clipboard.
Extract. Click this button to extract selected frames into a new image or set.
Extract Frame By Frame. Click this button to extract selected frames to new
images frame by frame (a new image is created for each frame).
Location
l First adds frames to the beginning of the sequence.
l Current adds frames at the current location (active frame).
l Next Current adds frames to the next from the Current location.
l End adds frames at the end of the sequence.
158
Using the Slicer Viewer
Clicking the Slicer button will create a slicer view of the current image:
159
Chapter 4
The top left view is the XY plane. The top right view shows the ZY plane. The bottom
left displays the XZ plane. The bottom-right displays a 3D view of the image.
160
Using the 3D Viewer
Clicking the 3D button creates a 3D view of the current image with the voxel size cor-
responding to the spatial calibration and the Z-distance between slices. Here is a sample
3D image:
161
Chapter 4
The image can be rotated by holding down the right mouse button and dragging the image
in the workspace. Pressing <Shift> + <Click> and dragging will pan the view. Pressing
<Ctrl> + <Click> and dragging the image up or down will change the zoom.
Note that if you are running Image-Pro with 3D Module, this feature is replaced by the
features described in Chaper 12 of this manual.
The Reload button allows you to reload the volume with different sub-sampling.
Clicking the drop-down arrow displays these choices:
l Reload
l Reload when Image changed
162
Using the 3D Viewer
You can also define the voxel size and sub-sampling manually. When the Auto box is
checked, the volume is subsampled automatically. Clicking the Reset button sets the sub-
sampling to 1x1x1.
The X, Y, and Z voxel size can be edited interactively in the Voxels Size group.
The Axes button turns the volume axes on or off. Activating the Smooth control enables
sub-pixel approximation of the texture.
163
Chapter 4
The Transparency slider of defines the volume transparency. The color of the background
can be changed using the Background color picker.
The Composition group defines the options to create the view:
Blended composition
Sum projection
164
Using the 3D Viewer
Clicking the Clipboard button copies the current view to the WindowsClipboard.
Clicking the Image button creates a new image in the workspace.
Clicking the Animation button opens a dialog where you can define parameters for simple
animation.
165
Chapter 4
Rotation angle controls define the rotation angle of the total animation around X, Y and Z
axes in degrees. (X = horizontal, Y = vertical, and Z = perpendicular to the screen).
Number of steps defines the number of frames in the output animation.
Clicking the Ok button creates an animation as a new sequence in the application work-
space. The new sequence then can be saved as multi-frame a TIF or AVI file.
The Settings group allows you to load or save your 3D viewer selections:
Load 3D viewer options and Save 3D viewer options allow you to load or save your 3D
viewer selections to a file with V3O extension (the file is in XML text format). Loading
saved options allows you to restore a particular view point and composition parameters.
Bitmap Analysis
The Bitmap Analysis command in the View group on the Image tab is used to view the
pixel values of the active window (or a region of interest on that image) in numeric format.
These values can be saved to an ASCII file for later use with an external program, or
copied to the Clipboard and pasted into another application (a 3D plotting package, for
example).
Pixel values can be displayed as they actually exist in the image or in their calibrated form
. They are not interpreted through the display LUT however.
The Bitmap Analysis window imposes no limit on the number of pixels that can be
processed. There is, however, a maximum of 30,000 pixels that can be saved, copied to
the Clipboard or transferred to Excel ™. If you need to save more than this number of
pixels, you can define an AOI that is less than or equal to 30,000 pixels, and process the
image in chunks (i.e., move the AOI systematically across the image and save the data at
each interval). Or, you can use the sub-sampling option to read the pixel values at larger
intervals.
Note:Consider carefully how much data you actually need to save in ASCII format; a 100
x 100 segment of a Gray Scale image (10K in binary image form) will consume over 60K,
and a True Color segment will take three times that amount.
To use the Bitmap Analysis feature, follow these steps:
166
Bitmap Analysis
After a few moments, a data table with the intensity values of all the pixels in the
image or ROI will appear in the workspace.
167
Chapter 4
The Bitmap context ribbon appears in the ribbon bar above the workspace:
The Copy group allows you to send the table data to the Windows Clipboard, Excel,
Word, or save to disk in *.XLS or *.TXT (tab-delimited) formats for printing.
The Layout group defines the size of cells in the table (Cell Width and Cell Height)
and the color channels layout (if you are workign with a color image). If the image has
more than one channel, the channels can be reported in Rows or Columns:
168
Bitmap Analysis
In column fornat, the channel index is displayed with a colon to indicate the pixel pos-
itions. For example, 392:2 indicates the Y coordinate is 392, in channel 2. Switching
to channels by Rows provides a pixel aspect ratio closer to the original image.
Sub-sampling is useful if you are working with a very large image. This feature lets
you analyze pixels at various intervals on the image.
The Options group let you display the pixel values as they actually exist in the image
or in their calibrated form.
Checking Image Background displays the image as a background for the bitmap data
table. This option can help visually identify the objects of interest.
169
Chapter 4
Zooming Images
The Zoom group contains the controls that allow you to resize the image or a portion of
the image.
There are several ways to zoom in and out on an image, that is, to display it at different
levels of magnification. You can:
l Use the Zoom button in the Zoom group
l Use Local Zoom
l Use the wheel on your mouse (if available)
l Use the scale bar.
170
Zooming Images
171
Chapter 4
The cross hairs in the Local Zoom window show the current cursor location. This makes
placing accurate manual measurements very easy, even on large images:
Zoom: Choose the required zoom factor from the drop-down list.
Cross hairs: Checking this box turns the cross hairs on; un-checking the box turns the
cross hairs off. The color picker button selects the color of the cross hairs.
2. Move the slider to the right to increase the size of the image, or to the left to decrease
its size. You may also click the arrow to see the drop-down list of zoom presets. The
scale bar also appears in the status bar at the bottom of the Image-Pro workspace.
Panning Images
The Pan tool is used to position an image that does not fit entirely within the image
window. You can:
l Use the Pan button in the Zoom group
l Pan in the Image Strip
172
Panning Images
n Click and drag the center of the viewing area on the thumbnail to control pan and
scroll of the image.
The Image Navigator feature allows you to use your mouse to move the white rectangle
around in the image strip. The zoomed portion of the image in the workspace will move as
you move the thumbnail in the image strip.
173
Chapter 4
Enhancing an Image
There are several tools available through Image-Pro’s Adjust tab for visually enhancing
objects of interest in your images. The features on the Adjust tab include:
Resizing an Image
Image transformation allows you to rotate or resize the image in the Image-Pro workspace.
These options allow you to examine the image in more detail. To resize an image, follow
these instructions.
1. Open the castiron.tif image in the Image-Pro workspace, as described earlier in
this chapter.
2. Select the Geometry group from the Adjust ribbon:
4. Click the lock icon and select a measurement unit from the drop-down menu.
174
Rotating an Image
This will maintain the current aspect ratio of the image. To unlock the aspect ratio,
click the icon again. You can find more information about aspect ratios in Chapter 3,
Capturing Images.
5. From the second pull-down menu, select the type of smoothing you require in your res-
ized image:
The resized image will appear in the workspace, with a name derived from the original
image’s name and a suffix indicating that the image has been resized, such as
castiron_100resz*.
Rotating an Image
Rotating an image allows you many different views of the same image. For example, you
can rotate it 90 degrees counterclockwise, or flip it left to right. To try some of the image
rotation features, follow these steps:
1. Open the image in the Image-Pro workspace, if it is not open already:
2. Select Rotate from the Geometry group:
175
Chapter 4
Swap corners
Free angle rotation:
l Angle indicates the angle of rotation counterclockwise.
l Preview displays a preview of the rotated ROI.
l Translucent displays the rotated preview in a translucent format.
l Ref. Grid displays a reference grid with the preview on the image at the spe-
cified grid angle.
l Trim will trim the rotated ROI to the same size as the original ROI.
176
Using the Canvas
You may want to experiment with the other Rotate tools. The Hint windows and tooltips
contain additional information about these tools. A sample hint window is shown here:
1. To use the canvas, click on the Canvas button on the Adjust tab’s ribbon.
You will see the drop-down menu, as shown here:
2. Use the Canvas command from the drop-down arrow to position the image on the
canvas, as shown here:
177
Chapter 4
From here, you can add annotations and labels to the image on the canvas.You can
also adjust the background and color. You can crop the image by removing space
around it.
178
Converting Images
Converting Images
Use the Convert group commands to transform an image to another color model, to extract
a specific color channel from a color image, or to merge an active, 8-bit gray scale image
into a True Color image. You might do this to perform editing or analysis upon the image
in another model or to save the image data in a different model for use with an external
program.
The Convert group is shown here:
To convert an image:
1. Select the Destination image type from the drop-down list.
2. Click Apply.
179
Chapter 4
Your image is automatically converted to the new model. Once you have set the con-
version options the way that you want them, you can click the Apply button in the
Convert group to convert the active image using the current settings without making
furrther changes.
180
Using Color Group Commands
Use the Extract selections to extract a specific color channel from a color image, and view
it as an 8-bit Gray Scale image. You might do this to reduce the saturation values in a
HSI image, or boost just the Blue values in an RGB image.
Use the Merge command to merge an active, Gray Scale image into a True Color image.
This is usually done to return a channel, extracted with the Extract Channel command, to
an image after the channel data have been manipulated. However, you might use it to
merge any Gray Scale image to a color channel in a True Color image.
Dye/Tint Images
The Dye/Tint feature lets you apply a color to your image(s) that corresponds to the emis-
sion color of your dye. If you are using color to explore the intensity distribution of your
image, please refer to the Pseudo Color feature later in this manual and in the in-product
Help. Click on the drop-down arrow to see the Dye/Tint dialog:
181
Chapter 4
Check the Tint Image On/Off box to show or hide the tint on your image.
Check Add to Color Composite to automatically add your tinted image to the color com-
posite image.
The Dye drop-down list displays a list of your current set of favorite dyes. You may select
a different dye from the drop-down list, and all the remaining controls will be updated to
show the characteristics of the new dye. If the dyes you want are not in the current set,
click the settings button to display the Dye Editor dialog, where you can view a com-
plete list of the available dyes. Here you can add select a new favorite dye, add a dye to
the list, or delete old ones.
The Emission Wavelength drop-down displays the emission wavelength for the dye you
have chosen. You can adjust the emission wavelength by clicking on the spectrum or enter-
ing a new value. The default Tint Color will change in response to changes in the emis-
sion wavelength.
The Tint Color box lets you choose a color to indicate a particular dye. Here you can
change the color associated with the selected dye, or define a custom color. The default
color is linked to the emission wavelength. When you change the emission wavelength,
the tint color and hue change. The default Tint Color can be adjusted to a different hue by
using the Hue slider or by entering a new Hue value. A completely custom Tint Color
can be selected by clicking the down-arrow next to the Tint Color box, and selecting a
standard or custom color.
The Emission Wavelength and Hue override a custom Tint Color, so to set a custom
color, you should first set the wavelength, and then set the color using either the Hue con-
trols or the Tint Color.
Click Apply to add your dye or tint color to the active image.
182
Using Color Composite
You can combine grayscale images into a color composite. Any group of grayscale images
that are of the same size can be mixed in a color composite. Images of 8-, 12-, 16-bit
integer or floating point format are combined into a 24-bit color composite. Each input
channel will have individual LUT adjustments, as well as a registration offset to line it up
with the rest of the images. You can also combine individual channels from a single
image. Each channel will be listed separately.
To create a color composite, follow the steps below.
1. Open the images that you want to combine. In this example, we are using the Blue_
DAPI_10.tif, Green_FITC_10.tif, and Red_TRITC_ 10.tif.
2. Click the drop-down arrow in the Composite area in the Color Group on the Adjust
tab.
The three demo images are combined into a single color image in the
Image-Pro workspace:
183
Chapter 4
The three original images and the combined image appear as thumbnails in the image
strip on the left side of the workspace.
The color composite dialog on the right side of the workspace contains information
about each image. Each of the original images represents a single channel in the com-
posite image:
184
Using Color Composite
Detailed information about each color channels can be displayed by clicking on the +
sign to expand the image information. You can make changes to the image inform-
ation, change the color display, or remove one image/channel entirely.
1. Click the eye button to show, blink, or hide the composite images, as shown here:
You can save your composite image as a single image or as an image set.
2. To save your composite, click the Apply button:
3. To save the composite as an image set, click the drop-down arrow and select image
set:
185
Chapter 4
Pseudo-Coloring an Image
Use the Pseudo-Color command to “colorize” an active monochrome (Gray Scale 8, Gray
Scale 12, Gray Scale 16, or Floating Point) image. You might do this to highlight cer-
tain features in a gray scale image. For example, you might want to display all densities
above a certain point in red, or, if your imaging device recorded thermal information, all
temperatures below a certain point in blue.
You might also use it to visually amplify specific intensities that are very difficult to dis-
tinguish from their surroundings. For example, features produced by pixels with values of
122 in a field of pixels with similar values would be impossible to see in a gray tone
image, but would jump out if that value were to be rendered in color.
When you pseudo-color a monochrome image, you build a special palette through which
your monochrome image is displayed. Pseudo-coloring an image does not modify the
pixel values in your image bitmap in any way (it does not convert your image to True
Color or Palette, for example). It simply associates a pseudo-color palette with the image,
that interprets the gray-level values in the image as color.
Pseudo-colored images are very similar in structure to Palette class images, but they differ
in a couple of important ways. First, the pixel values in a pseudo-colored image actually
represent continuous-tone intensity information, whereas a Palette image's pixels carries no
intensity significance. Secondly, a Palette image includes a palette table that is actually
part of the image file.
The pseudo-color palette associated with a pseudo-colored image is not a permanent part
of the image. It is a palette that you assign to the image while you work with it in Image-
Pro. Pseudo-color palettes can be saved to a disk file, and later loaded for subsequent use
with any monochrome (Gray Scale 8, Gray Scale 12, Gray Scale 16, or Floating Point)
image.
The basic steps involved in pseudo-coloring the active, monochrome image are to:
1. Select the Pseudo button from the Color group on the Adjust ribbon:
186
Pseudo-Coloring an Image
3. Check the Pseudocolor On/Off to show (or hide) the pseudo-coloring on the image.
4. Change the color assignments and refine the intensity division widths. This is done
using the Spectrum and Type drop-down menus or the color bar.
The Spectrum drop-down list lets you choose which colors will be used for coloring
the images. Choices include Blue to Red, Red to Blue, Cyan, Magenta, and Yellow.
You can also define a custom color spectrum.
Type lets you choose RGB, HSI CW, HSI CWW, or a custom type.
5. Specify the range of intensities you want to pseudo-color. The intensity range is spe-
cified using the Start and End spin buttons. You can load saved pseudo-color set-
tings using the Load button.
6. Specify the number of distinct colors you want to associate with the selected intens-
ity range. The number of colors is selected using the Divisions spin buttons.
7. Indicate the number of spins. If you want the spectrum to repeat over the intensity
range of the image, you can set the Spins to the number of times to repeat the spec-
trum.
8. Save the settings for future use (with the current image, or with another). This step is
optional. You do not need to save the pseudo-color assignments in order for them to
be applied to the active image. If, however, you want to save it for continuing use or
to exchange with a colleague, you need to save it. When you click the Save button,
Image-Pro saves the current pseudo-color palette settings.
187
Chapter 4
This tab contains all the features you may need to make and view changes to the
Lookup Table.
As you make changes to the LUT, you will see them reflected in the LUT profile
graph at the bottom of the workspace:
188
Changing the Display Range
Note: You will not get a dynamic LUT profile graph for *.AVI and *.SEQ files unless you
select an active frame.
If you are working with a black and white image, you can adjust the black and white
levels by using the BL: and WL: spin buttons, or typing new values in those fields.
Display range enhancements are implemented through a Lookup Table rather than by
modifying the image bitmap. The original appearance of your image can be restored at
any time. If you want to make the enhancements permanent, you must write them to the
image with the Apply Display to Image button..
189
Chapter 4
2. Click the Best Fit button to find the best display range automatically. You can use the
BL and WL spin buttons to make further adjustments to the display range.
As you move the sliders, the image in the workspace displays the changes in intensity.
2. Use your cursor to select the color channel that you want to adjust.
190
Changing the Display Range
191
Chapter 4
ance of your images are not permanent. This means they will not be saved with the image.
To make the enhancements permanent:
192
Using the Process Tab Features
Merge Files
Merge Files allows you to combine two sequence files into one file, or to add a new
image to an open sequence file. The Merge command always places the new sequence file
or image at the end of the open one (append). To use this command, follow these steps:
1. Choose Merge Files from the Combine group on the Process tab’s ribbon:
193
Chapter 4
If you have an image or sequence open, the files that you select will be merged with
the active image; otherwise a new workspace will be opened for the sequence. Select
the name of the file(s) you want to merge. If any of the files are sequences also, you
can select the starting frame of the sequence being opened, and number of frames that
you want to combine.
Sub-sampling
The Subsample feature in the Combine group on the Process tab allows you to create a
new sequence from a portion of the original sequence.
Interval: This control allows you to specify the interval that will be used for the sub-
sampling. In the example above, the subsampled sequence will be composed of every 2nd
frame of the original sequence.
Difference: These controls calculate the frame-to-frame difference of selected portions of
your sequence. New images are created using the subsampled portion of your sequence.
Wrap Around: Calculates the last frame as the difference between the last and first frames
Diff only: Return only the difference frames (result will be one frame shorter than the ori-
ginal)
194
Aligning Images
Pad First: Pad the result with the first frame of no difference
Pad Last: Pad the result with the last frame of no difference
Average: Calculates the average of all frames of the selected images.
Sum: Calculates the sum of all frames of the selected images. Note that the output image
will be a floating point type with the number of channels corresponding to the source
image.
Motion Detection: This feature will detect only moving objects and extract them to a new
image for use with object tracking. There are 3 methods:
l Average Global
l Average Running
l Median Running
The operation subtracts a filtered image from the original, so all static objects become invis-
ible and only moving objects are detected. The Size parameter defines the number of neigh-
boring frames that are used for filtering. When using Median, the size has to be bigger
than the movement of the object through the given number of frames. For small and fast
objects this value can be small, for big and slow objects the value should be bigger.
Aligning Images
The AlignImages feature allows you to align individual images, or images in a sequence,
for translation, rotation, or scaling. This feature is useful if you are working with images
taken over time, images with some camera movement, or if you are aligning channels in
multiple images from a beam splitter, or correcting for offset angles through a stereo micro-
scope Z-stack.
To use the Alignment feature, follow the steps below:
1. Open an image sequence.
2. Chose Align from the Combine group on the Process tab.
195
Chapter 4
Choosing Align aligns the active image sequence image using the default method
(FFT). The function can be used to do a quick alignment without opening the Align
dialog.
Align Selected adds the image selected in the Image Strip to the alignment list and
opens the Align dialog.
Set Selected to Align adds an image selected in the Image Strip to the Alignment list.
Align by Feature aligns the active sequence by the location of a reference feature
defined by the ROI. You should draw an ROI around the reference feature.Then define
the Search Radius, which corresponds to the maximum shift between the positions of
reference features on neighboring frames.Click the Align by Feature button to create a
new aligned image. This function can be used when alignment by whole image can be
problematic due to significant changes between frames.
You will see the Align dialog on the right side of the workspace:
196
Aligning Images
197
Chapter 4
198
Aligning Images
n You can use the Calculate button to get transform values without creating an
image. The transforms then can be adjusted or saved in the Manual method page.
The User method allows you to set the degree of alignment in the X and Y directions:
n Shift Per Plane Xor Y: Indicate the number of pixels to shift the images in each
plane.
n Trim Borders: If the alignment is purely translation, clicking this button
allows you to trim the output to include only those pixels that are
valid in each image. Otherwise the output image is the same size as the input
images, and empty pixels are filled with black.
n Calculate - creates transforms based on the defined values. The transforms then
can be adjusted or saved in the Manual method page.
The Manual method provides tools to adjust or define alignment transforms manually.
The transforms can be saved to/loaded from a file.
199
Chapter 4
n The table contains the list of current transforms, which are created by the FFT or
User method.
n Load/Save Alignment allows you to loadi and save profiles. Using this method
transforms created on one set of images (e.g. Bright-field) can be applied to
another set of images (e.g. Fluorescence).
n The Reset button resets the list of transforms. The number of entries is set to the
total number of frames in the Selected images.
n Clicking the Adjust button opens the Manual Alignment dialog, where image
transforms can be adjusted manually:
200
Aligning Images
A pair of images is shown on the right side of the dialog. The preview window
can be zoomed in/out using the mouse wheel, or dragged using the left mouse
button. The images are combined using the selected Composition method.
The following compositions are included:
n Average . The average of two images is shown
n Red Green Pseudo-color. The first image is converted to Red and the second
to Green.
n Toggle Frames Fast. The images are toggled 10 times per second.
n Toggle Frames Slow. The images are toggled one time per second.
The Translation group allows the planes to shift in the X or Y directions.
The button resets the zoom and translation of the preview window.
The Rotation defines the rotation angle in degrees.
201
Chapter 4
Clicking Ok applies the new transform to the align table. Cancel closes the dialog
without changing the transforms.
7. Whatever method you select, click the Calculate button. The Manual Method dialog
appears.
8. Click the Adjust button. You will see the Manual Alignment dialog.
202
Using Extended Depth of Field
9. When the parameters are set to your satisfaction, click the OK button.
10. To align the images, click the Apply button.
The aligned images will be saved in a file, such as Paper_Aligned .
2. Click the drop-down arrow. You will see the EDF dialog:
203
Chapter 4
3. Click the Add button to add the images to the Selected Images list.
204
Using Extended Depth of Field
The Selected Images list shows the images added for EDF. You can add images to the
list using the Add button or by dragging images from Image Strip and dropping them
to the list You can change the position of an image in the list by dragging and drop-
ping.
Clicking the Add button on the selected image in the Image Strip to addit ot he selec-
ted images list. The All button (in the Add button’s drop-down ) will add all open
images to the list. Images can be removed from the selected list by clicking the
Remove button. The selected list is reset by the Clear button.
Images of different sizes and classes are not accepted in the list. The output images
will have the same size and class as the first image in the list.
4. Click the Preview button.
Activating the Preview button will show EDF Test Strip which shows the preview res-
ults of all focusing methods in a separate window. A sample EDF test strip appears
here:
205
Chapter 4
l Activate best-focus frame: Clicking this button activates the frame that has
maximum contrast within the active ROI.
206
Using Extended Depth of Field
l Medium Edges: Edges are extracted from the average of the stack assuming a
mid-scale blurring.
l Large Edges: Edges are extracted from the average of the stack assuming a
large-scale blurring.
l Generate Topographic Map: Clicking this button creates a topographic map from
the focused image.
207
Chapter 4
l Create Intensity Calibration: Check this box if you want to generate an intensity
calibration for the combined EDF image.
l Create Surface Plot: Check this box if you want to generate a surface plot image
of the combined EDF image.
l Smoothing: Choose a smoothing factor for the topographic map image.
7. When all the parameters have been set, click the Apply button.
208
Tiling and Stitching
2. Select Tiling from the Process tab. The workspace will be blank.
3. Drag and drop a group of images or a sequence from the Image Strip into the work-
space. The tiled view will look something like this:
209
Chapter 4
The Add group lets to add or delete images from the tiling view. Using the drop-down
menu, you can add images individually or select Add All.
Add all adds all the images into the view frame by frame.
You can display them as a cascading group, aligned by increasing or decreasing height, by
X, Y, and/or Z position, in columns or in rows. You can also flip the images from left to
right or from top to bottom to gain a different perspective. The settings let you set the dis-
tance between the tiles and the border.
Height decreasing aligns all the frames in the view by height decreasing.
210
Tiling and Stitching
Height increasing aligns all the frames in the view by height increasing.
By XYZ aligns all the frames in the view according XYZ coordinates (available if all
frames in the view have valid XYZ coordinates).
By Columns aligns all the frames in the view by columns (quantity images in the
column set in “Images in Column”.
By Rows aligns all the frames in the view by rows (quantity images in the row set in
“Images in the Row”).
Flip Left-Right flips all the frames in the view from left to right.
Flip Top-Bottom flips all the frames in the view from top to bottom.
Z-Order uses the Z-stack order to align the images.
Images in Column numbers the images in the column and then aligns them by columns (0
– auto count).
Images in Row numbers the images in the row and then aligns them by rows (0 – auto
count).
Border indicates the border size in pixels.
211
Chapter 4
212
Tiling and Stitching
213
Chapter 4
Shading correction is performed by dividing tile images by background image. The back-
ground image can be either created by averaging of all tiles (default) or by using one of
the empty tiles (tiles without texture). When the Selected Tile option is active user can
select a tile on the view and click the Set Tile as Background button to set that tile for
correction. The tool-tip over the Set Tile button displays the name of background tile. The
Smoothing combo box defines the size of low-pass filter applied to the background image.
The size is defined in percent’s of the image size.
Clicking the Correct Background button applies shading correction to all tiles.
In some cases the tiling view will still have tile rows or columns visible due to differences
in average intensities between rows and columns caused by EM charge effects, lamp vari-
ation, etc. Clicking the Normalize button will compare intensities across tile borders and
rescale intensities to minimize this issue as much as possible.
214
Tiling and Stitching
Display group contains controls for adjusting tile LUTs for better viewing while looking
at the results in the mosaic.
Best Fit stretches the display LUT to enhance contrast as much as possible, Brighten and
Darken scale the viewing gamma, and Reset will put the display settings back to defaults.
Note that contrast adjustment does not modify the data, just the display, also the LUT can
be adjusted on the source images and that will be synchronized with the tiling view.
The Result group lets you combine the tiles into a new image or image set.
215
Chapter 4
Add/Edit ROI activates the Add/Edit ROI mode. ROI defines the size of the result
image.
generates the resulting image or image set. Click the drop-down arrow to see the
options
Tiled Image: Tile frames within the ROI are stitched together into a single frame in a new
image. Stitching is done with the current tile placement and the desired Blending Method
(see below)
References Set: A new image set is created holding references to the tile frames that inter-
sect the ROI; these frames are placed into the XY (Scan) dimension of the set. The referred-
to frame X,Y positions are not modified from their original values and no copy of the
image data is made. If you save and then reload this image set into a tiling view, you will
get the original, unadjusted, tile placement.
Copies Set: A new image set is created holding copies of the tile frames that intersect the
ROI; these frames are placed into the XY (Scan) dimension of the set. The copied frame
X,Y positions are modified to reflect the current placement of the tile frames and any warp-
ing that needed to be done to support multi-point registration. If you save and then reload
this image set into a tiling view, you will get the current, adjusted, tile placement.
Tiled Set: A new image set is created holding equal-sized frames that cover the ROI com-
pletely with no overlap. The new tiles are created by stitching together frames in the tile
view with the current tile placement and the desired Blending Method (see below). The res-
ulting tile frames will have no overlap and are placed into the XY (Scan) dimension of the
new image set. Usually the tiling will be larger than the ROI, with excess portions needed
to fill out a full tile to the right and bottom set to black. If you save and then reload this
image set into a tiling view, you will get the a new, perfect (no overlap) tiling rounded out
to a full tile.
216
Tiling and Stitching
Blending Method: This option is only significant if images are overlapping in the Tiling
View workspace. This option controls how the overlap is blended when the new stitched
image is created. The overlap can be blended by gradually fading it out. This is the "Gradi-
ent" method. The overlap can be blended by trimming the overlapping portions in half.
This is the "Trim" method. Alternatively you can use no blending method at all.
The Tiling Options let you specify more aspects of the tile view display and results:
Checking Allow Resize activates the Reset Size button. This will automatically reset your
images to their original size.
Keep Aspect Ratio maintains the aspect ratio of the original images in the tiled image.
Checking Transparency lets any background to show through.
Show Info displays the image information as an overlay on the tiled images.
Boundaries displays the outline of each tile in the image workspace.
Background opens the color picker, where you can change the color of the workspace
background.
The Font group lets you specify the appearance of any labels on your tiled image.
217
Chapter 4
Comparing Images
The image comparison feature enables you to compare two images that may have changed
over time. You will find the Image Compare feature in the Compare group on the Cap-
ture ribbon.
6. Use the Parameters and Options groups to make changes to the transparency, back-
group, and other characteristics.
7. Click Apply A new image will be created from the comparison of the two selected
images.
218
Comparing Images
219
Chapter 4
Image Math
The Image Math, or Calculator feature, lets you combine and contrast two images using
arithmetical and logical operations between images and numbers. This feature appears on
the Process tab.
Clicking the Calc button in the Math group opens the drop-down window with arith-
metical operations controls.
Image 1: Select one of the images in this list box to use as the first operand.
Image 2: Select one of the images in this list box to use as the second operand.
Operation buttons: Select the kind of operation you want to perform.
AND: Click this button to perform a logical “AND” to combine both images.
Only bit values that are “on” in both images will be “on” in the result.
OR: Click this button to perform a logical “OR” between the two images. Bit val-
ues that are “on” in either image will be “on” in the result.
XOR: Click this button to perform a logical “XOR” (exclusive OR) between the
two images Only when a bit value is “on” in one operand and “off” in the other will the
bit be “on” in the result. If bit values are “on” in both operands, or if they are “off” in
both operands, they will be “off” in the result.
220
Image Math
NAND: Click this button to perform a logical “NAND” between the two images.
“NAND” produces a result that is the complement of an “AND” operation. Bit values that
are “off” in either or both operands will be “on” in the result.
NOR: Click this button to perform a logical “NOR” between the two images.
‘NOR” produces a result that is the complement of an “OR” operation. Bit values that are
“off” on both images will be “on” in the result.
NOT: Click this button to perform a logical “NOT” on the bit values of your act-
ive image. Every bit value that is “on” in the active image will be “off” in the result.
Every bit value that is “off” in the active image will be “on” in the result. Use this com-
mand to invert the pixels in your image, producing a negative effect.
Add: Click this button to add the two images. If a pixel's result falls outside of
the image's intensity scale, it will be clipped to the highest /lowest permitted value. If you
have set the Add to result value, it will be added to the result before it is written.
Subtract: Click this button to subtract the second image from the first image. If a
pixel's result falls outside of the image's intensity scale, it will be clipped to the highest
/lowest permitted value. If you have set the Add to result value, it will be added to the
result before it is written.
Diff: Click this button to obtain the absolute value between the two images. If a
pixel's result falls outside of the image's intensity scale, it will be clipped to the highest
/lowest permitted value. If you have set the Add to result value, it will be added to the res-
ult before it is written.
Multiply: Click this button to multiply the first image by the second one. If you
have set the Scaling factor value, each result will be multiplied by the Scaling factor
before it is written.
Divide: Click this button to divide the first image by the second one. If you have
set the Scale value, each result will be multiplied by the Scale before it is written.
Average: Click this button to replace each pixel with the mean value of the two
images.
221
Chapter 4
Log: Click this button to replace each pixel with its natural logarithm. Pixel values
less than or equal to 0 are invalid.
Square Root: click this button to replace each pixel with its square root. Pixel val-
ues less than 0 are invalid.
Square: Click this button to replace each pixel with its second power.
Inverse: Click this button to replace each pixel with its inverse (1/pixel). Argument:
Number: new pixel = Number / original pixel. Pixel values equal to 0 are invalid.
X to the power of Y: Click this button to replace each pixel with its Yth power. Y
is limited to positive values. Pixel values less than 0 are invalid if Y is less than 1.
Set: Click this button to replace each pixel with the same given number or with the
corresponding pixel in the second image operand.
Exp: Click this button to replace each pixel with its exponent.
Maximum: Click this button to replace each pixel with the largest value of the
two operands.
Minimum: Click this button to replace each pixel with the smallest value of the
two operands.
Image: Set this option if you want to use another image for the specified operation. You
must also select Image 2 in the list box above. The two images need not be of the same
image class. The result has image class of the first image.
Number: Set this option if you want to use a constant value for the specified operation.
If a logical operation has been selected, numbers from 0 - 255 can be entered. If an arith-
metic operation has been selected, any value can be specified, including negative and frac-
tional values.
Image Equation summarizes the formula that will be used to perform the operation.
Apply: Click this button if you want to write the results back to the active image or
AOI. Results will be placed into the same pixel positions from which they originated.
222
Image Math
New: Click this button if you want to write the results into a new window. The new
window will be of the same size and class as the original image or AOI.
Float: Click this button if you want to save the results into a floating point image.
223
Chapter 4
The Options allow you to create a new image from the background image.
Extract background image displays the background image during black and white Cal-
culation.
To use the Background Subtraction command, follow these steps:
1. Open the image that you want to correct.
2. Click the Subtract drop-down arrow .
You will see the following dialog:
224
Correcting the Background
3. Choose a dark or light background for correction, and indicate the feature width or
black level. Your corrected image will appear in the workspace.
You may also use the browse button to choose a saved image to work with; or create
a background image from existing points in the active image.
225
Chapter 4
Applying Filters
Image-Pro filters are used to emphasize features of an image. The instructions below
demonstrate how to apply the Sharpen filter to accentuate the edges in the castiron.-
tif image.
1. Open the rice.tif image in the Image-Pro workspace, as described earlier in this
chapter.
3. Choose the Sharpen filter from the drop-down list of available 2D filters.
226
Advanced Filters
Advanced Filters
The Sharpen and Blur filters are only two of the 2D filters available in
Image-Pro. To see the complete set of available filters, click the arrow for the drop-down
menu:
227
Chapter 4
You can also preview the filter in a strip. Cleck the box filter strip box in the drop-
down menu:
The filter strip shows how the image will appear after sucessive numbers of passes:
3. Click Apply to apply the filter to the whole image. To save your filtered image as a
new image, check the New Image box.
228
Using the Grid Overlay
229
Chapter 4
230
Using the Grid Overlay
The example grid below displays the points marked as large squares in a pattern
spaced 20 pixels apart
7. Indicate the size and color of the grid using the options in the Margins panel:
8. When you are satisifed with your parameter selections, click Apply .
Your grid will appear on the image in the workspace. It will stay in place until you
choose Remove to erase it.
231
Chapter 4
232
Viewing the Image Spectrum
A copy of the original image with the noise removed appears in the workspace.
This process may take a few moments. When the transformation process is complete,
the fftprint-fft.tif containing the spectrum appears in the workspace.
233
Chapter 4
The spectrum appears as a centered cloud of points, with 4 bright points outside of the
central point. These 4 points represent the pattern noise you see in the image.
To eliminate the anomalous frequencies (the 4 outside bright points) you can defining
an AOI around them and cutt the frequencies from the spectrum.
1. From the FFT Filter Options dialog, select Spike Cut.
234
Viewing the Image Spectrum
A copy of the original image, without the noise, appears in the workspace.
235
Chapter 4
236
Image Sequences
Image Sequences
Image-Pro allows you to open and navigate multi-frame images saved in the
.seq format. The sequence viewer is automatically used for images that have
more than one frame. The image sequence tools appear in the Combine group on
the Process tab’s menu:
To see the image sequence tools, click the drop-down arrow under Subsample:
Merge Frames merges the frames in all selected images into a sequence.
Subsample creates a subsampled sequence of selected images.
n The Interval control defines the sub-sampling frequency. The active frame range of the
sequence is used; the operation always starts from the first frame in the active frame
range. When Interval is less than 1, the input sequence will be oversampled.
n Offset defines the position of the first frame of subsampled sequence.
237
Chapter 4
Note that all sequence operations work with selected images. Multiple images can be selec-
ted in image strip using <Ctrl> or <Shift> clicks. If no multiple images are selected, the
active image sequence is used for processing.
Difference calculates frame-to-frame difference in selected images. The Options define how
the last or first frames will be processed:
Wrap Around calculates the last frame as the difference between the last and first
frames
Diff only return only difference frames (result will be one frame shorter than the ori-
ginal)
Pad First pad the result with first frame of no difference
Pad Last pad the result with a last frame of no difference
Normalize normalizes frame intensities on the whole sequence. The function uses the act-
ive frame as the reference and scales intensities on all other frames to match the mean
intensity of the reference frame. If the image contains ROIs, the sequence is normalized by
intensities within ROIs. The function can be used to normalize frame intensities on Z
stacks before segmentation (including 3D) and measurements. When the option By Gain
and Offset is active illumination is normalized by Gain and Offset, when the option is off,
only normalization by Gain is used. When the option is On the Gain is calculated based
on standard deviation of the intensity, when off - from the Mean value of histogram.
Average calculates the average of all frames in the selected images.
Sum calculates the sum of all frames in the selected images. Note that the output image
will be a floating point type with the number of channels corresponding to the source
image.
Maximum creates maximum intensity projection of all frames.
Minimum creates minimum intensity projection of all frames.
Motion Detect operation will detect only moving objects and extract them to new image,
then this image can be used with tracking. There are 3 methods: Average Global, Aver-
age Running and Median Running. The operation subtracts filtered image from original,
so all static objects get invisible and only moving objects get detected.
The Size parameter is used with Running algorithms and defines the number of neigh-
boring frames that are used in filtration. When using Median, the size has to be bigger
than the movement of the object through the given number of frames, basically the object
has to cross any point for the given number of frames. For small and fast objects this value
can be small, for big and slow the value should be bigger.
238
Image Sequences
Flip to XZ: Flips sequence to XZ plane, so the new sequence will have Y axis cor-
responded to Z axis of the original sequence.
Flip to ZY: Flips sequence to ZY plane, so the new sequence will have X axis cor-
responded to Z axis of the original sequence.
The last selected operation will be set as default for Sequence operations button:
The sequence viewer is automatically used for images that have more than one
frame. The sequence viewer has an on-screen toolbar, which appears only when
you move your mouse over the image. The example below shows the sequence
toolbar superimposed on the bottom of the image:
The toolbar becomes less transparent (more opaque) when the mouse is over the
toolbar:
239
Chapter 4
Go to first frame
Go to last frame
Use active range applies filters and other Calculation to the active range of
frames (on) or to the individual active frame only (off).
Click Set Start or Set End to set the current frame as start or end of the active
playback range of the sequence. By default the range is set to all frames.
The Rate control defines the playback speed in frames per second.
Loop combo-box determines the action taken during playback when the end or
beginning of the sequence frame range is passed. Choose one of the following
options:
240
Image Sequences
Click this button to move the toolbar to the area above the status bar.
Clicking the button will move the toolbar back to the image.
This button also displays the Advanced Sequence Control toolbar.
This version of the toolbar contains all the functions of the smaller version and displays
the frame numbers also.
You can also use <Ctrl>+<mouse click> and <Shift>+<mouse click> to select active
frames for processing.
241
Chapter 4
242
Using the Active Data Overlay
When you click Show, the data overlay will appear on the active image. In this
example, the overlay data appear on the upper and lower left sides of the active image.
A calibration marker appears at the lower right.
As you play the sequence, the overlay information updates the frame number and time
information.
4. (Optional) Clicking Marker will turn the calibration marker at the lower right of the
image on or off.
Marker Options let you adjust the position and appearance of the calibration marker:
243
Chapter 4
5. Click Convert to Annotation to convert the data overlay to an annotation that can be
saved with the image.
All of the properties can be expanded by clicking on the + sign at the left.
To show or hide an item in the overlay, click the button in the Show column. The
button will turn yellow when the item and its sub-items are visible in the overlay.
Hold down the <Ctrl> button when you click to prevent toggling of the sub-items.
244
Customizing the Data Overlay
The Location drop-down menu contains predefined locations (Top Left, Top Right,
Bottom Left, Bottom Right). You an create new locations using the Add button
and defining a name and an icon for the new location.
You can adjust the alignment of the location (Left or Right, Top or Bottom). Note that
alignment of predefined locations cannot be changed and they cannot be deleted. Off-
set defines the space between window border and location anchor. Width of both
columns (Title and Value) are defined in percents of window width.
You can modify font, shadow and opacity in this dialog. Note that all changes are
applied to the current item and all its sub-items, as with the Show button..
245
Chapter 4
The layout and attributes of the overlays are saved between sessions. These settings
also can be saved and loaded using the Save and Load buttons.
246
Using Live Extended Depth of Field
The Run button will be enabled only when a live preview or image sequence is act-
ive. Clicking the button will start the EDF acquisition on a live image. live EDF pro-
cess is active the button background turns orange and the text changes to Stop.
Clicking the button again will stop live EDF. If the active image is a sequence the
text changes to Run and clicking the button will execute an EDF acquisition on all
frames of the sequence.
2. Clicking the drop-down arrow displays the Live EDF options:
247
Chapter 4
When the Accumulate option is on every new live image is added to the com-
position. This option is preferable for Local contrast composition. In other modes you
can switch this option off and add images to a composite manually by clicking the
Add button.
5. Composition Mode: Make a selection from the pull-down combo box of composition
options:
n Local contrast: Choose this option for real time EDF using the Local Contrast
algorithm. This is most useful for high contrast brightfield images.
n Maximum: Choose this option for real-time EDF using the maximum composition
mode for sample imaging on a dark background. For example, imaging of fluor-
escent samples.
n Minimum: Choose the minimum composition mode for transparent mode illu-
mination of brightfield images
n Difference: Illustrates the difference between the base image and the current image
(image with a grey background)
n AbsDifference: Shows the absolute difference between the base image and the cur-
rent image. Background is black, but you can also activate Pseudo-color on gray
images, so you that can see changing objects in color on a black background.
6. Click the Options… button to see the Live EDF Options dialog:
248
Using Live Extended Depth of Field
Stereo Alignment:
n Alignment area width/height: Indicate width and height of the size of the area in
the middle of the image, which is used for stereo alignment of images in EDF. If
the images have alittle texture the area can be extended to achieve better cor-
relation
n Align by Previous: This option defines the alignment method, which is used with
Auto Align (Stereo) mode. When the option is on, the new image is aligned by
the last added to image, then the option is off, the start image is used to align all
following images.
Blending:
n Defocusing diameter defines the size of the filter that detects in-focus areas on the
image. The default value is 6.
n Plane blending sets the size of the blending area between in-focus zones from dif-
ferent planes. The default value is 4.
Output Window Position
249
Chapter 4
n Side by side: When this option is on, the workspace is split into 2 panes, where
the live preview window is on the left and the output window is on the right.
Task
n Run in background thread: When the option is on, the Live EDF is started in a
separate thread. This option should be used with multi-core processors, so Live
EDF will run in parallel to the live preview and not slow down preview frame
rate.
Reset
n Click this button to reset the Live EDF settings to the default selections.
7. Click the Reset button to restore the defaults for all options.
A sample dual-viewed, real-time EDF composite image is shown here:
250
Using Live Tiling
2. The Run button will be enabled only when a live preview or image sequence is act-
ive. Click the button tostart tiling on a live image. When the Live Tiling process is
active, the button background turns orange and the text changes to Stop.
3. Click the button again to stop Live Tiling. If the active image is a sequence the text
changes to Run and clicking the button will will tile all the image frames in the
sequence.
4. Click the drop-down arrow to display the Live Tiling options:
251
Chapter 4
outline of the original frame when you move objects under the microscope. The tiling
uses cross-correlation to find the image shift. Use objects with texture for tiling. Note
that empty fields cannot be aligned correctly automatically. When you see that the yel-
low frame follows the image correctly, you can start tiling. Note that the maximum
image shift between slices cannot exceed 25-40%.
n Motion Detection:Motion blur is a common problem with capturing images of
moving objects. This problem can be eliminated by activating the Motion detec-
tion option. Activating this option is recommended for long exposure times.
When this option is active, a new tile in auto-tiling mode will be added only
when the camera is still.
n Use EDF Adding Tiles: If the image contains out-of-focus areas, use the Use EDF
Adding Tiles option. When this option is on, every new tile is added using the
EDF algorithm.The borders of the EDF image are blended with BlendingWidth
(see Tiling Options).When the option isoff, the tiles are added with full overlap
blending. The option can be activated temporary to merge several focus planes
adding tiles using the Add button.
n Auto EDF: When the Auto EDF option is on, the new images are added to the
output constantly and clicking the Add button is not necessary. You can simply
adjust the focus, and during the adjustment the EDF image will be created. EDF
images are not added when the stage is moving.
n Show Crop ROI: Shows the outline of any ROI on the image.
n Set New Position: Use this button if, in the middle of creating a tiled output, you
want to continue from another side of the tiled image. Clicking the button will
activate the position selection mode, where you must click on the output image
where you want to continue tiling. You will see the following message;
252
Using Live Tiling
n Background Color: This option is used for empty areas outside the tiles on an out-
put image. Clicking the Pick from Image button will activate the color picking
tool, which you can use to select a color for the image.
n The easiest way of tiling is with the Auto tiling option. In that case the
images will be added to the output automatically when the image shift exceeds
25% (whenan internal yellow rectangle touches the image border). Move the
stage slowly, and the images will be acquired and tiled automatically.
6. Move the object by 30-35% from the original position (when the inner rectangle will
touch image border) and stop the stage. The image will be automatically captured
when the object will stay still for 2 frames. It will eliminate motion blur and improve
the quality of tiled image.
7. Repeat step 2 (move-stop) until whole area is tiled.
The tiles can be also added manually using the Add button. If the tiled position is
not correct you can use the Undo button to remove the last tile and try other location.
Note that if you use Auto tiling the Add button will be switched off.
8. To use the Add feature, click Undo and move microscope to the location when
correlation is stable. Then activate Auto tiling option again.
9. When the tiling is done, click the Stop button. It will stop the output and any blank
areas will be filled with the background color.
10. Click the Options… button to open the Live Tiling Options dialog:
253
Chapter 4
n Tiling Undo depth: This option defines the number of undo buffers.
n MatchingThreshold: Use the matching threshold for new images. The matching
threshold is within 0...1 range, and the default value is 0.25. If the image cor-
relation is below the threshold, the tile is not automatically added, although it can
be added using the Add button.
n Color and Sound. Select the Normal color, Go color, and Error color: These
options define the colors use for the tracking box for normal, active, and error
states. You may also indicate if you want to play a sound when an error is detec-
ted.
n Blending: When the Use blending adding tiles option is on (default) new tiles are
added using gradient blending, so no edges between tiles is visible.
n Info Messages: Check these boxes to see helpful messages when clicking Undo or
Set New Position.
n Output Window Position:Side by side: When this option is on, the workspace is
split into 2 panes, where the live preview window is on the left and the output
254
Using Live Tiling
255
Chapter 4
1. To create a new audit trail, click the Audit Trail button. You will see the following
dialog:
All of your previous Audit Trail sessions are displayed in the column to the left.
2. To see details, click the plus sign + next to the session name. The expanded Audit
Trail information apppears:
256
Creating an Audit Trail
3. To insert the Image Signature information into the Audit Trail, clicking the Image Sig-
nature button. A new line item appears in the Audit Trail:
The image signature contains only pixel data from the selected image.
4. Click the File Signature button to insert the File Signature information into the Audit
Trail.
The file signature contains all available data from the selected image, including head-
ers, metadata, and so forth.
Enable Audit Trail enables the application’s Audit Trail, which logs all the operations per-
formed by the software. The resulting file is saved automatically every five minutes as well
as at the end of the session. It includes all the sessions for the current day and has its own
digital signature used to guarantee its authenticity.
Enable Document Trail enables individual document trails, which collect operations done
by the software on each documents. When documents are saved, their history trail is saved
in a file with same name as the document’s but with the additional extension
“.audit.xml”, unless the following option is on:
Embed Document Trail enables embedding of document trails in document files when
supported; in this case there is no separate file.
Automatic File Signature inserts the file signature into the Audit Trail automatically.
Automatic Image Signature inserts the image signature into the Audit Trail automatically.
257
Chapter 4
The Application Audit Trail opens the Audit Trails for this application.
The Document Audit Trails opens the audit trail associated with this image or doc-
ument.
Image Signature inserts the image signature information into the audit trail.
File Signature inserts the image signature information into the audit trail.
Custom Audit allows you to insert a customized line item into the audit trail.
258
Very Large Images
259
Chapter 4
l The image file contains multiple resolution images of the same subject matter,
from a whole-image thumbnail through other subsampled resolutions up to the nat-
ive resolution that was originally captured, and
l The image file supports tiled/random access to portions of the image.
All of these controls are identical to the same controls in the Image ribbon, except for the
Crop command, which will behave in exactly the same way as the Extract button on the
on-image toolbar.
Other VLI tools include:
You are able to create a normal ROI on the image, and work with that part of the VLI.
The Extract button extracts a portion of the image to a new, normal image workspace.
The Resolution slider selects the sub-sampling resolution to use, or the size ratio.
The Emphasis switch allows you to select whether the toolbar should emphasis preserving
the size ratio (by auto-adjusting the size of the ROI), or the region of interest (by auto-
adjusting the resolution/size ratio).
The memory limit slider lets you set the percentage limit of the available image memory.
This could be set to 80-90% if only one copy of the extracted image is needed, or may
need to be 10-20% if multiple copies of the image are needed for processing, etc. This
260
Large Image Tools
memory limit is used during the computations that the tool uses to auto-adjust either the
resolution or the ROI.
The memory usage bar will graphically display the percentage of the specified memory
limit that would actually be used when extracting an image with the current combination
of the image ROI and the selected resolution.
To work with VLIs, follow these steps:
1. Open the image from your hard drive. VLIs cannot be opened from a network drive to
due size and memory constraints. In this example, we are using the image called
breast cancer.tif:
261
Chapter 4
This map is a lower-resolution version of the VLI in a more manageable size. You can
use it to create tiled images for analysis using Image-Pro XYZ Navigator or another
application.
2. Use the Crop tool to extract a portion of the image for analysis.
From here, you can use the full range ofImage-Pro’s analysis features to analyze the
image.
262
Image-Pro Experiments
Image-Pro Experiments
When you open a VLI, Image-Pro also creates an Experiment document (*.mce). This file
can contains different types of content, in addition to images. A sample experiment file
description appears here:
The pyramid icon indicates the size and location of the original VLI.
The pentagon/ star icon indicates the size and location of normal images extracted
from a VLI.
These icons appear on the map and on the extracted image also.
263
Chapter 4
image contains icons that allow you to locate the various documents in the experiment. A
sample experiment image appears here:
Document sites in the experiment map are highlighted when the mouse hovers over them,
giving feedback to the user and displaying the document name(s).
A single click displays an overview of the selected document, and a double-click loads the
document directly.
264
Managing Mixed Content Experiments
The document overview contains a preview of the document, as well as information about
its content. Clicking on the preview or the load link will load the document in a new
workspace.
When multiple documents are located at the same position, the document overview allows
you to switch views from one to another.
265
Chapter 4
266
Open Set from File
267
Chapter 4
Use the Select Source Folder browser in the far-left panel navigate to the folder
where your image files are located. The set files should be in numerical order if pos-
sible.
4. Select the method for determining the set. There are three modes of operation avail-
able:
n Automatically detect file sequence. Select this option if the files in the sequence
have matching internal dimensions and naming conventions that make their loc-
ations along each dimension distinctly identifiable. In such a case, can recon-
stitute the entire set instantly and automatically. If you select this option, you
should:
a) Select a single file that is a member of the set you are trying to buld.
analyzes its name to tries to discern dimension information in the name. If
any dimension information is detected, it prompts you to confirm the
meaning the data in the name structure, as follows
b) Review the assigned dimensions. From the list boxes provided, select
the correct dimension information if guessed wrongly.
c) For sequences that include numeric and non-numeric dimension inform-
ation (such as when a channel name is included in the file name), use
“Check to add the active selection as a partial set” to “lock in” the detec-
ted sequence to part of a larger set.
n Split sequence into dimensions. Select this option if the files in the sequence have
naming conventions that mix location information for multiple dimensions into a
single sequence.For example: a 50-slice, 2-channel set that includes files named
“Image001.tif” through “Image100.tif”In such a case, can automatically collect
the relevant files into a table, and perhaps organize them according to one dimen-
sion, but it depends on you to specify the specify the allocation of the specified
sequence into the relevant dimensions. If you select this option, you should:
a) Select a single file that is a member of the set you are trying to buld.
analyzes its name to tries to locate sequence information in the name. If
any dimension information is detected, it prompts you to confirm the
268
Open Set from File
n Manually add files to a dimension. When you select this option, you are promp-
ted to select a dimension and position within that dimensions to which you want
to add files, and then select the files to be added: Follow the steps below to manu-
ally organize your files:
a) In pull-down list box below the Add selected files to... button, select
the dimension you want to define.
b) In the spin box to its right of the selected dimension, specify the pos-
ition in the selected dimension to which you want to add files.
c) In the file list, select all files belonging to the specified position of the
selected dimension.
d) Click the Add selected files to... button.
e) Repeat steps a) through d) until all relevant dimensions and positions
are defined.
Choosing a new operation mode will change the controls available in the control
panel at the bottom of the center region of the Set Builder dialog.
5. Select a folder to add images to the File Table in the center panel. The file table in
the center will list the supported image files that are present in that folder, whether or
not they belong to a set.
The Location columns of the file table display the location index fields that have
been assigned to that file. If the file has not been assigned to any location within the
set, this column will be blank. Once the file has assigned to a location in the set, the
269
Chapter 4
Location column will be replaced with columns for each dimension that is currently
active in the set.
The channel name can be edited in-place. Use the Color drop-down arrow to see the
standard color picker. Click the “…” button in the Dye column to select select a dye
from the favorites list, or from all available dyes:
270
Open Set from File
n When Show all dyes is checked, all the dyes in the Dye Library will be included
in the list. If this option is not checked, you will see only the dyes in the Favor-
ites list. If the current channel name matches a dye in the list, that dye will be
selected in the drop-down list.
n Click Apply to set both the Channel Name and the Color for the selected dye. In
addition, the dye will be associated with the channel and will later be associated
with the image set channel when the set is imported.
7. Set the Z-spacing.
The Z- spacing panel on the dialog allows you to set the spacing between Z planes if
the selected set has Z stacks:
The selected spacing will be applied to both the set’s metadata and to the frames of
the images
8. Open the set.
The Open Set button will be disabled until you have selected at least one file to
define the set.
Here is an example of an image set open in the workspace:
271
Chapter 4
272
Image Set Controls
The Zoom Scale Bar allows you to adjust the size of the image by moving the slider to
the right or left.
The Undo and Redo buttons let you undo recent actions and reverse the effects of the
Undo.
The Image Information button displays information about the image in a table below
the image.
The Draggingtool allows you to move the Pan/Scroll position by clicking and drag-
ging on the image.
The Zoom tool allows you to zoom in or out on the image with mouse clicks or by
drawing a box around the area to be zoomed. Only one tool may be active at any time, so
starting one of these tools will stop any currently active one.
The Toggle Nudge polygon/polyline editing mode button is enabled when the selec-
tion tool is running. Nudge editing mode becomes active only when a polygon or polyline
is the selected object being edited. Pressing the <N> key has the same effect.
The Toggle Extended Vertex polygon/polyline editing mode button is enabled when
the selection tool is running. Extended Vertex editing mode becomes active only when a
polygon or polyline is the selected object being edited. Pressing the <E> key has the
same effect.
273
Chapter 4
Clicking the Convert button converts the selected graphic object(s) into poly form if
possible.
The Toggle limiting graphic object button limits creation and editing to image
bounds on the active overlay. By default, graphic object creation and editing is limited by
the bounds of the underlying image on all overlays except for the Annotation overlay,
where limiting is disabled by default.
Extract dimension will extract a new image from the set using images along the cur-
rent dimension and at the current location along all other set dimensions.
The Set Navigator controls are similar for the controls for an image sequence.
Go to first frame
274
Image Set Controls
Go to last frame
Select indicates the portion of the set to process. The options are:
The Rate control defines the playback speed in frames per second.
Loop combo-box determines the action taken during playback when the end or
beginning of the sequence frame range is passed. Choose one of the following
options:
Extract dimension will extract a new image from the set using images along the cur-
rent dimension and at the current location along all other set dimensions.
Most of the other features of Image-Pro will work with image sets, such as ROIs, annota-
tions, and filters. Image sets may be moved, measured, and changed using the features
described in Chapter 12, Using the 3D Features.
275
Chapter 6 : Using Regions of Interest
276
Chapter 5
You can find the ROI feature on the Select tab’s ribbon:
If you are working with Image-Pro with 3D Module, this tab is called 2D Selection.
277
What is an ROI?
What is an ROI?
An ROI is a Regionof Interest that is isolated from the rest of the image. Certain
Image-Pro commands can be constrained by an ROI. Once you have defined an ROI, the
command applies to only the pixels within the ROI.
Examples of commands that are constrained by an ROI are: Save As, Cut, Copy, Duplicate,
Rotate, and Resize.
For example, in Figure 6-1 below, a square-shaped ROI has been drawn around a particular
object of interest in the image. When the Duplicate command is applied to the image, the
ROI portion of the image is copied to a new image, as shown in Figure 6-2.
You can also apply a filter to an ROI. Figure 6-3 show an image with an ROI drawn on it,
and a Sharpen filter applied to the area defined by the ROI:
Figure 6-3
More information about applying filters appears in Chapter 5.
278
Chapter 5
Defining an ROI
Before defining an ROI, be sure the image you want to work with is opened in the Image-
Pro workspace. To define an ROI in the active image:
1. Go to the ROI group on the Select tab’s ribbon:
2. Click on the ROI tool you want to use. Clicking this button starts the drawing of this
type of ROI. The different ROI tools and types are described below.
279
Defining an ROI
Auto-Trace. Use this tool to trace the outline of an irregular object in the
image automatically. Place your cursor on the object and click two
280
Chapter 5
Display Options
Use this button to see the Display Options panel.
Multiple ROIs: Click this button to place mutiple ROIs on your image.
This option is always on by default.
Options
Use this button to see some additional ROI options:
Invert ROI: Click this button to invert the ROI; for example, a black
ROI on a white background.
XOR Pixels: Click this button to include or exclude pixels in over-
lapping ROIs. This option is always on by default.
.Order: Use these buttons to arrange your ROIs from back to front, or
front to back.
Features Manager
Image-Pro allows you to create collections of predefined items called Feature Collections.
Click the Add button to create a new Feature Collection from your active (live) annota-
tions, ROIs, Measurements, Line Profiles, or Grids.
281
Features Manager
In addition to the instructions below, you can read more about the Features Manager later
in this manual. "Features Manager" on page 441
ROI collections are created by adding defined ROIs (that is, ROIs defined in the active
image) to the list of ‘remembered’ ROI shapes through the Features Manager dialog
box. You can add a single ROI definition, or you can add a group of ROI definitions
under a single name.
282
Chapter 5
1. Define the ROI shape you want to add to the list in the active image. If you want
to add a group of ROI shapes under a single name, define all ROI shapes belong-
ing to the group.
In the following example, a single polygon-shaped ROI has been defined.
Figure 6-12
When a single ROI is defined, a default name for the ROI shape appears in the
ROI Name text box of the Features Manager dialog box.
If you define more than one ROI in the image, the features manager gives the
entire group the default name, “Multiple.” Note that if multiple ROIs are defined
in the image, they will be added to the list as a group regardless of which ROI
among them is currently selected.
2. Click on the Add button.
The collection definition is added to the list box. Listed names represent the mem-
bers of the current collection.
1. In the ROI collection list box on the Features Manager dialog box, click on the
name of the shape you want to place in the currently active image.
The selected name is highlighted in the list. The shape named “Polygone” is
selected in the above example.
283
Features Manager
2. In the File Name text box, type over the existing text with the name you want to
give the ROI collection.
For example, name it “My Collection.”
3. Click on the Save button.
The current collection is saved with the specified name, and the Features Man-
ager dialog box is redisplayed.
284
Chapter 5
1. Click on the Open button of the Manage page of the Features Manager dialog
box.
285
Placing Multiple ROIs on an Image
l Click on the Allow Multiple ROIs [ ] button in the ROI group so that it is
highlighted. This is the default selection.
When this tool is selected, you can define multiple ROIs in a single image.
286
Chapter 5
Arranging ROIs
After you have defined an ROI, you can move it, resize it, and delete it.
Moving an ROI
To move an ROI:
Resizing an ROI
ROIs can be resized by moving their control points. To resize an ROI:
If the cursor is positioned correctly, the Resize tool [ or ] appears over the con-
trol point.
4. Click and drag the control point to the desired location.
287
Using XOR Pixels
Figure 6-4
2. Go to the Adjust tab and select the Filters group. Click the drop-down arrow.
4. Your filter will be applied to the area between the flags on the image.
Figure 6-5
288
Chapter 5
Rotating an ROI
Improvements to the ROI controls allow you to rotate the ROI with or without trimming
and place it a new image. When the Trim box is checked, the rotated size of the ROI is
the same size as the original ROI bounds, which usually requires trimming the rotated
ROI. The icons displayed are:
289
Rotating an ROI
Figure 6-6
The rotated result is shown in the following image. Note that no part of the rotated ROI
has been trimmed off, but as a consequence the new image is larger than the source ROI.
Also note that areas outside the source ROI are shown as black in the new image.
Figure 6-7
290
Chapter 5
The next example shows a translucent preview of the same -20 degree rotation with the
Trim option checked. The green ROI rectangle is not visible here, because the yellow rect-
angle showing the bounds of the new image lies exactly on top of it (this would not be
case if the ROI were a non-rectangle, as in the next example). The red, cut-off rectangle
shows the rotated ROI with its trim.
Figure 6-8
The rotated result is in the following image. Note that part of the rotated ROI has been
trimmed off in order to keep the new image the same size as the bounds of the source ROI.
Figure 6-9
Deleting an ROI
To delete an ROI:
291
Deleting an ROI
TIP: You can use the Delete All tool in the ROI group to instantly remove all ROIs
defined in the active image.
292
Chapter 5
4. Use the controls available through this dialog box to change the appearance of the
ROI.
293
Changing the Appearance of an ROI
Drawing Properties
Some common controls available for changing the appearance of graphical annotations
are described below.
n Border: Allows you to change the visibility, color, width, and line style of a bor-
der around your annotation.
n Fill: Allows you to choose the fill color for your annotation, including opacity
and/or transparency.
n Options: These options allow you to change the size of the annotation when the
size of the images changes, adjust the opacity/transparency of the annotation, and
layer annotations on the image. If you are working with an image sequence, you
can specify the first and last frrames where the annotation will appear.
n Color: Click on the Color button to change the color of the bounding box border
or fill, or to change the color of the text.
n Zoom with Image: Check this box to make the annotation larger or smaller as the
image is resized.
Label Properties
Some common controls available for changing the appearance of label annotations are
described below.
n Text: Click on the Text tab to change the text of the annotation.
n Font : Allows you to change the font to be used for rendering text.
n Size : Allows you to change the font size to be used for rendering text.
294
Chapter 5
295
Using the Magic Wand
New Selection. All previous selections will be replaced with a new selection. Hold
down the <Alt> key to temporarily activate this option.
Add Selections. A new selection will be added or merged with any previous selec-
tions. Hold down the <Ctrl> key to temporarily activate this option.
Subtract Selection. A new selection will be subtracted from any previous selec-
tions. Hold down the <Shift> key to temporarily activate this option.
l Magic Wand button
Interpretation (Mono, RGB, HSL or HSI). Converts the image into a different inter-
pretation before thresholding (not available for mono images).
Mono Ranges. Indicates the number of gray levels used for thresholding (combination
of gray ranges depends from type of active image and selected interpretation).
Filtering: Indicates the intensity of any filter to be applied to the selected outline.
296
Chapter 5
297
Using the Magic Wand
3. Place the wand cursor inside the feature containing the area(s) that you want to trace,
and click the left mouse button once.
The magic wand will automatically trace the outline of the object(s) based on the
color similarities or difference of intensity ranges between the pixel under your cursor,
plus or minus a specified tolerance interval.
Figure 6-10
To outline a different region, place the cursor on that region and click with the left
mouse button. To outline more than one region, hold the <Ctrl> key down while
clicking on the region you want to outline.
4. To save the outline areas as irregular ROIs, click Validate as ROI.
The outline color changes, as shown here:
Figue 6-11
The Regions of Interest group becomes active, and you can now use all the ROI fea-
tures to modify or save this ROI.
298
Chapter 5
Initially the nudge tool will be a dashed circle and has no effect on the selected
object.
2. Use the mouse wheel to adjust the size of the nudge tool
The size of the nudge tool determines how many controls points it can nudge at one
time.
3. Press the mouse button and move the nudge tool into the control points you want to
nudge.
Notice that, when you press the mouse button, the circle becomes solid and shows an
arrow tracking the direction of mouse movement, and the nudge follows the direction
of the mouse movement. The nudge tool is designed to operate only at slow speeds.
So by moving quickly, you can skip the tool from one side of a polyline to the other
or from the exterior to interior of a polygon without needing to let up the mouse but-
ton and without disturbing the boundary as it is quickly crossed. This may take some
practice to master, but it is often necessary to nudge from both sides of a poly line sec-
tion to get a boundary placed correctly, so using this technique can speed things up.
Holding down the <Ctrl> key while editing a polygon or polyline temporarily leaves
nudge editing mode to allow you to insert (<Ctrl> double-click) or move (<Ctrl>
drag) a single control point.
299
Polygon Nudge Tool
300
Chapter 5
Using Overlays
The Overlay feature allows you to apply Live Overlay features to the active image. Types
of live overlays include grids, measurements, and ROIs. The Overlay feature appears in the
Compare group on the Capture tab’s ribbon:
When click the drop-down arrow, you will see the Overlay dialog box:
Live Overlay: Click this button to apply the overlay to the active image. This but-
ton remains disabled if there is no active image or Live Overlay features are not selected,
301
Chapter 7 : Using Annotations
Using Annotations
Annotations are used to add text or drawings to your images. The annotations are in a
graphics overlay that is displayed over the image without modifying the image data itself.
This chapter provides instructions for creating text and graphical annotations, arranging
them, and saving them with your images.
302
Chapter 6
If you are working with Image-Pro with 3D Module, this tab is called 2D Selection.
303
Creating an Annotation
Creating an Annotation
Using the tools on the Annotate group, you can draw an array of graphical and textual
annotations. This section provides instructions for drawing various shapes and for placing
text overlays in images. The Annotate group looks like this:
304
Chapter 6
2. In the toolbar, click on the annotation tool you want to use, and draw the annotation
in the image as described for that tool below.
Use this tool to select an annotation object. Click the drop-down arrow to see
the Select All tool to select a group of objects.
Text Box
Use this tool to add a text box annotation. Click the drop-down arrow to add
a text call-out annotation:
Click the left mouse button and hold it down to drag the rectangle to your
desired size. Use the drop-down arrow to see the rounded rectangle, circle, and
polygon tools.
305
Creating a Graphical Annotation
Circle or Ellipse
Position the crosshair cursor anywhere in the image. Use the drop-down arrow
to see the other tools.
Click and drag the mouse from the insertion point to the desired destination.
306
Chapter 6
Auto-Trace. Use this tool to trace the outline of an irregular object in the
image automatically. Place your cursor on the object and click two points.
Image-Pro automatically traces the object.
Point Position the crosshair cursor in the image where you want to place the
point marker. Click the mouse to place the point. The drop-down menu for the
point tool displays a wide variety of point and arrow styles.
Order
Use these buttons to order your annotations front to
back or back to front
Cut, Copy, Paste
Use these tools to cut, copy, or paste annotations.
Properties
307
Creating a Graphical Annotation
Annotation Shapes
The drop-down menu for the point tool displays a wide variety of point and arrow styles:
You can use your mouse wheel to adjust the size of your annotations.
308
Chapter 6
309
Creating a Text Annotation
310
Chapter 6
3. Right-click the mouse in the image to which you want the bitmap added as an annota-
tion.
The bitmap is added as an annotation to the image. For instructions on moving the bitmap
annotation, please refer to “Moving an Annotation” later in this chapter.
311
Arranging Annotations
Arranging Annotations
After you have created a set of annotations, you can move them, resize them, layer them,
and delete them.
Moving an Annotation
To move an annotation:
TIP: You can also move the annotation by pressing the shift key along with the
arrow keys (up/down, right/left). For example, press the <Shift> and <Up Arrow>
keys and notice the annotation moving upwards.
Rotating an Annotation
Annotations can be rotated by using the Select tool and the <Control> key.
312
Chapter 6
Resizing/Reshaping an Annotation
Annotations can be resized and reshaped by moving their control points. To resize or
reshape an annotation:
If the cursor is positioned correctly, the Resize tool [ or ] appears over the con-
trol point.
4. Click and drag the control point to the desired location.
Grouping Annotations
The Annotation feature allows you to group annotations in the image. Annotations that
are grouped are fixed in positioning relative to each other and they are otherwise treated as
one object. To group annotations:
313
Ordering Annotations
Ordering Annotations
The Annotation feature allows you to control the order in which annotations appear. To
change the order in which an annotation appears:
Deleting an Annotation
To delete an annotation:
314
Chapter 6
3. Click Delete [ ] from the Annotate group, or press the <Delete> key.
315
Setting the Appearance of Annotations
316
Chapter 6
4. Use the controls available through the Display Options dialog box to change the
appearance of the annotation.
Drawing Properties
Some common controls available for changing the appearance of graphical annotations
are described below.
317
Changing the Appearance of an Annotation
NOTE: For complete descriptions of all available controls, refer to the “Graphic
Object Properties (Dialog Box)” topic of the Image-Pro Application Help system.
n Border: Allows you to change the visibility, color, width, and line style of a bor-
der around your annotation.
n Fill: Allows you to choose the fill color for your annotation, including opacity
and/or transparency.
n Label position: If you are including a label (different from the text box) in your
annotation, you can adjust the position of the label here.
n Callout line: Allows you to show or hide the line attached to a callout box and to
adjust the line thickness and end style.
Label Properties
Some common controls available for changing the appearance of label annotations are
described below.
n Text: Click on the Text tab to change the text of the annotation.
n : Allows you to change the font size to be used for rendering text.
Additional Options
318
Chapter 6
n Zoom with image automatically adjusts the size of your annotation as the size of
the image changes.
n Opacity adjusts the transparency of a line or shape as you move the slider.
n Angle lets you specify angle of display for you annotation.
n Layer lets you create overlay layers on your annotation. This can be very useful
when displaying a 3D or Z-stack image.
n Start Frame/End Frame lets you specify on which frames of a sequence the
annotation will appear.
5. The changes are applied to the selected annotation.
319
Saving Annotations
You will see the Display Options dialog box along the right side of the workspace.
Saving Annotations
When annotations are originally placed on an image, they exist as graphical overlays and
are not part of the image. If you want them to become part of the image, however, you can
save them with the image.
1. Click Save from the File menu:
2. Answer Yes when the question, “Do you want to save the changes with [image
name]” appears.
The annotations will be saved with the image.
320
Chapter 6
321
Chapter 8 : Measuring, Counting, and Tracking
Making Measurements
This chapter describes how to measure, count, and track features in images.
322
Chapter 7
Measurement operations in Image-Pro are performed in terms of image pixel positions. For
example, the length of a line feature is determined by the number of pixels along the line.
Note: If you are running Image-Pro with 3D Module, some of the tab names may appear
as 2D Count/Size or 2D Measure.
323
Data Measurements
Data Measurements
Image-Pro offers you a variety of measurement types to analyze your images. These appear
in the Measurements group on the Count/Size ribbon as well as on the Measure ribbon:
2. Using the Add or Add All buttons, select the measurements you want to make.
The Available measurements list contains the measurements that can be grouped by
Measurement type (All Types, Regions, Lines, Points, Best-Fit, Angles) and Meas-
urement Category:
l All Categories
l Basic
l Housekeeping
l Luminance
l Density - Optical density related measurement
l Histogram - A histogram or pixel-counting-based measurement
l Size - Size related measurement
324
Chapter 7
The Selected Measurements list contains the measurements that will be reported in
the data windows (Data Table, Histogram and ObjectWindow). If the checkbox in
the Filter column is active, the measurement will be used as filter and only the
objects with parameters within the defined limits will be counted. Additionally the fil-
ter limits can be set in the Histogram window, in the Measurement filter pane.
Note that the measurement filters are applied only when the Ranges button is
checked:
325
Data Measurements
Edit Ranges
Adjusting filter ranges interactively can be done using the Edit Range button:
Min and Max filter values can be adjusted by dragging the corresponding markers on
the histogram or editing their numerical values. The mask of objects in range is shown
on the active image. The number of objects in range/total objects and percentage are
shown below the histogram.
Measurement Options
326
Chapter 7
Fill Holes option indicates if the holes inside objects should be included into the
object area.
Smoothing defines the degree of smoothing of used for the object outlines. The default
is zero when no smoothing is applied.
Segmentation bias automatically adjusts the calculated threshold values by the given
bias value. More about segmentation bias appears later in this chapter.
Grow defines the size increment (in pixels) of segmented objects that is applied after a
Count operation using dilation or erosion of the segmented regions. More about grow-
ing or shrinking appears later in this chapter.
Auto Threshold allows you to define the method that is used to segment objects in
Auto Bright/Dark segmentation modes. More about Auto-Threshold appears later in
this chapter.
327
Data Measurements
Load and Save buttons load and save threshold segmentation options. These
buttons can be used to save and then restore counting environment in a new session.
Record enables you to save your segmentation as a sequence or movie. Reset changes
your settings back to their default state.
328
Chapter 7
Selection Tools
These tools allow you to select, hide, or show objects and measurements:
Clicking the Select Object button activates the selection tool. You can select measurement
objects on the image and edit them. Additionally, when one or more objects are selected, a
semi-transparent floating bar will appear on the image that allows you to perform some
operations more conveniently (delete, hide, show, create relative measurements, calibrate).
The Select All tool lets you select all the measurements at once:
329
Manual Measurement Tools
The Show button and its menu allow you to toggle hide or show the overlay and selected
features on the image display. It also allows you to unlock the counted objects.
All objects created by a Count operation are locked by default and cannot be moved or
adjusted. Clicking the Unlock objects button will unlock counted features and enable you
to move or edit some of the objects.
Direct Measurements
This panel contains a “toolbox” of measuring instruments. These tools should be sufficient
to take most measurements.
Manual Tag
330
Chapter 7
Line
Activates the line tool, where you can draw a line by clicking and
dragging. A activating any of the measurements from the drop-down
makes it the default for the main button. Clicking the drop-down
arrow displays additional line tools:
Point to point
Activates point to point tool. A line feature will be created after two
clicks.
Polyline
Activates the polygonal line tool. As you click, new points will be
added to the line. (You can stop adding points by double-click and
by pressing the Enter button; pressing the Esc button cancels the line
creation.) There is also an option to auto-trace the polyline.
331
Manual Measurement Tools
Show base line option, which turns the base line (first 2 points)
of the pitch group on or off.
Circleor Ellipse
Activates the Circle tool, where you can create a circle by clicking
and dragging a rectangular area with the inscribed circle. Clicking the
drop-down arrow displays the Ellipse and other circle tools.
Ellipse
Activates the Ellipse tool, where you can create an ellipse by clicking
and dragging a rectangular area with the inscribed ellipse. There are
the following options for creating circles:
Polygon
Activates the Polygon tool, where you can create an n-sided polygon
by clicking n times. Clicking the drop-down arrow displays the Rect-
Angle (joined)
Activates angle tool, where you can create an angle measurements
adding 3 points to the image. The angle range is defined in the drop-
down menu :
332
Chapter 7
Edge Measurements
In most cases, manual measurements are done measuring the distances from one edge of
object to another. Locating object edges manually is tedious work and the resulting meas-
urements may have subjective factors. The Snap to Edge feature locates image edges
within a cursor neighborhood automatically, and either moves the cursor to the calculated
position or snaps the measurement features to the calculated position. It provides greater
measurement accuracy, reduces the chance of subjective errors, and generally makes taking
measurements easier.
When you select the Snap to Edge tool on the Measurements ribbon, you will see the fol-
lowing dialog:
333
Manual Measurement Tools
334
Chapter 7
of the line ends. The area length is defined by a radius. The Width
control defines the width of the caliper line and Length is the
matched length of the edge detector. The Length defines how sharp
the detected edge can be. Low values (3 to 7) are recommended for
high contrast images with uneven intensity of objects. If objects have
even illumination and they are relatively wide, Length can be
increased smoothing noise along the line. This method is available
with the Line and Point to Point measurement tools.
Find circle
Finds a circle within the radius from the click position. Click inside
the circular object and the position and radius will be calculated auto-
matically, analyzing the object edges in the neighborhood.
This method is available with the Circle measurement tool.
The template button activates the mode, which can be used to create
measurement templates. When Template mode is active the Snap
functionality is not applied immediately after creating the line fea-
tures, but only when you click the Auto Adjust button. Only
Adjust line ends, Adjust along edge and Find circle can be used in
Template mode.
Best-fit measurements
Best-fit measurements can be used to create features from a number of manually placed
points.
Best-fit Circle
The Best-fit Circle tool allows you to add points to the image and a
best-fit circle will be generated. Stop adding points by double-click-
ing or by pressing the <Enter> key.
335
Manual Measurement Tools
Best-fit Arc
This tool allows you to add points to the image and a best-fit arc will
be generated. You can stop adding points by double-clicking or press-
ing the <Enter> key. The angle of the created arc is defined by the
positions of the first and the last points.
Best-fit Line
The Best-fit Line tool allows you to add points to the image and a
best-fit line will be generated. You can stop adding points by double-
clicking or pressing the <Enter> key.
Display points for best-fit features
When the Display points for best-fit features isON the points, which
define best-fit features are shown on the image and included in the
data table. When the option is off the points are hidden.
The Points edit boxes in the drop-downs for Line, Circle, and Arc
features are used to set the maximum number of points for best fit
lines, circles, and arcs. Lines will allow from 2 to 1000 points, while
circles and arcs will allow from 3 to 1000 points. When creating a
best-fit feature, the feature will be automatically created when the cur-
rent maximum is hit. This makes it possible to set feature creation to
accept 2-point lines and 3-point circles and arcs (without requiring
double-click on the last point) while still supporting multiple-point
fits when desired.
Relative Measurements
336
Chapter 7
The Relative Measurements group provides tools to create measurements between existing
features. You have to create one or more objects first, and then create a derived meas-
urement.
Minimum distance
This tool measures the least distance between two selected objects.
Note that if two lines (polygonal lines) are selected, the Minimum
gap between traces will be measured.
Maximum distance
This tool measures the greatest distance between two2 selected
objects. Note that if two lines (polygonal lines) are selected, the Max-
imum gap between traces will be measured.
337
Manual Measurement Tools
Merge Objects
Clicking the Merge button will combine all selected objects into one
by connecting all the objects by the shortest line. Note that the
Merge function is available only for making region measurements of
objects (polygon, ellipse, circle, count/size objects). The Merge but-
ton is also displayed in the on-image context bar.
Incremental Distance
Clicking this button creates a set of vertices between two selected fea-
tures (lines or regions). This feature is useful when measuring coating
(between 2 poly-lines) or a doughnut (between external and internal
regions) thickness distribution. It is also possible to create incremental
distance measurements for a single object (closed polygon). If the
object contains a hole, incremental distance will be calculated
between the object’s outline and the hole (doughnut thickness meas-
urement). If more than one hole exists, the largest hole is used. If the
object doesn’t contain holes, the incremental distance will be cal-
culated between 2 opposite sides of the object along the given angle.
The step size offset on both sides of the object is used to avoid zero
length lines. When auto-angle is on, the angle is calculated auto-
matically.
338
Chapter 7
The arc is always drawn from the mid-point of the second selected line to the point where
the arc intersects the first selected line or its projections. The arc is drawn in either a clock-
wise or counterclockwise direction to create an arc that covers an angle equal to the abso-
lute value of the measurement (computed as described above). The arc starts at the
midpoint of the second selected line and ends on the first selected line or its projection.
The direction that the arc is drawn is not determined by the sine of the measurement value.
Rather, it depends on the location of the midpoint of the second selected line relative to
the trajectory of the first selected line.
Incremental Distance
Incremental Distanceautomatically measures distances between two irregular edges to
quantify changes in surface size and shape. The drop-down contains the following options:
339
Manual Measurement Tools
340
Chapter 7
Note that all relative features are adjusted when their base features are changed. Relative
features cannot be moved manually; they will be moved by changing positions of the base
features.
Note also that the order of selection also affects derived measurements.
Morphological Operations
The selected region-based features can be automatically modified using four morphological
operations: Grow, Shrink, Open, and Close
Grow
Grows selected objects using a Dilate operation.
When the "Use Restricted Grow" option is on, the
Grow operations (with Count or Grow selected) do
not merge objects (default is on).
Shrink
Shrinks selected objects using an Erode operation.
The size increment for Grow and Shrink operations
can be adjusted in the dropdown of the Shrink but-
ton. The increment size is defined in pixels.
Open
Applies morphological Open operations to selected
regions. Use this operation to separate neighboring
features if they are connected by a narrow path. The
size of the morphological Open or Close operation
is defined in the dropdown of the Open button. The
size is in pixels.
Close
Applies morphological close operations to selected
regions. Use this operation to merge neighboring fea-
tures.
Note that all relative features are adjusted when their base features are changed. Rel-
ative features cannot be moved manually; they are moved by changing positions of
the base features.
341
Manual Measurement Tools
342
Chapter 7
6. Click the Options button. You will see the Measurements Options dialog:
The text area of this dialog allows you to change the font and size of the text that will
appear in the measurement label. The border and fill areas control the display of the
border and background of the label. The options area lets you resize the label when
you resize the image, and control the opacity/transparency of the label.
Note: Measurements and Manual Tagging can be applied to live preview images for
quick measurement previews. However, these measurements are not saved with the
captured image.
343
Setting the Default Appearance for Measurement Labels
You will see the measurement labels change to the font you select. Use the color,
style, and size buttons to make additional changes to the measurement labels.
Shadow (S) lets you add a background shadow color to the label text.
Bold (B) displays the font in bold.
344
Chapter 7
345
Setting the Default Appearance for Measurement Labels
8. Use the Outlines panel to define the style of the each object class and shape:
n Cross Bars are useful adjusting line ends on the features. They are only active in
the line editing mode.
n Crosshair helps you to center horizontal or vertical measurements.
n Tooltips show measurement data on the image when you are moving the mouse
over an object on the image.
346
Chapter 7
The message at the top of the dialog indicates if auto-trace has started, or not.
Tracing speed: Use the slider to control the speed of the auto-trace.
Edge quality: Indicate the number of pixels to use for the edge trace.
Noise reduction: Use the spin buttons to indicate the degree of noise reduction in the
traced object.
Momentum: Use the spin buttons to indicate the degree of momentum in the traced
object.
Smoothing: Use the spin buttons to indicate the degree of smoothing in the traced
object.
Check the box next to the auto trace feature that you want to use.
AutoStart Tracing: If this box is checked, the second mouse click made when cre-
ating a polygon or polyline will start the auto tracing. If uncheck, start auto trace by
holding down the <Ctrl> key and clicking where you want the trace to start. The
lightning bolt cursor shows you the auto trace path.
AutoAccept Final Trace: When this box is checked, the auto trace automatically
returns to the starting point to finish tracing the object. If unchecked, you must press
the <Enter> key or double-click the mouse to place the final point and complete the
auto trace.
Trim Leading Points: Frequently, a trace will not return to its starting point but will
interest with itself some distance from the starting point. If this box is checked, the
points before the intersection point are removed if the intersection is close to the start-
347
Setting the Default Appearance for Measurement Labels
ing point. If this box is not checked, you must edit the trace manually to remove
extraneous points.
Remove Redundant Points: If this box is checked, all horizontal, vertical, and diag-
onal runs leading to the auto trace are replaced by their end vertices in the final result.
If this box is not checked, these points will be retained.
Monochrome Interpretation: When this box is checked, image color is ignored for
edge detection; only average luminance is used. If unchecked, each color channel’s
luminance gradient is considered when doing edge tracking.
Assume Clockwise: When this box is checked, the trace will begin moving clockwise
around the object. This information is used to determine which side of the trace is the
interior color. This option is useful when working with colored images. If this box is
not checked, no assumption is made about which side of the trace is the interior.
UseRangeMinimum/Range Maximum: When checked, the range for full-scale lumin-
ance swings is assumed to be the full minimum/maximum range of the entire image. If
this box is not checked, range for full-scale luminance swings is assumed to be the dis-
played range of image luminance. This option is usually left clear.
Bound Trace by ROI: When this box is checked, the trace object must stay within
the bounds of the ROI. If this box is not checked, the boundaries of the ROI are
ignored.
Disable Auto Trace: When this box is checked, auto-trace will be disable and you
cannot use it until you uncheck the box.
348
Chapter 7
Manual Tagging
Use the Manual Tag tool to select individual objects or groups of objects in an image with
your mouse. You can create different classes of objects for analysis, and “tag” each object
with a specific marker. To use Manual Tagging:
1. Open your image if it is not already open.
2. Select the Manual Tag tool from the Direct group.
4. Click on the points in your image to tag them with a color and label:
Information about your tagged points appears in the Data Table below your image:
349
Manual Tagging
350
Chapter 7
351
Viewing Measurement Information
tance
E Ellipse FPT First Point L Line
LPT Last point MMD Minimum MXD Maximum
distance Distance
P Polygon PL Polygon PR Count/Size
Line Polygon
region
PPL Point to PWL Pitch with
Point dis- Line
tance
R Rectangle T Tag
Load Data Table Measurements: This tool allows you to load meas-
urements saved in a previous session from a *.ipm file.
Save Data Table Measurements: This tool allows you to save your
measurements in a *.ipm file for use at another time.
Send Measurements to File: This tool allows you to save your meas-
urement data to a file or export it to an Excel spreadsheet. The pull-
down menu lets you choose one of the following:
Send to Report: This tool allows you to save your measurement data
to Image-Pro report. The pull-down menu lets you create a new report
or choose an existing one.
352
Chapter 7
Show all Statistics: This tool allows you to hide or show the statistics
panel for the data table measurements. A sample statistics panel is
shown here:
Load Data Table Measurements: This tool allows you to load meas-
urements saved in a previous session from a *.ipm file.
Save Data Table Measurements: This tool allows you to save your
measurements in a *.ipm file for use at another time.
353
Viewing Measurement Information
Send Measurements to File: This tool allows you to save your meas-
urement data to a file or export it to an Excel spreadsheet. The pull-
down menu lets you choose one of the following:
Send to Report: This tool allows you to save your measurement data
to Image-Pro report. The pull-down menu lets you create a new report
or choose an existing one.
Show all Statistics: This tool allows you to hide or show the statistics
panel for the data table measurements. A sample statistics panel is
shown here:
354
Chapter 7
A histogram of the data for the x position of the selected points appears in the right-
side panel of the workspace:
355
Viewing Measurement Information
The Object Window containing data for point location P1R12 appears in the right-
side panel of the workspace:
356
Chapter 7
357
Colocalization
Colocalization
Colocalization describes the existence of two or more molecule types in precisely the same
space. The material under examination may be treated with different types of dyes to indic-
ate the presence or absence of areas of colocalization or overlap. The Colocalization com-
mand can be used to measure the amount of colocalization in a color image, in a pair of
gray images, in an image sequence, or in an ROI on a color image.
The Colocalization feature appears on the Measure tab’s ribbon:
358
Chapter 7
You can also specify a Parent Image that can be used for object segmentation. If there
is no parent image, then the segmentation will be done on the combined image of
colocalization channels. For multi-channel (color) images the segmentation on a parent
image is enabled when Use Parent Channel option is on. In that case, the third chan-
nel that is not used for colocalization will be used as the parent image.
359
Colocalization
n Auto-Bright. The thresholds for both channels are calculated independently using
the Otsu algorithm. This is the same method that is used in Count/Size for Auto-
Bright segmentation.
n Zero Pearson. The method is based on finding threshold levels below which Pear-
son correlation is zero. This method produces very low threshold levels and
should not be used for object-based colocalization analysis, since it complicates
object segmentation.
5. Click Create.
Clicking the Create button creates a colocalization plot for the selected color pair. In
case of two monochrome images, a new color composite image will be created and
used as a source for colocalization. A sample image is shown here:
360
Chapter 7
If the active image is a sequence and the Apply to sequence option is selected, the
colocalization scatterplot and the Measurement Data table are calculated based on the
active frame range of the sequence (by default all frames are included, optional ROIs
can be added). In this mode, the colocalization is reported for the whole Z-stack.
If you want to have colocalization results for the current frame, the Apply to sequence
option must be off. In that case the colocalization scatterplot and the Measurement
Data table will show data based on the active frame.
Colocalization Panel
The colocalization panel is opened when a colocalization image is created, or when an
image with colocalization data is activated. The panel shows the colocalization plot
and provides controls to adjust and analyze colocalization parameters.
361
Colocalization Panel
You can make further measurements and adjustments to the colocalized image by fol-
lowing these additional steps.
6. Define the colocalization plot.
362
Chapter 7
The Mode control defines the selection mode for colocalization. Your choices are
Thresholds (default) or Free ROI.
In Thresholds selection mode the colocalization thresholds are defined by intensity
thresholds on the first and second channels. Initially the thresholds are calculated
using the selected Threshold method. The thresholds can be adjusted clicking and
moving the mouse cursor on the colocalization plot or using the threshold sliders and
edit controls. The pixels are colocalized when the intensity values for both channels
are equal or above the corresponded threshold value.
Use the red and green sliders to adjust the colocalization threshold values.
Switching to Free ROI mode allows you to use the ROI editing tools to adjust and
draw free ROIs.
Using the Image button displays the colocalization scatterplot in the main applic-
ation workspace. It also allows you to define areas using any ROI tool in the Select
tab’s ribbon.
7. Define the parent outlines.
This group contains the controls that are used to define the outlines of parent objects
for object-based colocalization analysis.
When a parent channel or image is defined, the group has the following buttons:
The Method group includes Segmentation (default) and Manual Regions methods.
In the Segmentation method the objects can be define by setting the threshold on the
Parent channel by clicking the Threshold button.
After adjusting the parent threshold, you can either close the threshold dialog and con-
tinue adjusting colocalization parameters or just click the Count button to segment par-
ent objects and measure their colocalization parameters.
When a parent channel is not defined, the group has the following buttons:
363
Colocalization Panel
Clicking the Show Measurements Tab button will display the Measurements tab.
Measurement information is available throughout this chapter or by clicking the Help
link in the tooltip.
The mask of colocalized pixels is shown on the original image. The mask can be
toggled on and off using the Show button. The mask can be created as a separate
image clicking the Mask button. Note that if the source image is a sequence, a 3D
sequence mask will be created.
8. Review your results.
364
Chapter 7
Colocalization parameters are calculated automatically and are updated when changes
occur to the colocalization thresholds or Free ROI. The data for whole image is
shown in the table when Data is set to Measures.
These parameters are for the whole source image (respecting ROIs). Parameters for indi-
vidual measurement objects are reported in the Measurements table. All colocalization
measures are added to the measurement list by clicking the Add Measures button.
The Limit control defines the minimum value of the Colocalization intersection (range
0...1) to classify objects as colocalized. When the value is 0, objects that have at least
1 colocalized pixel are classified as colocalized.
365
Colocalization Panel
The classification is based on the colocalization limit defined in the Classify button
dropdown.
When Auto Classify option is on the objects are automatically classified into 3
classes:
Channel 1 (e.g. Red): objects that have Coloc Intersection parameter below Limit
and M2>M1. (Objects are predominantly red)
Channel 2 (e.g. Green): objects that have Coloc Intersection parameter below Limit
and M2< M1. (Objects are predominantly green)
Coloc: objects that have Coloc Intersection parameter above the Limit (colocalized
objects).
The classification statistics are shown in the table:
All colocalization measures and mean intensity measurements per channel can be
added to the measurement list by clicking the Add Measures button.
The measurements data table provides detailed data for every object and can be
grouped by statistical values per class:
366
Chapter 7
When a Parent Image is defined (or Use Parent Channel is on) you can create a
colocalized image from a multi-channel image.
The segmentation threshold for the parent image can be set clicking the Set Parent
Image Thresholds button. It will open the Threshold dialog with predefined
thresholds corresponding to Auto-Bright segmentation for parent channel:
367
Colocalization Panel
When a parent image is not defined (or Use Parent Channel is off) you can create
colocalization from a multi-channel image
Activate multi-channel mode and adjust the colocalization thresholds. The coloc-
alization will be done on the mask that includes BOTH red and green objects. This
method can be used when no parent image/channel is provided. Note that the Count
operation respects all options defined in Count/Size or Measure tabs including meas-
urement filters and auto-separation options.
368
Chapter 7
369
L*a*b* Color measurements and Color Correction
Color measurements and color correction tools are located on the Measure tab, in Color rib-
bon group:
The module is designed for absolute color measurements in CIE L*a*b* or XYZ color
coordinates. This module also provides easy to use tools for color correction.
The module can be used in cosmetic, textile, pharmaceutical or food industries, those that
require accurate measuring of colors or color differences.
The dropdown button contains 3 items that open dialogs with Color measurements and
Color correction tools:
Color Measures
Color measures dialog allows measurement of colors under cursor and also extracting color
channels as monochrome images.
370
Chapter 7
371
L*a*b* Color measurements and Color Correction
Image color profile can be loaded clicking the Load button and selecting ICC or CMM
color profile file from the disk.
The Reset button will remove color profile from the image and activate the working color
profile for measurements. The working color profile can be selected using the Select work-
ing color profile button. It can be reset to the default sRGB IEC61966-2.1 clicking the
Reset working color profile button.
If image has own color profile, it can be converted to the working color profile using the
Convert image to working profile button.
ICE L*a*b* measurements are also available for any Region objects using Count/Size or
manual Measure operations:
Note, that L*a*b* color measurements generated by Count/Size use the color measurement
method, color profile and Illuminant selected in the color measure dialog.
The bottom part of the dialog provides measurement values under cursor on the active
image:
372
Chapter 7
RGB group shows Red Green and Blue values under cursor and Color Space/Illuminant
defines the active color space/illuminant and corresponded measurement values.
There are following color spaces available:
l Lab – CIE Lab color space
l XYZ – intermediate color space between RGB and Lab spaces
l YIQ - the color space used by the NTSC color TV system, employed mainly in
North and Central America, and Japan. I stands for in-phase, while Q stands for
quadrature, Y component represents the luma. (https://en.wikipedia.org/wiki/YIQ )
l CMY - subtractive color model, used in color printing, cyan, magenta, yellow.
(https://en.wikipedia.org/wiki/CMYK_color_model ).
Note, that YIQ and CMY are not absolute color measurement spaces and listed in the dia-
log for completeness of color measurements on the image.
The Illuminant defines the type of light source used when the image was taken. The fol-
lowing standard illuminants are listed:
l D50 - CIE standard illuminant D50. Simulates warm daylight at sunrise or sunset
with correlated color temperature of 5003 K. Also known as horizon light. (all
color profiles use it as PCS colro space)
l D55 - CIE standard illuminant D55. Simulates mid-morning or mid-afternoon day-
light with correlated color temperature of 5500 K.
l D65 - CIE standard illuminant D65. Simulates noon daylight with correlated color
temperature of 6504 K. (used with sRGB color space)
l A - CIE standard illuminant A. Simulates typical, domestic, tungsten-filament light-
ing with correlated color temperature of 2856 K.
l C - CIE standard illuminant C. Simulates average or north sky daylight with cor-
related color temperature of 6774 K.
l E - Equal-energy radiator. Useful as a theoretical reference.
The Illuminant affects XYZ and Lab color measurements. It's preferable to use the native
Illuminant for specific color profiles, for example sRGB model used D65 illuminant, while
Color profiles use D50 as intermediate white point. Conversion to other illuminates are
done by using Bradford transform in form of chromatic adaptation.
373
L*a*b* Color measurements and Color Correction
Every channel of a color image can be extracted to a monochrome image clicking the
Extract button.
Reference colors
Color measurements can be verified using some reference color images called color check-
ers, one of them is Gretag-Macbeth Color checker.
The patch has 24 colors covering visual gamut and has known colors published on the net.
The application installs the color checker image as ColorChecker_sRGBD65.tif to the Col-
ors folder of demo images:
The RGB values of every are generated with D65 illuminant. The list of patch values can
be found in wikipedia .
Color Correction
The Color Correction tool is closely related to the CIE L*a*b* measurements. The goal of
the color correction is to adjust colors of one image to colors of the reference image with
known Lab coordinates or just to some reference color patch, so the colors can be meas-
ured or compared.
374
Chapter 7
Typically, the reference image can be a color checker (e.g. Macbeth ColorChecker) or just
an image with color patches.
User should place manual Tags as reference points on corresponded color patched of the
reference and active images and execute color correction.
There are 2 types of transforms are available:
l Polynomial
l Thin Plate Spline
With Polynomial type the images may have from 3 to 20 points for color correction. A
polynomial transform is created matching colors on the active and reference images. The
type of the polynomial depends on the number of tags:
l 3-point calibration corrects changes in color gain
l 4-point calibration corrects color shift and gain
l 7-point calibration corrects the linear color mix
375
L*a*b* Color measurements and Color Correction
Polynomial transform is recommended to use with small number of reference points (3-7) as
high degree polynomials may produce unexpected color distortions for colors in between
references.
Thin Plate Spline transform can be used with 3 or more reference points. This method pro-
duces smoother color space transforms comparing to Polynomial with large number of
points, though reference point colors may not match exactly when Regularization is more
than zero.
It is recommended to use Thin Plate Spline transform for large number of tags as in case of
full 24-point matching of Macbeth ColorChecker.
Point Radius - radius of the measurement circle at the tag position in pixels. The average
RGB values of the circle region are used for color matching. When the value is one -
single pixel value is extracted.
Regularization – is a smoothing parameter used only with Thin Plate Spline transform
method. Increasing the value will smooth color transform, though the reference values may
not match exactly.
376
Chapter 7
Tags can be added activating the Manual Tag tool and clicking at the color patches on
the image. Tag positions can be modified activating the Select tool, selecting and moving
or deleting them using the Delete key.
You can also add the whole grid of color tags clicking the Add ColorChecker grid but-
ton and drawing polygon clicking the centers of the corner color patches in the following
order: top-left, top-right, bottom-right, bottom-left:
then close the polygon either by double click or hitting the Enter key.
The tag pattern will be created:
The tags on corresponded color patches on the active image should also be created and
then color transform can be saved to a file or applied to the image.
377
L*a*b* Color measurements and Color Correction
The transform can be saved to a file using the Save button. When the transform is saved, it
can be used correcting the current or other color image taken with the same conditions.
Clicking the Correct Colors button will apply transform to the active image.
378
Chapter 7
The app contains documentation describing the available tools, refer to the app's help file
for more info.
379
Counting Objects in Images
380
Chapter 7
381
Counting Objects in Images
This option allows Image-Proto separate objects that are touching or overlapping auto-
matically.
Clicking Split All will split all existing region objects.
The method can be Watershed or Boundary Shape, which define the splitting
algorithm. When Ridge size is on, only objects wider than the given width get sep-
arated. This option can be used to avoid splitting of elongated objects.
When Split Objects after Count is active, the objects get split automatically after a
Count operation, so no additional Split step has to be performed manually.
To split objects manually, activate the Split tool, draw some separation lines and then
click the Apply split button.
5. From the Count drop-down menu, choose Count:
382
Chapter 7
n Total indicates the total number of objects segmented in the most recent counting
operation.
n In Range indicates the number of objects remaining after applying filter ranges to
the results.
The Select group also displays the counting results:
383
Counting Objects in Images
Note that adding or removing objects manually will not change the count results,
since those numbers are related to the count operation. However, the current object
count will be shown in the label on the Delete All button.
Now that we’ve counted the spots, we’re going to sort them.
6. Select Sort from the Image group on the Count/Size tab.
In a few moments, you will see a new image with the spots sorted (in this case, from
largest to smallest).
384
Chapter 7
In the next part of this exercise, we will examine one individual spot.
385
Displaying Individual Objects
The enlarged display of that object appears in the Object Window on the right side of the
screen.
386
Chapter 7
387
Displaying Individual Objects
6. Select an object by clicking the Feature Name. In this example, select P1R1.
7. Open the Object Window in the View group:
388
Chapter 7
Note that there are limits associated with the display of large numbers of objects. You
can set these limits in the Applications Options dialog. When you set these limits, you
may see this message:
Count Options
The Count options appear in the Measurement options panel on the right side of the
workspace:
389
Displaying Individual Objects
When you perform a count/size operation, you can have Image-Pro find whole
objects, or portions of objects such as convex hulls, holes, and so forth. Click on the
Objects drop-down menu to see the choices:
The Preserve existing dataoption allows you to accumulate multiple Count/Size oper-
ations for the same image. When it is active, existing Count/Size results will be
retained when new Count/size operations are executed. By default, Reset existing
data is on, so old data is deleted when a new Count operation is executed.
Checking Close Threshold After Count will close the Threshold dialog auto-
matically after a count operation is complete.
You can collect measurements from the active frame or all frames to Data Collector
clicking the Collect button
When you click Collect , the application synchronizes active measurements from the given
data provider (Measurement types for Count/Size tab), executes Count on every frame
(when All Frames option is on) and collects measurements data for all frames in the
sequence in the Data Collector. The Data Collector table will be opened automatically
after the collect when the Show Table option is on (default).
When the Clear Collector option is active the data is removed from the Data Collector
before the Count. When theClear Measurements is active, the selected measurements list
of Data Collector is cleared before synchronizing of active measurements .
You can access all Data Collector tools and windows clicking the Go to Data Collector
button.
390
Chapter 7
Thresholding
Thresholding allows you to reduce your image to just two colors: black and white. This is
done by specifying a range of intensities to be emphasized (set to white), and converting
all others to black (0). Thresholding is often used to segment an image in order to extract
its important features, or to reduce an image to two intensity levels in preparation for a
watershed or thinning filtering operation.
Thresholding is performed using the Mask button on the Select tab.
When the Mask command is selected, you will be asked to specify the range of values
you want emphasized (set to white).
The Threshold command operates upon gray scale values, so if you are working with a
True Color or Palette image, it must be converted to Gray Scale before it can be threshol-
ded.
To use the Threshold tool, follow the steps below:
1. Open the image, if it is not already open.
2. Click the Mask button on the Select tab.
391
Thresholding
The dialog shows the histogram of the active image and the colored area shows the
range within thresholds. Using the mouse wheel will zoom in the histogram in and
out.
3. Use the following tools to set your threshold range:
The Class combo-box shows the active segmentation class. You can add new seg-
mentation classes by clicking the Add button or delete classes using the Delete
button. All classes can be reset using the Reset button. The class names that
you defined here are assigned to thresholded objects created by a Count operation in
392
Chapter 7
The Mask button creates a new binary image of thresholded areas for all classes of the
active class depending on Show All Classes control.
The Log Y button switches the Y axis to a logarithmic scale.
The Reset zoom button resets the histogram.
The Set Global button sets threshold segmentation ranges to Global. These ranges
can be applied to another image using the Apply Global button.
The segmentation ranges can be saved to a file using the Save button and loaded
from a file using the Load button.
The bottom part of the dialog displays these thresholding tools:
The Size parameter determines the pixel used to sample the intensities.
Undo/Reset
Use the arrow to undo the most recent operation. Use the Reset button
393
Auto-Threshold
Minimum/Maximum
Use these buttons to set the minimum and maximum threshold values.
Auto Threshold Min selects only bright objects, while Auto Threshold
Max selects dark objects.
Auto-Threshold
Auto-Threshold allows you to define the method that is used to segment objects in Auto
Bright/Dark segmentation modes. This feature appears when you click the Options button
in the Measurements group on the Count/Size tab’s ribbon.
You can find Auto-Threshold on the Segmentation Options ribbon, which appears on the
panel on the right side of the workspace:
The auto-threshold methods include multi-phase auto segmentation methods and a his-
togram method that should be used with Bias to segment objects above or below the back-
ground. The methods are:
l Min Variance - The ratio of between-phase to total variances minimized (method of
Otsu). This is the default method.
394
Chapter 7
l Legacy method. A version of the Minimum Variance method with a bias towards low
values. .
l Mean - Threshold is the Mean value of histogram. Use Bias to segment the objects
above or below background. .
l Mode - Threshold is the Mode value of histogram. .
l Median - Threshold is the Median value of histogram. .
l Minimum - Threshold is the Minimum value of histogram. Maximum - Threshold is the
Maximum value of histogram. .
l Best Fit Min - Threshold is the Minimum of best-fit range of histogram. .
l Best Fit Max -Threshold is the Maximum of best-fit range of histogram. .
The methods from Mean to Best Fit Max should be used with Bias to segment the objects
above or below background. These methods can be used with batch macros to count and
measure objects with intensities above or below threshold by fixed value.
Segmentation Bias
Segmentation Bias is defined by the Bias control:
You can use this option to adjust automatically calculated threshold values by the given
bias value. The bias is applied only to AutoBright/Dark segmentation methods. There are
3 bias methods:
395
Grow or Shrink Object
l Range Max - where bias is calculated as a percentage of the maximum range of the
given image type.
l Best Fit Range - bias is calculated as a percentage of the best-fit range. This is the
default method.
l Standard Deviation - bias is calculated as percentage of standard deviation of the
image intensity distribution.
Note that the Bias value, Bias method and Auto-Threshold methods are automatically
reflected on the Threshold overlay when adjusted (when Threshold dialog is visible and
segmentation method is set to Auto Bright or Auto-Dark).
The absolute Bias value is also reported in the tooltip over Bright or Dark segmentation
buttons:
396
Chapter 7
Choose the drop down arrow next to the blue selection arrow to Select All if you
want to grow or shrink all the objects.
3. Go to the Measure tab and choose the Grow or Shrink options from the Relative
Measurements group.
The drop-down arrow next to the Shrink icon lets you specify the incremental amount
to grow or shrink the object.
4. Adjust your image.
397
Open or Close Object
The Open tool will combine the two objects for your count results without changing
the actual area of the two objects. The drop-down arrow next to the Open icon lets
you specify the incremental amount to grow or shrink the object.
The Close option will use a morphological filter to close the space between the two
objects, thus changing the total area of the counted object.
398
Chapter 7
Smart Segmentation
The Count/Sizeribbon contains a group called Segmentation. It appears on the far left side
of the ribbon.
This feature provides an easy and intuitive method of image segmentation where you learn
to define the reference areas for background and objects. These areas are then used to cre-
ate segmentation masks to count and measure objects. Unlike the standard intensity-based
segmentation, Smart Segmentation allows you to include Color Channels, Background
Correction, and Morphological Filters when segmenting objects. When you select Smart
from the Segment group, the Smart Segmentation dialog appears. This panel contains the
tools and controls that you will use for image segmentation.
Use Smart Segmentation to segment images with colored objects, uneven backgrounds,
and textures. To use Smart Segmentation, follow these steps:
1. To start, go to the Count/Size ribbon.
2. Choose Smart in the Segment group. The Smart Segmentation dialog will open to
the right.
399
Select and Count
3. Draw a reference object and then define your background to start segmenting.
4. Click on the Select Objects tool to activate the object selection tool.
Use it to draw a circle on the object you wish to segment.
5. Click on the Background tool to activate the background selection tool. Draw on the
background area to activate the segmentation.
Tip: To select measurements, choose the Types button in the Count/Size or Measure
ribbon to open the measurement selection tool. All available measurements are dis-
played on the left. Double click on a measurement to add it to your list on the right.
6. Select Count to measure your objects.
400
Chapter 7
The background and reference objects can be created using one of the following tools:
Polygon, Ellipse, Circle, Rectangle, Line, Polyline, and Point. Select one of these shapes
by clicking the drop-down arrow under Select Objects or Background.
n Class defines the class of the reference elements. You can use this option to segment
objects of different classes. When objects are counted using the Count button, the
class information is passed to the Measurements module and can be displayed as
Object.Class measurement.
n Background defines the areas that are not objects. When the Show mask option is on,
the segmentation mask is created automatically as soon as a new reference object is cre-
ated or modified.
Note that the image must have at least one background and one reference object to do
the segmentation.
n Clicking the Count button measures the objects according to the segmentation mask.
Note that the same result can be achieved by clicking the Count button on Count/Size
tab.
The objects are counted using the selected measurement filters and other measurement
options defined in the Recipe Options.
n The Select and Delete All buttons can be used to edit existing reference objects. The
Load and Save buttons load reference objects from a file and save them to a file
respectively.
401
Mask and Overlay
n The Show button show or hides the segmentation mask. The drop-down menu allows
you to set the degree of mask transparency:
n Clicking the Create Mask button creates an image with segmentation mask. The out-
put image is an 8-bit gray pseudo-color image where the intensity of pixels cor-
responds to the object class.
402
Chapter 7
n Clicking the Create Imagebutton creates a floating point image for the active
class.This image can be used for further processing if necessary.
The following image contains an example of a floating point output image:
Recipe Options
Object segmentation is done by creating a Recipe based on the reference objects and
Recipe options. Recipe options include four main groups of parameters that are all active
by default.
403
Recipe Options
By activating and deactivating various parameters, you can use different combinations of
object properties for segmentation. Note that the more properties you activate, the slower
the segmentation is performed.
Colors in RGB, YIQ and HSI color spaces: When this option is active, the image
is segmented using color information from the objects. The segmentation channels can be
toggled independently opening the button's drop-down menu:
The option can be disabled when colors should not be taken into account when seg-
menting objects.
Background correction: With this option, the image is segmented using back-
ground correction.
404
Chapter 7
Morphological operations are applied to the image in order to find the best seg-
mentation between object and background. The set of morphological filters includes Low
Pass, Edge, Erode, Dilate, Max, Min and Range. The size of the filter is defined in the
drop-down menu and should approximately correspond to the object size.
The pixel parameters of the background and object areas are analyzed using all active oper-
ations defined by the options and the segmentation recipe is created. The segmentation
recipe includes the transformations with maximum degree of difference between the
objects and background. The recipe can be saved using the Save button or loaded to a
new image using the Load button. Loading a recipe to a new image automatically per-
forms image segmentation according to the recipe.
When Auto Weight is on, the weight of the channels based on the significance calculated
from reference objects. When the option is off, all channels have the same weight. Switch
this option off if the objects have to be segmented using discontinuous range.
When the Top option is off (default) all enabled channels are included into the seg-
mentation process. You can limit the number of channels activating the Top option and
selecting the number of most significant channels from the top of the list.
The Accumulated checkbox define how multiple reference objects in one class are treated.
When the option is on, the recipe is created based on the accumulated value calculated
from all objects in the given class (mean, deviation). When off, every object is used as a
target to segmentation. Use this option if multiple small objects are used, which will
define accumulated ranges. Switch it off to create segmentation where single class can
include discontinued range of measures, for example when the background is gray and the
object can be either bright or dark. Switch it on, if segmentation should be done based on
average value of many reference objects. (Default is off)
405
Recipe Options
You can set the active recipe to Global using the Set global button.
The global recipe can be applied to the active image using Apply global button. A
global recipe can be used for segmenting similar images using the same recipe. A Seg-
mentation recipe loaded from a file or applied from the global recipe can be adjusted by
adding new reference objects on the current image.
Note that you cannot add new recipe channels to the loaded recipe; you can only use exist-
ing channels and add reference objects to them.
You can use the Clear button to reset the accumulated objects loaded from a global
recipe. After these objects are cleared you can add new recipe channels if necessary.
The recipe can be saved using the Save button or loaded to a new image using the Load
button. Loading a recipe to a new image automatically performs image segmentation
according to the recipe.
You can use the Record button during macro recording to record the recipe contents
to a macro. The Record feature can be used to create macros based on smart segmentation
without using external recipe files. The recipe command then can be adjusted in the
designer window of the scripting workbench.
The All button adds all available recipe channels to the recipe. Reset sets the
default recipe channels, and resets the recipe and segmentation classes.
The tooltip for the Save button shows the weights of the transformations in the seg-
mentation recipe. These indicate which object properties are most significant for seg-
mentation:
406
Chapter 7
The Reference objects line shows the total number of reference objects in the recipe. The
number in brackets shows the number accumulated objects (objects loaded from external
recipe and not present on the current image).
The example below shows how segmentation can be used to segment different color and
textures in the same image.
Add reference objects to the image, perform the segmentation, and the results can be used
for measurements:
407
Recipe Summary
Recipe Summary
Recipe Summary shows the overview of the recipe parameters and the recipe description
(optional).
The summary shows the number of reference objects, the number of segmentation classes,
and the list of significant segmentation channels.
The values in the brackets show the mean intensity values for the given channel. When the
Accumulated option is off, the values for every Reference object are shown. When the
Accumulated option is on, the average value for every segmentationclass is shown. The
class is shown in the square brackets - [1], [2].
[Bg] indicates the background objects. The right-most value is the weight of the channel.
In case of recipes with user-defined channels, the summary shows the commands, inputs,
and parameters of user-defined channels. If the inputs are also user-defined channels, they
get expanded up to the simple channels, as shown next:
408
Chapter 7
The example above shows the recipe with one active channel Difference, which is cal-
culated as a Subtract operation between InverseGray and Histogram Mean where
InverseGray is the NOT operation of Gray and Histogram Mean is the image of Mean
histogram intensity of InverseGray.
409
Classifying Objects
Classifying Objects
The Classify group includes controls to classify objects by single or multiple meas-
urements and define colors of classification palette.
The classification measurement is defined in the top combo-box. The Bin ranges table con-
tains the list of start positions of every classification bin following by the end value of the
last bin. By default the range is spread according to the data values on the current image.
The values are editable.
You can define the number of bins, set the first and the last value and click the Spread
button to divide the range evenly by bins. The ranges can be reset using the Reset
button. The ranges can be divided linearly or using logarithmic scale base on the state of
410
Chapter 7
the Log button. Note that logarithmic scale can be used only when min and max
range values are greater than zero.
Clicking the Ok button will assign classes to objects according to the bin ranges. This
function can be used to classify objects by any parameter, for example by the Diameter,
which can be used in metallurgy for quality reports:
Auto Classification
Multi-measurement auto classification can be applied using the Auto button.
The Number of Classes defines the maximum number of groups that can be created by
auto-classification. The list of Classifiers include all selected measurements of numerical
type.
411
Classifying Objects
User can select any number of measurements. All measurements can be selected/deselected
clicking the column header button.
Clicking the Ok button applies hierarchical clustering to the objects using the selected
measurements and assigns classes based on the cluster created by cutting the clustering tree
where the number of branches correspond to the number of requested classes.
The following example shows automatic clustering of objects based on their X and Y pos-
ition.
Palette controls include start/end colors and spins that define the parameters for the color
palette used to classify the objects.
412
Chapter 7
Learning Classification
Learning classification can be used to classify objects using multiple parameters based on
reference objects. It can be especially useful when you are not certain which parameters to
use for classification, but you do have an idea of how the objects of the given should
appear.
The Learning Classification dialog can be opened when an image already has some meas-
urements. Usually this operation is performed after counting the objects.
The Learning classification dialog contains a Classification bar, a list of Classes and a list
of Classifiers (measurements):
413
Classifying Objects
New classes can be added to recipe clicking the Add Class column
header. The name and color of new classes can be modified. To use this feature, follow
these steps:
1. Manually segment objects.
2. Select Count to count objects.
3. Go to the Classify group and select Learning Classification.
4. You’ll see a range of measurement that you can use to classify your objects.
5. If you need additional measurements, go to the Measurements Types group to add
more measurements.
6. From the Learning Classification dialog, select the green class button to add a new
class.
Use the little blue arrow to activate your selection tool and then click on the type of
counted object (on your image) that you wish to classify. For example, you can click
2-3 brown stained objects.
7. Continue to add classes using this technique.
8. Select OK and your objects will be classified using your selected objects.
414
Chapter 7
You will now see a histogram of the classified objects based on the classification
scheme as shown here:
415
Classifying Objects
416
Chapter 7
Finding Shapes
The shape-finding tools appear on the Extras tab:
Find Shapes is used to locate and measure objects of some particular shape, such as a
straight line, a circle, or a search pattern.
Lines
Click the Lines drop-down arrow to see the following options for straight line detection:
Length defines the length of line in pixels. The value assumes that the lines on the ori-
ginal image have a maximum intensity corresponding to the image class (e.g. 255 for 8-bit
grayscale). If the lines have lower intensities, the value has to be increased proportionally.
Clicking the eye dropper button allows you to select the length right from the image.
When the Find line ends option is on, the application uses the caliper feature to find the
exact start and end positions of any detected lines. The longest line along the detected dir-
ection is extracted. When the option is off, the lines are drawn between image borders.
Angles control defines the number of angle steps in the Hough transform (width of Hough
image).
Filter size is the size of spike detecting filter. This parameter defines how close spikes on
the Hough image could be. If spikes are closer that the filter size, they will be detected as
one spike.
417
Finding Shapes
Clicking the Create Hough Image button will create a Hough image that can be used to
examine the transform using other tools. The Hough image is not displayed in the work-
space and only the resulting lines are created.
The Show Demo button opens the demo image and locates the lines. The resulting image
looks like this:
Circles
Clicking the Circles drop-down arrow displays these options:
Use the Prefilter to select the filter to extract circle edges. Use None if the image is
already processed and circles are extracted. (Circles must have bright outlines on a dark
background).
Min radius and Max radius define the minimum and maximum size of the circles. Click-
ing the eye dropper button allows you to select the radius directly from the image.
418
Chapter 7
Number of steps defines the number of Hough images to be created by detecting circles
from Min to Max radius. This parameter defines the granularity of detected circle radii.
The Completeness parameter defines how complete circles have to be to be located. Set
this value to 1 to locate only complete circles. If the value is set to 0.5, then half-circles
will be located. The values from 0.6 to 0.8 produce the best results. The Completeness
value assumes that the circles on the original image or after edge preprocessing have a max-
imum intensity corresponding to the image class (e.g. 255 for 8-bit grayscale). If the circles
have lower intensities, the value has to be increased proportionally.
Min c-c distance (minimum center to center distance) defines how close circles of the same
radius can be. The parameter is in minimal radii. The default value is 1.0, which means that
the circles of the same size cannot be closer than minimum radius (Min Radius). If the
objects on your image are not overlapping, the parameter should be set to a larger value
(e.g. 1.8).
Min radius diff defines the minimum difference in circle diameters when circles have the
same center point. The value is relative to the Radius range (Max Radius-Min Radius). The
default value is 0.3, which means that the circles can be located separately if their dia-
meters are different for more than 30 percent of the range. If there are no overlapping
circles on the image, so that only one circle can be located at the given position, the para-
meter should be set to 1.
Create Hough image creates image sequence of circular Hough transforms for all steps.
Show demo button demonstrates the functionality using a demo image:
419
Finding Shapes
Irregular Shapes
This button finds a selected pattern on the image. The number of found objects and the loc-
ations can be incorporated into a report. Note that search pattern must be set first.
To set the search pattern, draw an AOI around the object you want to find and click the
Set Search Pattern button. When the pattern is set, the button is checked and the tooltip
shows the current pattern:
The Full FFT checkbox indicates whether or not to use the Full FFT Transform (box is
checked) or Phase Only (box is unchecked).
The Objects control sets the maximum number of expected objects. Threshold options
define the matching threshold to find all objects.
The Create image button creates an image of cross-correlation between the search pattern
and active image.
Clicking the Show demo button demonstrates this feature using a demo image and dis-
plays the located cells on an image:
420
Chapter 7
421
Creating a Voronoi Map
When the Show Mask Objects is checked, the map includes the source objects or their
centers (depending on Map Type).
3. Click the Voronoi button to create a Voronoi map image.
Map Type defines how the areas between objects are divided; either Center to Center
or Edge to Edge. When Center to Center is selected, the areas are mapped by meas-
uring distances from the objects’ centers. When Edge to Edge is selected, the areas are
mapped using the distances from objects’ edges. The areas of the map are colorized
using the object classification from the Data Histogram.
The Measure option defines what type of measurement will be displayed on the out-
put map. The options are None, Area or Minimum Distance.
When Minimum Distance is selected, the image will include circular regions cor-
responding to the minimum distance from the given object to its closest neighbor. The
distance is reported as Region: Diameter.
422
Chapter 7
Min Distance Edge to Edge map Min Distance Center to Center map
When Area is selected, the cells are measured using the outlines of whole cells.
Objects with the cells are also included the measurements (they are not excluded as
holes).
423
Tracking Objects
Tracking Objects
The Tracking feature in Image-Pro enables you to follow an object as it moves through
time and space. For example, a researcher could use it to follow the progress of a cell as it
moved through the capillaries of the heart.
Manual Tracking
1. Open the sample image Trackseq.seq from the Images/Tracking folder.
Open the entire sequence (all 8 frames).
The image workspace will look something like this:
2. Click the Play button on the Sequence toolbar to see how the objects move.
3. Click the Stop button.
n Select ObjectTracking from the 2D Measure tab. You will see the
MotionTracking ribbon.
424
Chapter 7
You will see a message asking you to click on the points to be tracked in the active
image.
5. Click on a point on the active image. Continue to click on it as the frames advance,
as shown here:
The Tracking module automatically draws a line showing the track you have selected.
This is now Track 1.
6. Click Close Track to stop adding points.
The Tracking module displays data and information about the track in the Tracking
Data Table, as shown here:
425
Manual Tracking
7. Click the Add Track Manually button again to add another track. This will be Track
2.
8. Click Close Track to stop adding points. The image in your workspace should look
something like this:
Each track on the active image is identified with a different color. You can change the
426
Chapter 7
9. To display the statistics for each track, click the Show Tracking Statistics but-
ton. The tracking statistics are shown in the bottom half of the Tracking Data Table, as
shown here:
427
Manual Tracking
10. Click the drop-down arrow on Types in the Measurements group on the Count/Size
ribbon:
You can edit the list of measurements displayed in the Tracking Data Table by choos-
ing items from the Available Measurements list box, and adding them to the Selected
Measurements/Filters list.
11. Use your cursor to highlight the Or. Distance measurement. Then click the Add but-
ton. The Or. Distance will appear in the list of Selected Measurements.
428
Chapter 7
429
Manual Tracking
430
Chapter 7
Automatic Tracking
In this part of the tracking exercise, you will learn to use the automatic tracking feature in
Image-Pro. This feature uses current segmentation settings defined in the groups Seg-
mentation Options, Threshold, and Measure, groups to detect objects on all frames. You
should define all segmentation parameters to identify the tracking objects before this oper-
ation. You can adjust threshold level, set measurements filters to eliminate unwanted
objects, like dust, from tracking etc.
431
Automatic Tracking
You will see a message indicating the number of tracks found on the image:
432
Chapter 7
6. Click OK.
You will see the tracks appear on the image:
Intensity Tracking
The Intensity Tracking feature operates on objects of interest that have been captured
over time in an image sequence. This feature allows you to measure the objects'
433
Intensity Tracking
Select Tools
The Select groups allows you to select existing tracks, draw regions on the image to create
intensity tracks, toggle visibility of tracking overlay, show/hide selected tracks, delete
selected track and remove all tracks.
The Draw button allows you to select various tools to create regions for intensity track-
ing:
Your region can be a polygon, ellipse, circle or rectangle. The most recently selected tool
becomes the default tool.
434
Chapter 7
Intensity Measurements
Click on the Types tool to display the Measurements dialog box:
This dialog box shows a sortable list of measurements available for selection in the left-
most panel (titled "Available Measurements"). Measurements can be selected by adding
them to the list in the right-most panel (titled "Selected Measurements").
For example, in the above image, six measurements have been selected: Regions: Intensity,
Mean; Regions: Intensity, Max; Regions: Intensity, Min; Regions: Intensity, Std Dev;
Regions: Integrated OD, and Regions: Area.
Use the two pull-down list boxes at the top of the Available Measurements panel to filter
the list of available measurements. The left-most pull-down list box (the one that shows
"All Types" in the image above) allows you to filter the available measurements list to
show only those measurements applicable to a certain kind of feature. Not all meas-
urements are applicable for all features. In the left-most pull-down list box, select the type
of feature that you want to select measurements for. If you want to see all measurements,
select "All Types."
The right-most pull-down list box (the one that shows "All Categories" in the image
above) allows you to filter the available measurements list to show only those meas-
urements belonging to a selected category. For example, you can limit the list to only
those measurements related to Density analysis, Shape analysis, or Holes analysis. If you
want to see all measurements, select "All Categories."
A description of each measurement can be accessed using the Image-Pro tooltips feature.
Simply position your mouse over the name of the measurement in the Available Meas-
urements panel, and view the tooltip for that measurement.
435
Intensity Tracking
The panel includes controls for changing the Font, Labels, and Outlines.
The Name column is editable, so user can give meaningful names to the tracks if neces-
sary. Clicking the column headers will sort the data in the table.
The tracking toolbar shows the following tools:
436
Chapter 7
Any track can be set as the Reference track by selecting the Set as reference track
button.
When reference track is set, all track parameters are calculated relative to the reference
track. Reference tracks can be used to:
n Correct geometrical position (velocity, acceleration) of test tracks assuming that the
positions of objects on the reference tracks are static. The correction is done sub-
tracting position of reference object on every frame from all test objects. It can be
used to correct camera shifts during sequence acquisition.
n Correct optical density (or any Regions parameter), where the reference track is
placed on the background area and all density related parameters of test tracks will
be corrected by the intensity on the reference track. It can be used for background
intensity correction.
Clicking the Reference track button a second time resets the reference track.
Any track can be set as the Normalization track by selecting the Set as
437
Intensity Tracking
Note that the values of the normalization track are singles, because they are normalized
individually. Clicking the Normalization track button a second time resets the nor-
malization track.
If more than one track is selected as a Reference or Normalization track, the average value
of the marked tracks is used.
Clicking the right mouse button over the table opens a context menu relates to the track
under the cursor:
If the Scroll to Object option is on, selecting the object in the table will make visible on
the image scrolling the window to the object position. It can be used when the image is
zoomed and some objects are outside the visible area.
The Color control allows you to change the color of the track.
Data Histogram: Opens the Tracking Histogram which allows you to view distribution
data for selected measurements. A sample histogram is shown here:
Object Table: Opens the Track Table and populates it with the measurement data for each
intensity measurement of the active track. A sample object table appears here:
438
Chapter 7
The Index spin box specifies the ID of the active track. For example, in the above table,
the Index is "1" indicating that the active track is "R1," and the data for "R1" is shown in
the data table. To see the data for a different track, simply change the Index number.
Data Graph: Opens the Tracking Graph which allows you to view a graphical rep-
resentation of the data in the Tracking Table.
The Tracking Graph shows a graph of the selected measurement value across all frames of
the sequence file. For example, the graph above shows the mean intensity values for the
439
Intensity Tracking
objects of interest over time. Note that the Tracking Graph is interactive with the Track-
ing Table. Tracks selected in one place are automatically selected in the other.
440
Chapter 7
Features Manager
The Features Manager in Image-Pro allows you to create collections of predefined items
called Feature Collections. Once features are in the collection, they can be converted to
other types of features, or added as-is to other images. The Features Manager handles fea-
tures from your active Annotations, ROIs, Measurements, Line Profiles, or Grids.
Each feature definition included in a collection can be applied repeatedly to a single
image or can be applied to different images. Feature collections can also be saved so that
they are available across sessions, and so that you can manage your collections in different
files. Using the Features Manager, you can:
l Define feature collections by adding features from your open images, or deleting fea-
tures from the current collection
l Apply any feature from a collection to the current image
l Convert features from one type of feature to any of the other supported types
l Save the current collection to a file
l Load a previously saved collection
NOTE: The Feature Manager tool is available via the Features group on the Select tab.
By default, the Features group is hidden. If you don't see it, right click somewhere on the
Select ribbon to display the list of available groups, and click on Features.
In addition to the instructions below, you can read more about the Features Manager
earlier in this manual. " Features Manager " on page 281
441
Features Manager
If you have not previously created a collection, use the New collection menu item to cre-
ate one. The new collection definition is added to the list box under a heading for the act-
ive image:
The new group of features can be renamed by clicking in the name field:
Once one or more collections are available in the Feature Manager, the Add list will give
you a choice of where to add the new feature(s):
442
Chapter 7
Features can be added to the original image, or any other open image, using the Set Col-
lection To Image button ( ).
Converting Features
You can convert features from one type to another by changing the selected type before
adding the feature to the image. The types of features that you can convert any given fea-
ture to depend on the feature type. As an example, to convert a group of ROIs into a group
of measured regions, change the feature type to Measurements:
Then click the button to set the converted measurements to the active image.
Note that if you set the converted features back to the original image, the new features are
added to the image. The original features will still be there until and unless you choose to
443
Features Manager
delete them. The original and new features will be overlaid on top of each other, which
may make it difficult to see one or the other.
444
Chapter 7
Data Collector
Data Collector provides a place where you can accumulate, summarize, and store inform-
ation from the analysis of multiple images.
Unlike most tools in Image-Pro which show data one image at a time, Data Collector
provides a place where you can collect analysis data from multiple images. Tools such as
Count/Size, Histogram, and Manual Measurements are set up to respond to collection
requests from Data Collector. To check whether a given tool supports Data Collector,
look for its name in the Types drop-down menu in the Data Collector group.
Data can be collected in two ways: Automatically, every time new data become available
from one of the data sources, or at specific times that you can specify by pressing the Col-
lect button. Each new collection updates the statistical summary available on the Statistics
page. One way for Data Collector to be aware of the various data items that can be col-
lected is to first invoke the tools that supply them. It is also possible to specify a list of col-
lected items via macro before or after any data source is invoked. In this case though, data
will not be collected until the tools are invoked and supply the data.
You can find the Data Collector group on the Measure ribbon:
n Collect: Clicking the Collect button will collect data from the active document.
n Collect from All Frames: Use this option to collect data from an image sequence or
movie file.
n Buffer size: Use the spin buttons to define the size of the rolling buffer used for col-
lecting data from live images. The buffer size defines the number of data blocks (col-
lection events) to be retained in the data collector. When the limit is reached, the data
blocks collected at the beginning are deleted and new blocks are added to the most
445
Data Types
Types: The list of collected data types is defined in the Types drop-down menu.
These are discussed in the next section.
Automatic Collection: This button turns automatic collection on or off. With Auto-
matic Collection on, the collection process is triggered each time one of the tools gen-
erates new data. When Automatic Collection is off, no new data is collected until the
Collect button is pressed. This feature is useful when collecting intensity data from live
preview workspace.
Delete Last: Click this button to delete the last collected data block.
Delete All: Click this button to delete the whole collection. Only data stored in Data
Collector will be deleted. This does not affect any of the data stored by the data sources or
data collected prior to that and saved to disk.
Data Types
The list of available data providers and data types can be selected in the Types drop-down
dialog:
446
Chapter 7
The Available Measurements panel shows the list of available data types/measurement
from the selected data providers, such as Count/Size or line measurements. Data providers
may have multiple tables of measurements. Selected measurements are those that meas-
urements you choose to collect.
The Selected Measurements list contains two columns: Name and Visible. The visibility
of the measurement can be switched off by clicking the corresponding checkbox. This fea-
ture can be used with derived and user-defined measurements. In this case, all measurement
columns that are included in the expression of the derived measurement can be hidden in
the output table and only the resulting measurement is shown.
The tooltip over the measurements in both tables provides extended information about that
measurement, including Caption, Name, Data Type, Description and Expression (some
properties may be empty if not available).
Refresh: Clicking the Refresh button will add new properties from the active doc-
ument to the list.
Some measurements may be extended with new tables and measurement information col-
lected from the active image, as shown here:
447
Data Types
Reset: Clicking the Reset button loads the default list of available measurements for
the selected data providers.
The list of available measurements can be very extensive, so finding the necessary meas-
urement can be difficult. If you know the name of the measurement you can use the quick
search option. You can type a part of the word in the "Find..." textbox and only meas-
urements with the given sub-string in the name will be included in the list:
Sync will add all statistics and sub-measurements for a given type to the available meas-
urements list.
The list below shows only measurements that include "size”:
448
Chapter 7
Any selected measurement can be added to the selected list by double-clicking on the
name of the measurement and clicking the Add button . Note that if a group
header is selected, all the measurements in that group are added. Clicking the Add all but-
ton will add all available measurements to the visible list.
You can select the table where you want to add the measurement, measurement type,
define a name or caption, and create an Expression. An Expression can include any exist-
ing measurements that are listed in the Variables list, and may include arithmetical and
logical operations between them. Clicking the Insert button will insert the selected
variable into the Expression line.
449
Data Types
It is possible to include variables from other tables. The variables can be created using par-
ent-child relations. Tables from the Image data provider can be used as parents for all other
providers.
Available variable names are generated automatically and added to the Variables list:
The example above shows how to add an Image Name column from the Image table to
the Measurements table.
Tables with parent status (tables from Image data provider) can include measurements from
child tables (e.g. Measurements). Since one row of the parent table corresponds to multiple
rows of the child tables, only aggregate functions can be used.
An example is shown here:
In this example, new measurements are added to the ActiveFrame table that corresponds
to the maximum line length of all measurements on the given image.
Note that by default, the Variable list inserts variable with Avg aggregate. You will need
to replace it with the required aggregate type. Available aggregates are:
Sum (Sum)
450
Chapter 7
Avg (Average)
Min (Minimum)
Max (Maximum)
Count (Count)
StDev (Statistical standard deviation)
Var (Statistical variance).
The complete list of rules creating Expressions can be found by clicking the Help button
.
In Edit mode, the table, name and type cannot be modified. Double-clicking on the name
of any measurement will open this dialog also.
The list of measurements can be saved to and loaded from a file using the Save and/or
Load buttons:
Clicking the Reset button will set the defaults back to their original states.
Data Windows
Data Collector has 6 data windows, which can be opened using any of the following con-
trols:
451
Data Windows
Data Table
The Data Table shows data collected from all data sources. The table has a multiple tab
layout where every tab represents a separate table:
Statistics: This panel can be activated using the Show statistics button.
Data Collector data can be saved and loaded from a file, which allows you to analyze data
collected earlier, or continue to collect data in the next session. The data is saved with
"adoxml" extension.
452
Chapter 7
When you select the Data Table, it appear at the bottom part of the application window.
453
Data Windows
The table contains measurements values taken from the active image.
The data table will generate measurement names using the abbreviations shown below for
the measurements.
Abbre- Meas- Abbre- Meas- Abbre- Meas-
viation urement viation urement viation urement
Name Name Name
AN Angle AB Angle BFA Best-fit
between Arc
Lines
BFC Best-fit BFL Best-Fit
Circle Line
C Circle CCD Center to CPT Center
Center dis- Point
tance
E Ellipse FPT First Point L Line
LPT Last point MMD Minimum MXD Maximum
distance Distance
P Polygon PL Polygone PR Count/Size
Line Polygon
region
PPL Point to PWL Pitch with
454
Chapter 7
Note that are statistics is calculated only from visible measurements. Clicking the Select
measurement button opens a dialog where you can select measurements to view. Clicking
Create Mask creates a new image with a binary mask of the objects in the selected region.
Clicking the right mouse button above any cell will open a context menu, similar to one
shown here:
455
Data Windows
Selecting Set measurement as default will set the selected measurement as label for the
given type of features. The default measurement column color is violet.
If you want to define a new origin and direction for the X axis of the calibration, then
select Set line as X axis item and the beginning of the line will become the origin and the
direction as the offset angle of the newly created spatial calibration. Note that pixel size in
X and Y directions remain unchanged from the previous calibration.
If you want to create a calibration based on the size of known features, use Calibrate by
feature item. It will open the dialog shown here:
Using this dialog, you can define the feature size, units and calibration name. Clicking Ok
will create a new spatial calibration based on this feature and apply the calibration to the
image.
Data Blocks
Data can be grouped to get statistical values per block or by any other key or combination
of keys.
456
Chapter 7
The Totals control defines the type of aggregate function calculated for every group.
Data Graph
Clicking the Data Graph button opens a window similar to this one. The Data Graph
shows selected data values in a chart:
457
Data Windows
Y axis and X Axis combo boxes select data to display, while the mode buttons
Show All: When Show All button is selected, the data are plotted for all data sources.
When it's off, only the information from last data block is plotted.
Per Collection: The Per Collection(Block) button plots each block in a separate line
on the graph. When the option is off, all blocs are on the same line.
Per Item: This option plots the data per item in each block. The number of lines cor-
responds to the number of items in a block. It can be used to plot intensity data from dif-
ferent objects on a live image.
Data Histogram
The Histogram displays binned data for the selected measurements:
458
Chapter 7
Bins:The Bins control defines the number of bins. The number of Bins defines the gran-
ularity of histogram. When either Per Collection or Per Item is selected, the data are
grouped and each group is displayed using a different color.
Scatterplot
A Scatterplot displays the data distribution of two measurements. This feature is limited to
displaying only measurement data from the same table on one chart.
The Scatterplot appears something like this:
459
Data Windows
When Per Collection or Per Item are selected for either scatterplot, the data are grouped
and each group is displayed using a different color.
460
Chapter 9 : Customizing the User Interface and Automating Processes
461
Chapter 8
The Quick Access Toolbar allows you to display icons that, when clicked, execute a sys-
tem-supplied or user-defined command. In this way, the Quick Access Toolbar provides a
shortcut to commonly used functions.
462
Using the Quick Access Toolbar
The list box on the left displays all the available commands and icons. The list box on
the right displays those commands and icons currently displayed in the Quick Access
Toolbar.
The Choose commands from...drop-down list displays different groups of available
commands, as shown here:
463
Chapter 8
5. Click the Add button and the command appears in the right hand list box.
6. Click on the OK button.
The shortcut is added to the Quick Access Toolbar.
464
Customizing the Image Strip
Image-Pro opens the image strip automatically when you launch the application. It
appears on the left side of the application window.
If you have several images open, the image strip will display thumbnails of all of them:
465
Chapter 8
The layout of the images can be selected from the context menu.
n Click the right mouse button on the image thumbnail to see the context menu.
466
Customizing the Image Strip
n Single row/column: when this mode is activated the thumbnails are resized to fit the
width or height of the window. Scrollbars become visible if the number of images
exceeds the size of the window.
467
Chapter 8
Viewing Tooltips
Tooltips show the basic image information:
468
Activating and Closing
n To view an image tooltip, move your mouse cursor over the image thumbnail.
The zoom and pan controls allow you to resize the image or a portion of the image.
When the active image is zoomed and doesn’t fit in the viewer, the viewing area is shown
on the image strip thumbnail as a semitransparent orange overlay.
n Click and drag the center of the viewing area on the thumbnail to control pan
and scroll of the image.
469
Chapter 8
To remove an image from the image strip, select that image and click the <Ctrl> or
<Shift> keys. More than one image can be removed at the same time using this method.
Using the interface customization capabilities provided by Image-Pro, you can customize
the Image-Pro toolbars by:
n Moving, docking, and undocking toolbars
n Showing/hiding toolbars
n Creating new toolbars
n Adding/deleting buttons from existing toolbars.
470
Using the Multiple Document Interface (MDI)
Normally, when the workspace windows are set to Docking, the image appears like this:
When you switch to the MDI view, several images can be viewed at once, as shown here
(these are shown in the Tiled layout):
471
Chapter 8
472
Floating Panels
Floating Panels
One of the unique features of Image-Pro is the “floating” or “dockable” panels. The image
strip, details panel, mini-histogram panel, or other workspace areas can be moved inde-
pendently from the main image workspace. This may be particularly useful when working
with a dual-monitor system, as you may want to display the image on one monitor and the
details on the other. An example of floating or “undocked” panels appears here:
473
Chapter 8
474
Tools and Layouts
The Tools in the Workspace group allows you to load and save custom tool sets and lay-
outs for your specific situation. Click the drop-down arrow to see these features
Redock All Tools: Resets any open moveable panels that are undocked to their default
docked position.
Reset Tools Layout: Resets the application to its factory default tools layout.
Load Layout: This tool allows you to load a previously-saved tools layout. When you
click on this tool, the following dialog is displayed:
475
Chapter 8
This dialog shows all available tool layouts to be loaded. The Recent area shows a list of
the last loaded layouts. The Custom area shows a list of the custom layouts currently
stored in the Configuration Files folder. The Default area shows a list of the available pre-
defined layouts from installation directory \Resources folder.
SaveLayout: Click this tool to save the current layout of tools to a file that can be loaded
at a later time to restore the layouts to its current configuration. When you click this
option, you are prompted to give the layouts configuration file a name. Type a name for
the layout configuration file, then click Save. You can use the Load Layout tool
(described above) to restore the tools layout to its current configuration at a later time.
476
Creating a Custom Tab
The first time you open it, the Custom tab’s ribbon will be empty. You can add any group
or tool to it, as described here:
1. Decide which tools or group you want to add to the Custom tab. For example, Annot-
ate:
2. Right-click the mouse button in the Annotate group. You will see the context menu:
477
Chapter 8
You can drag the groups into different positions on the ribbon. The image below
shows that the Calibration and Filter groups have changed position:
4. To remove an item from the Custom tab, click Remove from Custom tab in the con-
text menu:
478
Rename and Make your Custom Tab the First Tab
4. In the Ribbon Tabs area, select First Custom Tab to display your custom tab as the
first tab.
5. Type in a new name for your tab in the Name text box
479
Chapter 8
Tabs with an active check mark will be displayed. Those without will be hidden from
view
For some situations, you may find it most effective to hide all of the other
Image-Pro tabs and focus only on the Custom tab or a specific App. To hide the tabs, use
the following steps:
1. Click on the File button in the top right corner of Image-Pro.
480
Hide or Show Tabs
4. Under the Ribbon Tabs section, select the Hide Tabs option and make sure Show Cus-
tom Tab is checked.
481
Chapter 8
5. Now you will see that just the Custom tab is shown. If you happen to have an image
opened, you will also see the contextual Image tab, which is displayed when an image
is opened.
Tip: Click on the far right side of the workspace. In the example below, you would
click in the grey area to the right of the “Movie” button.
2. You will see the Show or Hide Groups dialog. Groups that are highlighted will be
displayed. Toggle this feature on or off to show/hide groups.
482
Hide or Show Tabs
To expand and see the group’s controls, click the drop-down arrow, as shown here:
Users are encouraged to fully expand the Image-Pro workspace when at all possible, so
that all the tools and features are available.
483
Chapter 8
Image-Pro in Japanese
Image-Pro is also available with a Japanese-language user interface. It is installed along
with the English-language version from your electronic download or product CD.
To use the Japanese version, follow these steps:
1. Go to your Start menu and selectImage-Pro:
484
Working with Macros
Use the Record button to record a series of commands as you perform them. When Record
Macro is enabled, Image-Pro begins saving your commands to a script file using the script-
ing facility. It continues to record your actions until you instruct it to stop by clicking the
Pause Recording button.
Project Explorer
The Project Explorer panel displays the minimal scripting dialog. From here, you can find
and load existing scripts, as shown here:
485
Chapter 8
The Project Explorer appears as a dockable panel on the right side of the application
window. Macros and scripts are organized by modules and projects. Modules are files that
can contain multiple macros (or scripts). Projects are used to group related modules
together. The state of all these elements is maintained between sessions so that branches
that are not used can be collapsed, and only those scripts that are used be made visible.
The Project Explorer has a built-in search feature, which will highlight (and expand)
those scripts whose name or description contains the specified string.
The drop-down menu in the search box gives you access to search and browse tools.
Search My Macros lets you search for a saved macro containing a specific text string.
The App Center search will use a built-in web browser to connect to the App Center web
site where macros can be searched, rated and downloaded.
Browse Macros lets you search saved macros without specifying a text string.
You will find more information about macros and scripting in the Macro Scripting help
file provided with your Image-Pro installation.
Project Workbench
The Project Workbench is the place where you create and edit scripts and macros in
Image-Pro. You can find it on the Automate tab in the Macros group, as shown here:
486
Project Workbench
When you first open the Project Workbench, you will see the following workspace:
It covers the Image-Pro workspace, and can be moved and minimized without closing or
exiting.
The Project Workbench has two tabbed ribbons: Script and Edit. Both of them will be
described in the next section.
487
Chapter 8
The Create New group contains the tools for adding a new project, app, module, or report:
Adding a project, app, or module is discussed later in this chapter. Reports are described in
Chapter 10 of this manual.
The Project group contains the basic operations for creating a macro:
Record Macro: Use the Record Macro command to record a series of Image-Procom-
mands as you perform them. When Record Macro is enabled, Image-Probegins saving
your commands to a script file using the Auto-Pro scripting facility. It continues to record
your actions until you instruct it to stop by clicking the Stop Recording or Pause Record-
ing button.
Load Macro: Clicking this button loads the selected macro script and switches to the
Run mode to run the macro.
Edit Macro: Clicking this button switches to the Edit mode so that you can modify the
macro. This action will invoke the built-in Macro Editor so that you can modify the mac-
ros as needed. When you have finished your edits, remember to save the file.
488
Project Workbench
References: Click this button to review or edit the list of active project references. A
sample list appears here:
License Generator: This new feature in Image-Pro allows linking your apps and scripts to
a specific Image-Pro license. More information about this feature appears later in this
chapter.
The View group offers you two different ways of viewing your macro script:
Designer view lets you edit macros and projects graphically. Switch to the Code view to
edit macros and project code directly.
The Run group is fairly self-explanatory:
Run executes the selected macro. Pause will stop it midway through. End stops the macro
execution.
Debug: For debugging purposes, there are occasions when it is useful to run your macro in
“debug mode.” Debug mode lets you execute the macro in step-by-step fashion, allowing
you to see the effect of each command. It can help you quickly identify the specific state-
ment that is causing a macro failure.
489
Chapter 8
The Clipboard group contains the familiar Cut, Copy, and Paste commands.
The Search group lets you find specific macros or lines of code.
The Find command searches for a specific sting of code. Replace replaces one string of
code with another.
My Macros looks for a specific macro among all the macros stored on your computer.
490
Project Properties
Clicking the App Center button takes you to the Thermo Fisher App Center. This is a
searchable on-line database of macros, device drivers, plug-in modules, application pro-
grams and development consultants that support Thermo Fisher image analysis products.
Here, you can look for macros and other helpful information.
The Comment group lets you add or remove comments on specific lines of code.
The Dependencies group lets you import and export macro information and references.
The Windows group lets you navigate through multiple windows in the workspace.
Project Properties
All the settings affecting your projects are gathered on the Project Settings page in the cen-
ter of the Project Workbench. They can be displayed by double-clicking the project’s node
in the Project Explorer when you are working in design mode (in code view, the project’s
source code is displayed).
491
Chapter 8
l Additional Files are only applicable to packaged projects. These properties allow you
to designate additional files that will be included in the package. When the files ori-
ginate from a known location (Images or Configuration Files folders for example) they
are installed in the same location on the target system.
l Compiled is used to switch between interpreted (the default) and compiled mode. Com-
piled mode is fully compatible with VB.NET and faster, but does not allow debugging
or macro design.
l Documentation allows you to browse for a documentation file (.PDF, .DOC…) that
will be included in the package. It will be highlighted in the Project Explorer with a
small question mark icon used to launch it.
l Filename is the name of the project file.
l Hidden enables you to hide this project so that it’s not shown in the Project Explorer.
l Imports lists all the project level “imports” which are used to select the libraries that
are directly available for coding in the global namespace.
l Packaged is true for packaged projects. Project packages are self-contained compressed
archives including all the files needed by the project.
492
Project Properties
These options gather all global settings used by the Project Workbench including edit-
ing tool configuration and display selections.
493
Chapter 8
Loading an App
Image-Pro allows you to load pre-recorded apps, projects, and macros that you may find
useful. To add an existing App (project or macro), follow these steps:
1. Go to the Search group on the Apps tab in Image-Pro.
2. If you want to load one of the pre-recorded apps provided by Thermo Fisher, click the
App Center button.
The browser will take you directly to the Apps portion of the website:
494
Loading an App
5. You will be asked to accept the license agreement. Click I understand and accept the
user agreement.
Apps and projects are stored in the Scripts folder of Image-Pro. Apps have the exten-
sion *.ipx.
6. Click Save.
You will see the Open Project dialog.
495
Chapter 8
Running Apps
Once a project is loaded, its app appears in the Apps ribbon.
It can be started by clicking the appropriate button. To run the sample app, follow these
steps.
1. Open the image you want to process in the workspace. This example shows
tumor.tif.
496
Running Apps
2. Click the name of the app you want to run. This sample app is called
White Balance.
The contents of the app appear in the right-side panel:
497
Chapter 8
498
Using the Project Explorer
499
Chapter 8
2. Click Browse Macros. You will see the Select Project dialog box.
3. Click the name of the project you want to open. It should appear in the Project Work-
bench project area.
4. Click the Edit icon to make changes to your item. When you are finished, click the
Load icon again to reload and run your app or macro.
500
Creating a New Project, Module or App
l Add New Project creates a new scripting project where you can store apps, mod-
ules and reports.
l Add New App creates a brand-new app in the current project.
l Add New Module creates a new scripting module in the current project.
l Add New Report creates a new report.
501
Chapter 8
2) Select a location and click OK. To store your project in a new folder, click Make
New Folder.
3) To cancel without saving your project, click Cancel.
3. Indicate what items your project will contain: a module, app, or report:
4. Click OK. The framework for your new module appears in the Scripting Workbench.
502
Creating a New Project, Module or App
503
Chapter 8
4. Give your app a name and click Save. You will see the App Form appear in the
Designer workspace:
5. Drag and drop the actions and features for your app from the Toolbox into the
Designer Workspace. They will appear as individual buttons:
The toolbox on the left-hand side contains expandable lists of actions and features that
you can include in your app.
6. From the Properties panel on the right, add properties to your app, such as a descrip-
tion or caption:
504
Designing Apps
Note: When cutting and pasting controls from one area of an App to another, or from
one App to another, the code attached to these controls is left as is and is not trans-
ferred to the new location.
7. When your app is complete, use the Save button to save it.
Designing Apps
Apps and Forms have special designer tools which are displayed when loading them in the
Project Workbench. Double-click on the App to see the Designer window:
505
Chapter 8
In this mode, the Project Workbench displays several tools which are useful for the design
of Apps.
l The Toolbox on the left side displays the controls that can be used to build your App.
Once selected, these tools are activated and enable you to create the control in the
App design area. These controls can also be dragged and dropped into the App
designer.
l The Toolbox also lists macros and commands that provide a convenient way to create
preconfigured buttons that will call selected commands and macros.
l The central area is the App or Form designer and is where the Apps are designed. Con-
trols can be moved around, aligned, copied, or pasted.
l The Property Panel on the right side displays the properties of the selected control or
of the App itself, including App Settings which are used to document and control the
App visibility in Image-Pro. The control and App properties can be modified in the
Properties Panel, and their new values reflected immediately in the design area.\
They can be edited, modified, or linked to a URL.
506
Designing Apps
You can choose an icon from the icon library, shown below, or create one of your own.
507
Chapter 8
Finally, the visibility of the apps and their icons depends on the App Settings where you
can hide or show branding and contact information, as shown here:
508
Designing Apps
2. Choose Save.
509
Chapter 8
4. Click Save. Your project file will be saved in the selected location.
Packaging a Project
In order to share your new app or project, you will need to package it. Follow the steps
below.
1. Go to the File menu on the Scripting Workbench.
2. Choose Package.
510
Designing Apps
l Project Package is an unprotected format that contains the active project and all
its related components (macros, modules, and apps) in a single file.
l Read-Only Package stores your project and its components in a file that can be
read but not edited.
l Encrypted Package stores your project in an encrypted file where all the macros
will be hidden. This file can be read but not edited.
511
Chapter 8
2. Choose Package.
512
Designing Apps
l Basic Encryption is the same as the current method where the project package is
protected by a secret key, and its code is never revealed. You will not be able to
see the code but can run the macros or apps without restrictions.
l Password Protected is a new option that may be of interest for some (to keep some
projects private in a multi-user environment for instance). In this case the project is
protected by a unique private password, which is required in order to load the pro-
ject. Once the project is loaded, the code is visible but read-only. Note that if the
password is lost, the project can’t be loaded.
l Licensed is the option that associates the project license with an Image-Pro serial
number. The first time such a project will be loaded, you will be prompted to enter
a license key, which will then be remembered if valid. The license key as well as
the project’s encryption password is also dependent on a secret key that the project
developer is the only one to know. A checkbox allows to start the Project License
Generator automatically once the project is packaged.
l Upload to App Center let you send your package to the App Center automatically.
513
Chapter 8
This tool prompts for the project package, the secret key defined when the project was
packaged, an optional serial number as well as an optional expiration date. The com-
bination of all this information results in a 25 characters string which is similar to the
Microsoft product keys.
514
Designing Apps
515
Chapter 8
Batch Processing
Batch Processing allows you to run a series of tasks in a predefined order. Scripts can be
grouped into batches. The Batch Processing feature appears in the Tasks group on the
Automate tab’s ribbon:
You will need to check Show Automate Tab in the Ribbon in the Popular options to see
and use this feature.
The Batch Processing panel appears on the right side of the application workspace.
It is divided into 3 sections that allow you to:
1. Select the macros that will be used for the batch.
2. Select the images, documents, files and folders to process.
3. Start the batch and control its options.
516
Selecting Macros
Selecting Macros
Step one in the process is to select the macros that will control the batch processing.
The Select Macros section provides three drop down lists that expose all the loaded mac-
ros.
517
Chapter 8
l The Run Before macro runs once when you press the Start button. Its optional
parameter is the list of all the data that will processed.
l The Loop On macro runs for each document selected in section 2 (or loaded from
a selected file or folder). Its optional parameter is the document being processed.
A sample list of available macros is shown here:
l The Run After macro runs once after all the selected documents have been pro-
cessed.
Macros selected for batch processing may define parameters to handle the documents
loaded during the operation. Otherwise, they’ll use the active document. These macros are
analyzed to assess their ability to run in background threads and enable multithreaded
batch processing.
Macros containing commands interacting with the user interface (identified by the sym-
bol) are not suitable for background processing. Compatible macros show the green symbol
instead.
When you have located the macro you want to run, click OK.
518
Select Images
Select Images
In step two, the Select Images section is where you select the data to be processed by the
batch. There are three types of data that can be specified, the details of each are presented
in a tooltip.
Images selected in the Image Strip can be copied by pressing the Image button, or loaded
images can be selected individually from its drop-down list. The Add AllDocuments item
will add all loaded documents in one click. Images can also be dragged from the Image
Strip and dropped into the batch panel.
519
Chapter 8
The Add Folder button allows you to select a folder containing images to be processed
using a standard Browse for Folder dialog.
The type of image file to be processed is defined in a drop down entry of the same button,
which precedes the list of the most recently used folders. Subfolders can be processed
when this option is selected in that same menu
520
Process the Batch
Folders (as well as files) can also be dragged from Windows Explorer into the batch pro-
cessing panel.
521
Chapter 8
Grouping is controlled by the last toolbar button. This button turns grouping on or off,
and also provides several basic grouping schemes, as shown here:
When files are grouped, you can control the order of groups and the order within each
group by using the column headers.
When basic grouping is not sufficient, the Advanced Option menu item, as well as the
expandable splitter just below the toolbar, allows you to display an additional panel with
grouping and sorting parameters:
522
Process the Batch
Files and documents can be sorted using the full path or by using some of the characters in
name. This name part can then be interpreted either as a character string or as a number.
In the example below, files are sorted by pattern.
Similarly, grouping is performed based on the specified part of the name, interpreted either
alphabetically or numerically. You can create groups of fixed size if the grouping pattern
is a simple number.
523
Chapter 8
Grouping Macros
When grouping is used, the Loop Macro is intended to process an entire group of files
or documents together instead of individually. Therefore, it should be written in such a
way that it will process all the files in the group.
This can be accomplished in two ways. The first approach relies on selecting both the Dis-
play Documents and Close Documents options, and then processing all the loaded work-
spaces in the macro.
The second approach does not require displaying the documents but instead uses a macro
parameter to access each item in the list as in the following example.
PublicSub ListMacro(list)
ForEach doc AsObjectIn list
ThisApplication.Output.PrintMessage doc.DisplayName
Next
ThisApplication.Output.PrintMessage "----------"
EndSub
Task Management
The Task Manager is accessed through the Tasks group on the Automate tab.
It can also be displayed by double-clicking the circular progress control that appears
in the status bar while tasks are being processed.
524
Process the Batch
The Task Manager is where the status of the various tasks (commands and macros) run-
ning in the application is being displayed and where they can be controlled.
Clicking the Task Manager button displays the Task Manager panel. This example
shows an empty window:
When filled, the Task Manager displays a hierarchical table of all the tasks that have
been scheduled. It includes their descriptions and status of each task. It also allows you to
control these tasks (Priority, Cancel, Clear...) using a context menu.
n The Input column describes the input data for each task, including the frame selec-
tion if available.
n The Progress column is updated incrementally while tasks are being processed.
n The End Time and Duration columns are estimated when the command starts and ini-
tially appears in light gray.
n The Priority column which can be changed with the context menu or in place controls
the sequencing of commands.
n The Engine and Thread columns indicate where commands are processed and by
which thread (commands are initially issued in the main engine then moved to back-
ground engines for processing).
525
Chapter 8
n The Email column, which is only visible when an email address and HTTP server
have been configured in the Task Scheduling options, allows you to select those
tasks which will notify of their completion by an email similar to this.
Green is used to indicate the commands that have completed successfully. Errors are dis-
played in red. Double-clicking will bring up a detailed error dialog.
n Run starts a task that has not been executed yet immediately.
n Schedule configures an idle and unprocessed task for batch processing.
n The Set Priority submenu lets you change the priority of the various tasks.
n Cancel allows you to cancel a background task during its execution.
n Delete and Clear All Processed are used to remove unwanted tasks from the
Task Manager.
n The Select Columns item brings up a floating window to and from where
columns can be moved to configure the Task Manager display.
526
Task Scheduling Options
527
Chapter 8
General
Batch Process All: Process all compatible operations in the background tasks using the
task manager.
Email Results To: Email address where to send notifications
SMTP Server Address: Emails are sent using this server. Note that some servers do not
support this feature.
Email All Batched Tasks Results: Send email for all tasks.
Task Manager
Expand All: By default, commands are not expanded when they have sub-commands res-
ulting of a processing split, this option allows to auto-expand all commands.
Display Hidden tasks: Some commands are used internally and would confuse the display
(filter preview, guard band processing) so by default they are not displayed in the task man-
ager.
Remove Processed Tasks: Clear tasks from the Task Manager once they are done.
Number Of Processed Tasks To Retain: When clearing tasks, keep that many.
Advanced Options
The Task Scheduling tab of the Options dialog is where all the various scheduling para-
meters are defined:
528
Task Scheduling Options
Minimum Frames per Engine: Displays the minimum allowable number of frames for
splitting sequences
Split Large Single Frames: Allows Image-Pro to split processing for large frames when
possible.
Minimum Region Size per Engine: Indicates the minimum allowable region size for split-
ting large frames.
Number of Background Engines: This setting defaults to the number of cores minus 1
minus the number of priority engines
Number of Priority Engines: Displays the number of engines.
Threads Per Core: Indicates the number of threads allowed for each physical core.
Threads Os Factor: Displays a number between 0 and 1 that defines if and how to mod-
ulate the number of threads based on CPU utilization. 0 ignores the CPU utilization, 1
decreases the Threads Total Count with the CPU usage ratio.
Threads Queue Factor: Displays a number between 0 and 1 that defines how much pri-
ority to give to the first commands in the task queue as opposed to distributing resources
amongst all queued commands.
Threads Task Factor: Displays a number between 0 and 1 that defines how to distribute
resources between background engine main threads and operator sub-threads. 1 means that
all free threads are made available to task scheduling, 0 means that all free threads are
made available to sub-thread allocation.
In case the application is closed while background tasks are being processed, a small icon
appears in the Status Bar notification area. Double-clicking this icon will restore the
application window, and a context menu also allows you to cancel all remaining tasks. If
they are not cancelled, all the tasks will be processed and the application will exit after
that.
529
Chapter 10 : Generating and Printing Reports
530
Chapter 9
Images with a check next to them are available to include in a report. When the Use
Image StripSelection option is checked, this selection will track and match the
changes to the images in the image strip. The Select All option will ensure that all
entries in this list are selected. Using the Select All option or adjusting the checkmark
will disable the Use Image Strip Selection option and visa-versa.
2. Next, click the Templates drop-down arrow to select your layout .
531
Creating and Printing Reports
4. Choose a format.
TheImage-Pro reports are loosely designed for an A4 or letter paper output size. The
sizing of the content and the naming of the reports are based on the output page size.
Once you have selected your documents and report template , you have the following
options:
n Preview the report. In this case the resulting report is read-only and can only be
saved (in Word, PDF or HTML format) or printed. The edit controls are disabled.
n Edit the report. The resulting document is loaded and contextual ribbons can be
used to customize it further before saving or printing. The editing controls are sim-
ilar to those available in Microsoft Word.
n Edit the report template in theProject Workbench. A copy of the report template
itself is loaded for editing the report content.
5. Click Preview Report.
532
Chapter 9
The hourglass icon will appear, indicating that your report is being created.
When finished, your report will appear in the application’s workspace:
6. If you are satisfied with the appearance of the report, go to the File group on the
Report ribbon.
7. Select Save As to save your report as a PDF. Choose Quick Print or Print to print a
paper copy.
8. To edit your report, close the sample report.
533
Creating and Printing Reports
From here, you can use the Report, Insert, and Layout ribbons to adjust the content
and appearance of your report.
Report Tools
Once a report is created, you have the option to add specific content without leaving
Image-Pro. The report tools use the familiar ribbon tabbed layout.
The Report tab’s ribbon contains controls for saving, printing, and formatting text.
The Insert ribbon allows you to add pictures, illustrations, page numbers, and hyper
links to the body of your report. You can also add and edit headers, footers, and text
boxes using these controls.
The Layout tab’s ribbon lets you adjust the page size, color, margins, and text ori-
entation.
The Contents ribbon lets you add a table of contents to your report. You can also add
captions to tables and figures using these controls.
534
Chapter 9
The reporting features available in the Project Workbench are detailed below:
1. The Report Tools in the ribbon.
2. The Project Explorer, where reports can be loaded and created.
535
Reporting in the Project Workbench
3. The Report Designer, to lay out the various report components as in an MSWord doc-
ument. A context menu is also provided.
4. The Report Data and Report Fields, similar to the Toolbox allow selecting the report
data and dragging data items to the report designer.
5. The Properties Panel is to configure reports and their components.
These features are explained in more detail in the next section.
The Insert tab lets you add tables, symbols, dates and other specialized details to your
report:
The Layout tab controls table cells, columns and rows. You can adjust the background
color here also.
The View tab controls the aspect of the report template as well as the visibility of report
fields.
536
Chapter 9
The References tab lets you add a table of contents, table of figures, or captions to your
report.
Project Workbench
The Project Workbench now has a section called My Reports where known reports are lis-
ted (those appearing on the Review tab).
Right-click on the My Reports folder to create new reports or load existing ones.
When you double-click on one of the reports, a report designer is loaded in the workspace
area together with Apps and macros.
537
Reporting in the Project Workbench
To add data to your report, click Start Here. You will see the Select Report Data dialog:
538
Chapter 9
The Report Data panel is used to select and configure the data that will be available for
the report and displayed in the Report Fields panel. You can select the individual fields
using the Add, Remove, and Clear buttons.
The following example screenshot shows a sample report displayed at the end of the
Wound Healing App:
539
Reporting in the Project Workbench
540
Chapter 9
541
Chapter 11 : Managing Multiple Users
542
Chapter 10
Managing Identities
When more than one person is using a particular machine or sharing a copy of
Image-Pro, access can be controlled by setting up different identities for each person. To
manage identities, follow the steps below:
1. Multiple users are enabled in the application's Options dialog. You access the Options
dialog through the Application menu, by clicking the File button in the top-left corner
of the application:
3. Enabling user logon at startup will not affect your current session. The next time that
you start Image-Pro, you will see the login dialog, in which you can select an identity
to log into, and also manage the list of available identities:
543
Managing Identities
Note that the default identity used by Image-Pro is based on the Windows user name
of the user who is logged in when Image-Pro is running.
4. If you are not one of the listed users, you can click New to create a new identity. You
will be prompted to enter the new identity name:
544
Chapter 10
Password Protection
Password Protection is a new feature of Image-Pro. It enables you to safeguard your work
by requiring a password to log into your application. You can password protect the single
login that you have by default without managing multiple users, but you will most often
use Password Protection in conjunction with enabling multiple user logins.
Password protection can be enabled in the application's Options dialog. You access the
Options dialog through the Application menu, by clicking the File button in the top-left
corner of the application:
1. Go to the Popular Options page and check the Enable Application Configuration
through User Logon at startup option.
2. At any time after selecting Enable Application Configuration through User Logon at
startup, check the Require Password to log into Identity option. Doing so will dis-
play the Administrator Password Required dialog:
545
Password Protection
Important Note: The Administrator identity is unique in Image-Pro, and is created for
you when you select the option to require identity passwords. Make sure to keep the
Administrator password that you specify in this dialog in a safe place, because you
will need to contact Customer Service to remove password protection if you forget it.
3. Once you check this box, you will see the Enter Password dialog:
546
Chapter 10
547
Chapter 12 : Using the 3D Features
Note: This chapter discusses the advanced 3D features of Image-Pro with 3D Mod-
ule that are not included in the basic Image-Pro product. The 3D features of Image-
Pro are discussed in Chapter 5, Working with Images.
Image-Pro with 3D Module requires a 64-bit computer and operating system, and
also places greater demand on your operating system. Please see the Image-Pro with
3D Module system requirements in Chapter 1, Installing Image-Pro.
548
Chapter 11
If your image sequence does not include Z-position information, it may not load into the
3D Viewer automatically. In that case, you can use the 3D view button on the image con-
text menu or in the status bar to switch to the 3D view.
When you open an image, image set, or image sequence in Image-Pro with 3D Module, an
icon that indicates which view you have open appears next to the file name:
By default, a new volume is loaded in View mode, which allows you to click and drag
anywhere in the 3D workspace to move the camera, effectively rotating the volume in the
3D space. The X/Y/Z axes that may be displayed in the bottom-left hand corner of the
549
The Image-Pro with 3D Module Workspace
workspace will show the current orientation of the camera with respect to the X, Y and Z
axes of the volume. Use the controls described on the following pages to manipulate and
analyze the image.
Use the <F> key to check the performance of your 3D viewer on your graphics
hardware. It may be difficult to manipulate the 3D view with less than 3-5 FPS
(frames per second). Please refer to the system requirements in Chapter 1 for addi-
tional information.
Image-Pro with 3D Module includes three more tabs in addition to the tabs included in
Image-Pro.
When the active view is using the 3D Viewer, the 3D View context tab will be displayed,
which lets you load and save 3D rendering settings, and adjust a wide variety of 3D ren-
dering settings that affect the display of your volumes:
3D Measure contains the tools and features you will need to make volume measurements:
3D Animation contains the tools for creating advanced animations and movies of your
volume. The Animation feature allows you to create, record, and play animation files
(*.anm) in the Image-Pro with 3D Moduleworkspace
When you start Image-Pro with 3D Module, you will notice that the status bar has been
rearranged:
The icons for the 3D viewer and the Slicer views have moved to the start of the list of
views on the image context ribbon, and in the tools portion of the status bar.
550
Chapter 11
The Volume Display group lets you load, save, and refresh the settings for your 3D
Viewer:
The Reload button allows you to reload the volume with different subsampling. Clicking
the drop-down arrow displays these choices:
The X, Y, and Z indicators refer to the scaling factor use to subsample the display of the
volume. If subsampling is used with this volume, you will see a tooltip similar to this:
The Load, Save, and Reset buttons in the Volume Display group control the various ren-
dering options. Rendering options include the current visual representation of all elements.
The options can be saved/loaded using the REN file format.
The complete experiments including references to the source image and all rendering
options can be saved to Image-Pro with 3D ModuleExperiment (.s3d) files.
551
Navigate Group
These experiment files can be opened directly in the application's File Open dialog by
selecting the Image-Pro with 3D Module Experiment type.
Reload opens the following dialog:
You can also define voxel size and subsampling manually. When the Auto checkbox is
active, the volume is subsampled automatically. With typically large volumes, (larger than
128 x128 with 128 or fewer Z-planes) subsampling allows faster processing and smother
volume handling, at a cost of reduced resolution in the display. Subsampling for display
purposes does not affect the accuracy of any measurements taken.
When Large Volume license is available, user can activate the Large Volume Display
handling to display the volume at variable resolution. The large volume options can be
configured clicking the Options button.
Reload when Imagechanged indicates that the volume should be reloaded if the under-
lying image or image set is changed. For example, after filtering the image.
Load 3D settings lets you open and load saved 3D Viewer settings files from a *.ren or
*.S3D file. The *.ren file format saves only the 3D settings, which allows you to apply
those settings to another volume. The *.S3D file format saves those settings and also
saves a reference to the image or image set file to open. After saving an S3D file, you can
use it to re-open the same image file with the same settings from the File:Open dialog
Save 3D settings lets you save your current settings to a *.ren or *.SD3 file.
Navigate Group
The Navigate group allows you to select and view the 3D volume from different positions.
552
Chapter 11
Select: Use this button to select object manipulation (and deselect View mode). The cursor
shape will change to an arrow. In this mode, you are manipulating and holding objects in
the Viewer window. Using the <Ctrl> key while clicking the mouse will allow normal
multiple selection or deselection of objects.
View: Use this button to select camera or viewer mode (and deselect object manipulation
mode). The cursor shape will change to a hand icon. In this mode, you are moving the cam-
era in 3D space, which changes the perspective of the rendering in the Viewer window.
When View mode is selected, use the mouse to control the camera position of the viewer.
In this mode, you can rotate, move (using <Shift>+drag), or zoom objects (using the mouse
wheel).
The View/Select modes can also be activated from the image context menu by clicking the
right mouse button:
The AdvancedOptions button contains the advanced options for visualization and ren-
dering. These features are discussed later in this chapter.
TIP: You can switch between Select and View modes by holding down the <V> key.
553
Decoration Group
Voxel size: This group box defines the dimensions of one voxel (a pixel in 3 dimensions).
The values displayed are the last ones used. If the image does not have a spatial cal-
ibration, and no system calibration has been set, the values are 1, 1, and 1. If the image has
a spatial calibration, the X and Y units per pixel values and the calibration units are taken
from the calibration. If the active sequence or stack includes information about the Z frame
position, the Z size is set from the distance between first and second frame in the sequence.
If Z information is absent, Z voxel size is set to the average value of X and Y sizes. These
values can be modified to achieve the desired volume aspect ratio, but doing so will affect
all 3D measurements taken on the volume. For accuracy of your measurements, we
strongly recommend that you do not modify calibrated values. Note that you can change
the subsampling in the Load dialog on the previous page without affecting 3D meas-
urements.
Decoration Group
The Decoration group contains useful features for viewing and enhancing your 3D image:
The ShowAxes button hides or shows the volume axes. This option display axes that
show the orientation of the volume (Red for the X axis, Green for the Y axis, Blue for the
Z axis). The origin of the axes is at the 0, 0, 0 location.
Show Small Axes hides or shows a pair of small axes in the bottom left corner of the
view. Show small axes is the default selection.
The Bounding box button hides or shows the bounding box. Select this button to dis-
play a bounding box that encloses the entire volume. Clicking the drop-down arrow lets
you choose between the volume frame and bounding box views:
554
Chapter 11
The Scale bar button hides or show the calculation markers on the view. Clicking the
drop-down arrow lets you turn the marker on or off (Toggle Marker) or display the marker
options. Calibration is discussed in greater detail in Chapter 5.
555
The View Style Group
Note that the scale bar shows the size in the central part of the volume.
View All sets the camera to view all visible objects and decorations in the scene.
From this dialog, you can turn the stereo mode on or off, and change the stereo type.
556
Chapter 11
l Linear interpolation does bilinear approximation between voxels, which is fast but
less accurate.
l When Cubic interpolation is activated, a cubic interpolation of neighboring voxels is
used. This option produces smooth volumes, but is expensive in terms of computing
resources.
l The Pre-Integrated option can be used to increase the quality of the volume view
with a smaller number of slices. It is also useful when the transfer function has a lot of
fast variations, i.e., the color changes very rapidly.
An example appears here:
557
The View Style Group
l The Voxelize options lets you visualize each non-transparent voxel by rendering
each voxel as a cube of that voxel’s volume and intensity. It can be used to look
at the volumes at the voxel level. The picture below shows the volume with the
voxelize option on:
Voxelize on
Boundary Opacity increases or decrease the opacity of object edges, where gradi-
ents are high:
558
Chapter 11
The Edge Coloring changes the color based on the gradient direction (normal).
Areas where the normal direction (computed from the gradient) is facing the camera will
have an unmodified color, whereas areas where the normal direction is more perpendicular
to the view direction will tend towards Edge Color.
Edge Color lets you select a color from the palette. Edges are highlighted with the color
specified in Edge Color.
In the example below, the coloring is on and the color is white:
559
The View Style Group
l Background: Use the color picker to select a background color for your volume
display.
l When the Gradient Light option is on, the color gradient is drawn as a back-
ground for a scene. The Background color appears at the top of the window and the
second color appears at the bottom of the window.
l When the Show Image option is on, an image will be displayed on the background.
The position of the image is controlled in the Style drop-down box and the image file
can be selected using the Browse... button. The following image formats are sup-
ported: BMP.
l The Light button activates directional light and volume lighting. The drop-down
menu contains additional lighting and volume appearance options:
560
Chapter 11
561
The View Style Group
Use the handle to manipulate the light direction. The Edit menu allows you to
change the color using a color editor. The options are set to the default, always on
top.
l The Show Shadows option activates shadows on volume and scene elements.
Note that when the light is off, the shadow is cast from the headlight, which fol-
lows the camera. When the directional light is on, the shadow is cast by the cam-
era light, the position of which can be controlled using the Edit Directional
Light dialog.
l Shadow intensity and smoothness can be controlled using the corresponding con-
trols. Intensity is given in range from 0 (no shadow) to 1 (dark shadow). Higher
values of smoothness give smoother shadows.
562
Chapter 11
l Shadow screen can be used to show dropped shadows. You can control the
places where the shadow screens are shown (Y, Y, Z). You can also control the
color and the screen offset from the edges of the volume. Offset is defined in per-
cent of the volume size in the given direction.
l Pseudo Surface is a lighting effect that looks like a virtual surface created at the
threshold level of volume opacity. It gives a better result when the volume data
contain regional boundaries with relatively sharp gradients. Threshold defines the
opacity level for the Pseudo Surface in a range from 0 to 1. The default is 0.1.
l Material groups defines material properties of pseudo surface. The color of the sur-
face is calculated from a combination of 4 color components, each component is
in range from 0 to 1:
l Ambient - the color of an object where it is in shadow. This color is what the
object reflects when illuminated by ambient light rather than direct light.
l Diffuse - represents direct light hitting a surface. The Diffuse Light contribution is
dependent on the incident angle.
l Specular - the white highlight reflection seen on smooth, shiny objects. Specular
light is dependent on the direction of the light, the surface normal and the viewer
location. Specular component makes the object look like metal or glass. The reflec-
tion property is also defined by Shininess, with values close to 1 the reflections
will be very sharp as on polished metals, with lower values the radius of reflection
increases to make it look as brushed metal.
l Emissive - the self-illumination component of the color, has neon effect.
563
Composition Group
Here are the examples of the Pseudo Surface mode with different Material properties con-
figurations:
Use the <Q> key to switch between rendering modes. There are two rendering methods
that support trade-offs between rendering speed and rendering quality:
l Sorted Blended Transparency
The default rendering mode, this features fast rendering, but may not accurately render
semi-transparent surfaces.
l Delayed Sorted Pixels Blended Transparency
A more complex rendering mode for complex scenes with semi-transparent objects.
Also more demanding of graphics resources.
Composition Group
The buttons in the Composition group define the image composition method.
564
Chapter 11
Blend: Blending averages the values of the voxels in a straight line through the
volume of the object.
Max:Maximum Intensity Projection takes the value of the brightest voxel in the
same straight line as used by the Blend option
Sum: This method displays the sum of the value of the voxels in a straight line. It is
most useful for dark images.
Min: Minimum Intensity Projection takes the value of the dimmest voxel in the same
straight line as used by the Blend option.
Some examples are shown here:
565
Geometry Group
Geometry Group
The Geometry group defines the camera parameters:
Clicking the Projection button sets the view to the last-selected projection, from
one of the following:
The bottom slider in the Geometry group is the View Angle slider:
566
Chapter 11
This slider adjusts characteristics of the camera’s virtual lens, which changes the angle that
defines the field of view of the camera. Changes to the field of view can indirectly make
your scene look larger or smaller. Changes to the viewing angle can also cause lens effects
like a “fish-eye” view of your scene if you are using the Perspective setting in the Geo-
metry group. The following illustrations may help to understand how the view angle
affects the rendering:
Note that the volume appears much smaller with the larger view angle. The following illus-
tration may explain why this happens:
567
Volume of Interest Group
568
Chapter 11
The Show VOI Axes button turns the VOI axes on or off.
Show VOI handles shows or hides the "dragger" associated with the VOI. The drag-
ger is used to move and resize the VOI.
To use the dragger tool:
1. First make sure the 3D Viewer window has focus (click in it if necessary).
2. Then make sure the Viewer is in selection mode (cursor is an arrow shape). If neces-
sary, click the Select icon in the Navigate group to switch to selection mode.
3. Click on the Show VOI handles button to activate the VOI adjustment handles
569
Volume of Interest Group
The size of the VOI (XYZ) and the volume are given in spatially calibrated units. Volume
fraction shows the ratio between total volume of the image and the VOI.
You are able to copy and paste VOI extents from one 3D view to another using the Copy
and Paste buttons. You can also crop the volume to the VOI extents using the
Crop button.
The Reset button will reset the VOI to the full size of the data volume.
The sub-volume information is shown in the Reset button’s drop-down panel which also
has controls to set the VOI parameters by numbers. You can define start and size values for
X, Y and Z axis and then click the Set by Numbers button. When the option In Calibrated
Units is selected, the values are in calibrated units, otherwise in voxels.
The position and size of a VOI can be displayed in the status bar when the ROI extents
and ROI size are selected in the Status Bar options:
Sub-Volume: Choose a shape for the VOI (Volume of Interest) from the drop-down list.
570
Chapter 11
Cross Fence
571
The 3D Measure Ribbon
Navigate Group
The Navigate group lets you choose between Selection and Viewing mode.
When View mode is selected, the mouse controls the camera position of the viewer. In this
mode, you can rotate, move, or zoom objects. In Select mode, you can select objects in 3D
view (slices, measurements (volumetric and manual), draggers,) and create manual meas-
urements. Using the <Ctrl> key while clicking the mouse will deselect any object.
TIP: You can switch between Select and View modes by holding down the <V> key.
Count Group
The Count feature lets you count specified volumes within the 3D image. Clicking the
Count Button executes volume segmentation and measurements on one of the volume
channels.
If the Count control is active, the 3D objects in an isosurface are remeasured every time
the threshold levels or isosurface parameters change.
572
Chapter 11
When you click the count button, you will see the following dialog:
Add isosurface: Here you can select which channel of a color image will be used to create
the isosurface. Your choices will depend on the volume that you have open:
l For monochrome volumes from a sequence and single-channel sets, your only choice
is a Gray channel from the monochrome data.
l For color volumes, you will have Red, Green and Blue channels that correspond to the
color components of the image.
l For single and multi-channel sets with channel information, there will be one volume
channel per set channel, using whatever channel names and tinting information is
available from the set metadata.
Sub sampling: The Subsampling group in this dialog is very important to understand, as it
affects the isosurfaces that are created. You can use subsampling to smooth out the isosur-
face that is generated, which will allow it to render and animate more quickly. However,
excessive subsampling can also result in removing smaller objects that you may wish to
visualize or measure, and subsampling will always affect the volumes of the objects that
may be measured later. For maximum accuracy, you will want to use Reset to make sure
that there is no isosurface subsampling.
Auto: Selecting the Auto checkbox activates automatic subsampling mode. In this mode,
the subsampling is calculated based on the size of the image. This provides faster loading
and rendering of volume images. By default this option is on. Advanced users can switch
this option off and set subsampling manually.
Reset: Clicking the Reset button clears all your volume settings and sets 1:1:1 sub-
sampling. The Reset button is disabled when Auto is on.
Filters: Filters can be used to smooth the surface. Choose a filter from the drop-down list.
Excessive smoothing using Filters can also affect the accuracy of any 3D measurements
that you make, so use the minimum amount of filtering needed to get a representative
isosurface.
Threshold Type: The initial threshold level can be selected automatically when Threshold
type is defined as Auto Bright or Auto Dark.
Close edges: Select this check box close the surfaces of the objects where they touch the
bounding box of the volume.
573
Count Group
When Close edges is turned on, the surface is closed on the sides that touch edges regard-
less their intensity value. (The edges must be closed to measure volumes.)
Execute Count: Check this box to execute the object segmentation count when an isosur-
face is created.
Auto-Split: Check to this box to split objects that are touching in two.
Ridge Size: When the Ridge size option is active, only narrow junctions with diameters
below the given size are split. Note that the split is also applied after adjusting the
threshold levels of the segmentation.
Your image will look something like this:
This example shows that the green channel was selected for the count.
Information about the isosurfaces created by the Count operation appear in the options
panel on the right of the screen:
574
Chapter 11
Counting the volume created an isosurface, which is represented by the Volume Surface
Green section of the 3D View options panel. When Execute Count is turned off, only one
isosurface will be created. Then you can adjust the Threshold levels interactively, and
execute the count by checking the Count check box:
The thresholds can be adjusted by clicking and/or dragging the start or end of the
threshold range on the histogram. There are a number of controls here that you can use to
fine-tune the segmentation of the isosurface, which are discussed in detail in the Add
Isosurface section later in this chapter. You can also edit it in the From or To controls.
When the Count option is turned off, the color of isosurface can be adjusted in the
Advanced Color drop-down:
575
Volume Measurements Group
Note that when Count is on, the colors of individual objects are controlled by the Col-
oring parameter in the 3D Measurement options. When Coloring is set to Parent the seg-
mented objects have the color of the isosurface. When the Coloring is set to Random, then
the color of every segmented object is selected randomly, but the transparency is taken
from the isosurface.
The results of the count operation are displayed in the Count Results group:
576
Chapter 11
Min and Max filter values can be adjusted by dragging the corresponding markers on the
histogram or editing their numerical values. The number of objects in range/total objects
and percentage are shown below the histogram.
577
Volume Measurements Group
Ranges sets the filter range that can be applied to each measurement. If a filter range is
set, objects with parameters below the minimum or above the maximum values are
excluded from the view. The filter ranges are used only when the Ranges option is active.
Center of mass X indicates the X coordinate of the center of mass of the object.
578
Chapter 11
Center of mass Y indicates the Y coordinate of the center of mass of the object.
Box ratio displays the ratio between the maximum and minimum sizes of the
bounding box: R = Max / Min.
579
Volume Measurements Group
Radius (max) indicates the maximum distance between an object's centroid and sur-
face.
Radius (min) displays the minimum distance between an object's centroid and
surface
Radius Ratio displays the ratio between the minimum and maximum radii.
Class shows the class to which an object belongs. The classification can be done
using the Histogram window.
580
Chapter 11
Feret (max) indicates the maximum distance between two parallel planes
enclosing an object.
Feret (min) indicates the minimum distance between two parallel planes
enclosing an object.
Feret Ratio displays the ratio between Feret (max) and Feret (min).
Alpha angle indicates the angle between the reference vector and surface normal
(in degrees).
Gamma angle indicates the angle between the Direction vector (Dir) and the
projection of the normal (Proj) to the plane created by the direction vector (Dir) and the
vector (Perp) perpendicular to Ref-Dir plane. The angle can range from -180 to 180
degrees.
Theta angle indicates the angle between the Reference vector (Ref) and the pro-
jection of the normal (Proj2) to the plane perpendicular to the Direction vector (Dir). The
angle can range from -180 to 180 degrees.
581
Volume Measurements Group
can do it by manually selecting the parent object and hole(s) and clicking the Merge
button. This will merge the outlines of the parent object with those of the holes which
will result in measurements that exclude the negative volumes of holes.
Orientation in 3D space can be defined using at least 2 angles from perpendicular vectors.
These angles are called Alpha and Gamma. Alpha is measured relatively to the Reference
vector and Gamma relatively to Direction vector.
582
Chapter 11
The Reference vector is defined by the X, Y and Z components. The default vector of 0, 0,
1 is parallel to the Z axis. The alpha angle is calculated between this vector and the sur-
face normal.
The Direction vector is defined by the X, Y and Z components. The default vector of 0, 1,
0 is parallel to the Y axis. The gamma angle is calculated between this vector and the pro-
jection of the normal to the plane of the direction vector, and the vector perpendicular to
the plane is defined by reference and direction vectors.
Maximum angle between triangle normal and reference vector defines which areas (tri-
angles) of the object surface will be taken into account when calculating surface normal.
Every surface consists of triangles; every triangle has its own normal vector. If the angle
between triangle’s normal and the reference vector exceeds the maximum angle range, the
triangle is excluded from the surface normal calculation. The default value is 80 degrees,
which excludes triangles on the sides of the object (angles around 90 degrees) and tri-
angles on the opposite side of the object (angles greater than 90 degrees). The maximum
value for this parameter is 180.
There are two methods provided to calculate the normal vector of surface:
l Average vector, which is calculated as area weighted average normal vector of all sur-
face triangles (within angle range). This method is relatively fast in calculation, but
sensitive to deviations on the surface orientation. Small bumps and pits on the surface
can slightly affect the vector.
l Median vector, where median vector from all triangles are selected as surface normal.
Median vector is the vector that has the minimum sum of distances to all other vec-
tors. This methods provides very stable results; as small bumps and pits on the surface
do not affect the result. The vector represents the normal direction of the surface which
covers most of the object. This method is very computation intensive, and can be
much slower than the Average method for large objects (if each object contains more
than 10000 triangles).
The Show Surface Normal vectors option hides or shows the surface normals on the
image.
The Show longest object line vectors option hides or shows the longest object lines that
are used to measure Angle X,Y and Z.
An example appears here:
583
3D Options Panel
The colors of the normal vectors can be changed using the Selection color.
3D Options Panel
The 3D Options panel can be opened by clicking the 3D Options button in the Volume
Measurements group:
Appearance options
The Appearance options control Labels and Outlines.
Volume Text sets the appearance of measurement labels displayed on the 3d volume.
Manual Text sets the appearance of the manual measurement labels.
Both text combo-boxes indicates the type of labels. The labels can be:
584
Chapter 11
Line width defines the width of lines for the manual measurements
Arrow Size defines the size of arrow line ends.
Sphere Size defines the size of sphere line ends for point measurements. When a manual
measurements feature (point, line, polyline) is selected, the points of the polyline are
shown as spheres in the selected color with boxes around them. If the viewer is in the
selection mode, and the selection mode of the manual measurements is active, the pos-
itions of the spheres can be edited by dragging the points to new positions.
Color and Selection define colors for normal and selected state of the elements.
The Spheres and Dragging boxes are switched off when the feature is deselected.
The Coloring control defines what color the objects will have. Two choices are available:
Parent and Random. If Parent is selected, the objects inherit the color from the parent
isosurface/volume measurements. If Random is selected, the colors for objects are generated
randomly, so every object has different color.
585
Measurements Group
Measurements Group
The Measurements group shows, hides, or deletes the various manual measurements on the
image.
The Show button shows or hides any manual measurement objects on image. The
Show All group lets you show or hide selected measurement objects.
Select measurements allows you to select measurements on the image and also edit
the positions of external objects.
586
Chapter 11
Add line measurement activates the line tool. A line is added after 2 clicks.
Add polyline measurement activates the polyline tool. The line is added after you
click the right mouse button.
Add polygon measurement activates the polygon tool. Click on several points to
create the polygon. Click the right mouse button to close the shape.
Add surface line along object surface connecting 2 points creates a poly-line feature
that connects 2 points going along the surface in the plane that passes through the selected
two points and the camera position.
Add an outline of object crossed by a plane creates a closed poly-line feature that is
an outline of a plane crossing an object. To add an outline, click twice on the imaginary
line along which you want to create the outline of the object. The outline plane passes
through the selected two points and through the position of viewing camera, so the outline
is always created in the plane perpendicular to the screen plane.
Split objects activates the split mode. To split a 3D object into 2 objects, click twice
on the imaginary splitting line of the object. The splitting plane passes through the selec-
ted two points and through the position of viewing camera, so the object is always split
with a plane perpendicular to the screen plane.
The Magic Wand tool enables you to draw polygons on slices. Clicking the
drop-down arrow displays this menu:
587
Relative Measurements Group
l Range indicates the number of gray levels used for thresholding (combination of gray
ranges depends from type of active image and selected interpretation).
l Smoothing indicates the degree of post-filtering of the outline (0 – no filtering, 9 –
high degree smoothing).
Getcenterof the object creates a point measurement of the center of selected objects.
Measure distance between centers creates a manual measurement line that connects
centers of two selected objects.
Measure perpendicular distance between point and line creates a line measurement
between a point and a line as a perpendicular line. Note that the function is active only
when 1 line and 1 or more points are selected
Measure angle between lines creates an angle measurement between two lines. Note
that the function is active only when 2 lines are selected.
Measure distance between point and surface of volume object creates a line
between the selected point and a selected 3D object. The 3D object can be selected either
in the Volume measurements data table or on the image itself, using the Select meas-
urements/select objects mode.
588
Chapter 11
Measure distance between surfaces creates a manual measurement line between the
surfaces of two selected objects. This line represents the shortest distance between two
objects.
Split polyline into lines creates a new line measurement from every segment of the
selected poly-lines/tracks. Analyzing the length of every line provides information related
to velocity of the object moving along the track.
Extract points from lines/polylines creates a new point measurement for every
coordinate of the selected poly-lines/tracks. It can provide information about object
coordinates on different time points (the same information can be obtained in the Volume
measurements data table).
Merge selected objects merges selected objects into one. It can be used if seg-
mentation does not allow connecting all the pieces that belong to one object.
Undo split/merge undoes the last split or merge operation. The number of undo
levels is practically unlimited.
589
Guided Segmentation
Guided Segmentation
Guided Segmentation is designed to allow 3D segmentation of complex objects that can-
not be easily segmented using threshold segmentation. Guided segmentation involves
defining the object outlines on a 2D view and then generating 3D volume objects from
those outlines. To activate this feature, click the Guided Segmentation button on the 3D
Measure ribbon:
The Guided Segmentation panel appears on the right hand side of the workspace:
590
Chapter 11
use the Image button ( ) in the status bar or Image Context menu, or the 2D but-
ton in the Collections sub-panel to switch to the 2D image view.
3. Navigate to any frame (or Z-plane) in the volume where the first object of interest is
visible. You can start at any plane in the Z-stack.
4. Use any tool in 2D Segmentation sub-panel to create one or more object outlines for
that object. See the documentation of the 2D Segmentation sub-panel for more details
about the tools that can be used to create the object outlines.
5. Once you have defined your outlines, use the Validate button to set those outlines as
the objects' ROIs.
6. In the Z-propagation sub-panel, choose a method to copy your outlines to other
frames in the z-stack.
7. Press the forward and/or back buttons in the Z-propagation sub-panel to extend the
object ROIs through the stack.
8. Lock the object collection by checking the box next to its name in the Collections
sub-panel. You may continue to add object collections by pressing the Add button in
the Collections sub-panel. Note that adding a new collection will automatically lock
the previous collection(s).
9. Repeat steps 4-9 for each collection to be added.
10. To view the collections in 3D, use one of the selections in the Isosurface sub-panel to
turn your collections into isosurfaces in the 3D Viewer.
591
Collections Sub-Panel
More information about each of these steps appears in the following pages.
Collections Sub-Panel
The Collections sub-panel of the Guided Segmentation panel contains tools to control col-
lections. It allows you to add and define certain properties, and to visualize segmented out-
lines interactively.
Segmentation collections are defined by a set of outlines on multiple frames. Multiple out-
lines can be defined for a single collection on one frame. A collection is identified by its
name and color, which can be edited in the table shown above.
Depending on your images, you may be able to define all your object outlines in a
single collection. Image-Pro with 3D Module includes support for multiple collections to
allow you to separate outlines that would otherwise cause incorrectly segmented objects.
This can be a problem if separate objects touch or intersect anywhere in your volume.
When the outlines are analyzed to create isosurfaces, separate outlines may be merged
into a single isosurface if in any frame of the sequence, the outline for an object overlaps
multiple outlines on an adjacent frame. This is necessary to be able to connect up Y-
shaped or branching objects. However, if separate objects touch, they may both be over-
lapped by the outline in the adjacent frame, and incorrectly merged. If this occurs, then
make a new collection and put the outlines for either of the objects in the new collection.
A new collection can be added clicking the Add button. The collection can be
deleted or reset . It can also be saved or loaded from a file. You can
592
Chapter 11
use the Delete All button to remove all the existing collections and start over. Note
that when all the collections are deleted, a new, default collection R1 is automatically
added.
The Lock option applies only to the active collection. It allows you to review the seg-
mentation without applying the active propagation method when scrolling through the
image sequence. It also controls whether editing tools are available, or if the collections
are locked. All collections except the active one will always show a locked state, and the
active row can be locked or unlocked by clicking the check box. Checking the Lock
check box freezes the selected collection and prevents additional editing until the col-
lection is unlocked. Note that the 2D Segmentation and Z-propagation sub-panels will
include the name of the active collection.
Multiple collections can be displayed on the image when the Show All Collections box is
checked. When this option is off, only the active object ROI will be displayed.
Display of the collections’ labels is controlled by the Show labels check box. Note that
the size and font of the labels can be controlled from the measurement options panel.
The Frames column shows the number of frames in the sequence.
The View buttons are used to display the view(s) that you would like to have visible
while defining the object outlines and isosurfaces. The 2D button will open a new view of
your volume in the Image view if there is not already an Image view open, and it will
make that view the active workspace view. The 3D button will open a new view of your
volume in the 3D view if necessary, and it will make that view the active workspace view.
The 2D / 3D button will make sure that both views are open, and display them in a split
workspace layout with the 2D view on the left and the 3D view on the right.
Outline color allows you to change the color of the object’s outline using the color
selector. When this option is off, only the outlines for the active collection will be dis-
played.
Volume objects can also be exported as outlines from the 3D Data Table to Guided
Segmentation using the Export Outlines menu item from the context menu over the 3D
Data Table object row.
2D Segmentation Sub-panel
The 2D Segmentation sub-panel offers 3 main modes of operation that enable different
methods that you can use for defining the object outlines:
593
2D Segmentation Sub-panel
l Smart, where you will use the Smart Segmentation tools to define the outlines by
defining reference areas for background versus objects.
l ROI, where you will primarily use manual tools to draw the object outlines.
These modes will be discussed in detail in upcoming sections of this chapter. In all three
modes, there are tools available to define and refine the object outlines:
The 2D Segmentation sub-panel provides the following tools for all modes:
The Polygon Nudge tool allows you to adjust the size and shape of irregular ROIs
and measurements
The Polygon tool allows you define a polygon-shaped or freeform ROI in the
image.
594
Chapter 11
Use the Delete buttons to delete the selected outline(s), or all outlines. Note that
you can also use the Delete key to delete the selected outline(s).
After the first click on the image, the threshold range will be displayed in the Histogram
control. You can adjust intensity range of the Magic Wand using the From and To con-
trols or by dragging the range indicators on the histogram. You can also use additional
magic wand controls to adjust the automatic outlining: Range, Filter, Smoothing and Fill
Holes.
l Ranges. Indicates the lower and upper levels used for thresholding.
l Filter: Defines the minimum object area in square pixels.
l Smoothing: Indicates the degree of smoothing that is applied to the object outline (0
= no smoothing, 9 = maximum smoothing).
l Fill Holes: Check this box to automatically fill any holes in the outline.
When you are satisfied with the outlines and the range, click the Validate button. That
will convert the magic wand outline to an ROI and add it to the active object. Note that
the defined intensity range will be then used to create outlines on other frames with the
Auto-Range propagation method.
Smart Segmentation Mode
595
2D Segmentation Sub-panel
Use the Smart Segmentation tab to create objects. This method can be used on noisy
objects where the Magic Wand has difficulties creating outlines.
Select the Smart tab to define the segmentation recipe parameters and draw reference
objects and background areas. When you enter Smart Segmentation mode, the Smart Seg-
mentation sub-panel will be displayed, along with a balloon message:
This message balloon will stay active while you set up the Smart Segmentation recipe in
the Smart Segmentation panel. (More information about Smart Segmentation appears in
Chapter 8 of this manual and in the in-product Help.)
When you click OK, whichever objects have been identified by the Select Object tool will
be added to the collection of outlines.
Filter defines the minimum object area in square pixels.
Smoothing is applied to the object outline (0 = no smoothing, 9 = maximum smoothing).
Note that if you want to modify the recipe going through frames, use the Modify Recipe
button.
You can also add new outlines to the frame in Smart mode by following these steps:
1. Make sure that the Auto-Smart propagation mode is selected in the Z-Propagation
sub-panel.
596
Chapter 11
2. Select the Polygon drawing tool and draw one or more ROIs in areas that should be
identified as objects. These ROIs can be very rough as they only need to overlap the
area detected by the Smart Segmentation.
3. Click the Validate button. One new object will be created for each ROI that overlaps
the smart segmentation mask.
ROI Mode
If you prefer creating object outlines manually, you can switch to the ROI tab. When you
are in ROI mode, clicking the Validate button reads the intensity range within the
region’s outlines, which can be used for other frames when you choose the Auto-Range
propagation method.
The following options will be applied when detecting regions using the Auto-Range
propagation:
l Filter defines the minimum object area in square pixels.
l Smoothing is applied to the object outline (0 = no smoothing, 9 = maximum
smoothing).
Z-Propagation
The Z-Propagation sub-panel offers you options for propagating the 2D objects from a par-
ticular frame across other frames in Z-space. The available options depend on the 2D seg-
mentation type. Options that are not available for a particular 2D segmentation type are
shown as inactive:
597
Z-Propagation
Use the arrow buttons to navigate through the image stack. The spin controls indicate how
many frames you advance each time. The following methods are used to create outlines on
new frames:
l None: Advancing to a new frame will not add any new outlines to the next frame, or
change any existing outlines. Use this method to review the outlines that you’ve
defined so far, and also when the object outlines on neighboring frames are very dif-
ferent, and you want to draw outlines on every frame manually.
l Duplicate: Changing the frame will duplicate object outlines from the previously act-
ive frame.
l Auto-Range: Detects an object on a new frame that overlaps with the outline on the
previous frame, using the same intensity threshold range. This propagation method is
available when you are using the Wand or ROI modes.
l Auto-Smart: Detects an object on new frame using global smart segmentation recipe.
It will identify any overlapping outlines. This propagation method is available when
you are using Smart mode.
You can use any tool from the 2D Segmentation sub-panel on any frame to redefine intens-
ity ranges, smart segmentation recipe or modify the outlines. Any change of method will
be repeated throughout the stack.
Use the Forward and Back button to go through the stack by one step at a
time. If you use the Auto-Range or Auto-Smart method, and are going through the stack
to create correct outlines, you can automate this process using the Detect Forward
and/or Detect Back button to go through the all frames in the stack automatically.
The detection will stop automatically when no more overlapping objects are detected. You
can also stop the auto-detection process manually pressing the <Esc> key.
598
Chapter 11
Object outlines will be automatically detected using the last segmentation recipe. If the
object detection is not satisfactory on some frames, the outlines on those frames can be
adjusted or re-drawn with the 2D Segmentation tools.
If you are using Smart segmentation, try adjusting the recipe by adding new reference or
background objects and click OK.
Note that when you draw outlines manually or edit them, the intensity range within the
object’s outlines will be used for other frames when you choose the Auto-Range propaga-
tion method. After adjusting the outline manually, click the Validate button to accept the
changes. Note that the outline is automatically validated clicking by the Forward or Back
button
Isosurface
The Isosurface sub-panel allows you to create isosurfaces on selected objects by con-
necting the 2D segmented areas across the Z-planes. When all object outlines are created,
use the Isosurface group to add 3D objects as isosurfaces to the 3D view.
You can add only the active collection using the Add Active button (which contains the
name of the active collection, for instance Add R1 in the illustration above). Clicking the
Add All button will add isosurfaces for all of the defined collections. You can set the sub-
sampling and smoothing to use during isosurface creation (see the more detailed discussion
of these settings in the Add Isosurface section later in this chapter).
599
Isosurface
Every object in each collection will be segmented and measured. The values appear in the
data table.
If you have an existing isosurface node and the Create new isosurface option is not
checked, the new objects will be added to that existing isosurface. If there are no existing
isosurface nodes, or the Create new isosurface option is checked, then a new isosurface
named Guided Segmentation will be created with the new objects.
The outlines can be viewed in the Slicer by view activating the Show Outlines option:
600
Chapter 11
601
View Group
View Group
The View group allows you to see the 3D data in different formats:
These tables contain the same features and functions as the tables and graphs described in
Chapters 4 and 8 of this manual.
The Data Table collects all the information from the measurements taken on your image.
The 3D data table shows measurement values for manual and segmented 3D objects.
Load Data Table Measurements: This tool allows you to load meas-
urements saved in a previous session from a *.ipm file.
Save Data Table Measurements: This tool allows you to save your
measurements in a *.ipm file for use at another time.
Send Measurements to File: This tool allows you to save your meas-
urement data to a file or export it to an Excel spreadsheet. The pull-
down menu lets you choose one of the following:
602
Chapter 11
Send to Report: This tool allows you to save your measurement data
to Image-Pro report. The pull-down menu lets you create a new report
or choose an existing one.
Show all Statistics: This tool allows you to hide or show the statistics
panel for the data table measurements. A sample statistics panel is
shown here:
603
View Group
The 3D Data Histogram illustrates, in graph form, the distribution of 3D measurements for
the selected measurement:
The Object Window allows you to view information about a specific object in an image.
The example below shows complete data for one object:
604
Chapter 11
3D Options
The 3D Options panel on the right-hand side of the workspace contains the following con-
trols:
All of the Add buttons add nodes to the 3D view that contribute to the rendering of your
volume.
Add Isosurface/Volume measurement: Isosurfaces provide a very quick, yet often suf-
ficient, method for reconstructing polygonal surface models. By correlating transparency
with the local orientation of the surface relative to the viewing direction, complex spatial
structures can be understood much more easily.
605
3D Options
Color Image: All channels are loaded into an indexed color volume (The sequence is con-
verted to a palette class using a palette containing the most popular colors in the
sequence).
Channels: The channels node represents the visualization of the volume intensities. The
drop-down box will only be enabled for multi-channel volumes, and controls the way that
the channels are combined in the volume rendering. Clicking the drop-down arrow dis-
plays the following options:
l Max: Maximum Intensity Projection takes the value of the brightest voxel in the
same straight line as used by the Blend option.
l Blend: Blending averages the values of the voxels in a straight line through the
volume of the object.
l Min: Minimum Intensity Projection takes the value of the dimmest voxel in the
same straight line as used by the Blend option.
Each channel of your volume will have a sub-node for the channel, with a name derived
from the channel name (if the volume is a multi-channel set), the color component (of a
color image), or “Gray” for monochrome images. Each channel or color component’s ren-
dering can be adjusted with the following control panel:
606
Chapter 11
The Show button hides or shows the selected element. Every node in the 3D View
panel has this button, which lets you select which nodes are visible, and are included in
the 3D rendering.
Every channel is shown using a palette that is scaled from 0 to 255 covering the whole
dynamic range of the channel data. The All Channel Display controls will change
PaletteSpread and Opacity range on all channels.
The Blinking icon control activates the blinking mode of the channel.
The Palette can be one of the following:
l Wavelength allows you to display wavelength in nanometers.
l Color lets you select any color using the color picker.
l Palette allows you to select one of predefined palettes displaying the channel.
l Custom
Selecting Custom palette allows creating user-defined color combinations:
Palette points can be added by clicking on the histogram area. Clicking the
existing point makes this point active and allows selecting the color using
the color-picker button. Positions of palette points can be adjusted by mouse.
The Y position of the point defines opacity of the color, higher position –
higher opacity. Ctrl-Click on the existing point will delete the point. Custom
palettes can be saved to a file (pal3D format) and loaded (iqpal, pal3D) using
the Save and Load buttons.
Histogram: Activating the Histogram option allows you to set the Spread and Opaque
levels on a volume histogram. The Spread limits are controlled by the top controls and the
Opaque limits are controlled by the bottom ones.</p>
Activating the Histogram option allows you to set the Spread and Opaque levels on
a volume histogram. Spread defines the start and end positions for palette spread and the
607
3D Options
Opaque control defines the range of intensities that are visible. The values outside the
Opaque range are transparent. The Spread limits are controlled by the top controls and the
Opaque limits are controlled by the bottom ones.
The Histogram view is the default view for the Spread and Opacity controls, but you can
turn this view off to edit the limits directly,
The Best-Fit button ( ) can be used to set the Spread and Opacity values to a best-fit
display of the volume.
The Reset button ( ) can be used to reset the Spread and Opacity values to the min-
imum and maximum intensities.
Add Isosurface
Isosurfaces/volume measurements provide a very quick, yet often sufficient, method for
reconstructing polygonal surface models. By correlating transparency with the local
608
Chapter 11
orientation of the surface relative to the viewing direction, complex spatial structures can
be understood much more easily. If you are making volumetric measurements, you will
need to define at least one isosurface/volume measurement.
Automatic segmentation of 3D objects can be done using 2 different tools:
609
3D Options
Multiple isosurfaces can be added clicking the Add Isosurface button in the options
panel.
Note that the same action can be performed from the 3D Measure tab by clicking the
Count button.
When you add a volume measurement, you will see this dialog:
Here you can select which channel of the volume will be used to create the isosurface.
You can select the desired subsampling. The Auto subsampling is selected by default.
Filters can be used to smooth the surface. A filter can be selected from the following list:
l None
l LoPass 3x3x3
l LoPass 5x5x5,
l LoPass 7x7x7
l LoPass 9x9x9
l Gauss 5x5x5
l Gauss 7x7x7
l Gauss 9x9x9.
The initial threshold level can be selected automatically when the Thresholdtype is
defined as Auto Bright or Auto Dark.
Close Edges will close surface edges on the volume boundary.
610
Chapter 11
Fill Holes option is on, the holes are included into the measurements of the segmented
objects.
If Clean borders is on selected the objects that touch the bounding box of the volume are
excluded from the analyzing.
The segmentation with default options has advantages on memory consumption and speed
over iso-surface segmentation, and if user wants to get even better performance measuring
the volume, there are additional options available clicking the Advanced button.
The Activate pseudo surface options check-box makes the best visualization options for
direct segmentation surfaces active automatically. When this option is on, the volume visu-
alization is automatically switches to the Pseudo Surface mode.
The option Create Preview volume defines creation of the visualization volume for
threshold adjustment preview. You can switch this option off to save RAM, in that case
threshold preview will be generated on the original volume channel and may look slightly
different from the segmented volume as they may have different sub-sampling and filter
options.
When the Create segmentation volume is on, the segmented objects are shown in dif-
ferent colors on the volume. If user just want to have measurements and the visualization is
not important, this option can be switched off to save more RAM. Note, that all meas-
urements will still be generated properly and object volume boxes will be displayed for
selected objects. When this option is off user can show equivalent spheres instead of the
proper outline by activating the Show object equivalent spheres option, spheres display
takes less RAM then the segmentation volume and can be used to handle large volumes
when Create preview volume and Create segmentation volume options are off.
Execute Count will automatically execute the object segmentation count when an isosur-
face is created. When Execute Count is off, only the isosurface will be created, so you can
then adjust the Threshold levels interactively. Start the count by checking the Count but-
ton:
611
3D Options
The thresholds can be adjusted by clicking and dragging at the start or end of the
threshold range on the histogram, or editing it in the From or To controls.
When Count is turned off, the color of the isosurface can be adjusted in the Color drop-
down:
Note that when Count is on, the colors of individual objects are controlled by the Col-
oring parameter of the 3D Measurement options. When Coloring is set to
Parent the segmented objects are the same color as the isosurface. When the Coloring is
set to Random, then the color of every segmented object is selected randomly, but the
transparency is taken from the isosurface.
Clicking the Options button allows you to edit the surface parameters, subsampling
and filtering the auto-threshold:
Using the Add Iso-Surface button, the iso-surface based segmentation can be created.
The Precision control defines whether surface outlines of 3D object are created with Sub-
voxel or Voxel granularity. The default option is Sub-voxel. This option allows creating
smooth surface outlines that can be created in sub-voxel space and the position of this out-
line depends how close the threshold value is to the intensity value of the voxel.
612
Chapter 11
When the Voxel option is active the surface outlines and all volumetric measurements are
build from voxel cubes. Voxels with intensity above or equal the threshold level are com-
pletely included into the object.
The following element added clicking the Ok button:
The visible volume measurement objects can be exported to an IV file by clicking the
Export button.
It is possible to import volume objects using the Import button. This option can be used,
for example, when you have segmented objects on one channel and want to measure
intensities within these outlines on another channel.
When the outline is imported, the channel mode changes to outline where the Count
option is always active:
To return to the interactive segmentation mode, click the Reset Outline button.
Add Colocalization
Colocalization measurements with independent threshold levels can be added using the
Add 3D Colocalization Measurements and Add 3D Colocalization Iso-Surface buttons.
Both actions will create colocalization measurements, the difference is the same as for
volume measurements and iso-surface, the first one creates colocalization using direct
volume segmentation and the second - using iso-surface segmentation.
3D Colocalization in Image-Pro with 3D Module requires a separate license. If you do
not have a license for this option, you will see the following message:
613
3D Options
614
Chapter 11
Colocalization thresholds can be adjusted for each channel independently using Channel 1
and Channel 2 numeric controls, dragging threshold levels on histogram or clicking on
scatterplot. The colocalization objects and measures are updated automatically.
It is also possible to use Free ROI tools to define colocalization areas on the scatterplot,
the colocalization objects get updated after creation or adjusting of ROIs. Note, that adjust-
ing thresholds on histogram switches colocalization mode to “Thresholds”.
3D view may include multiple colocalization pairs. The colocalization panel shows results
for the active colocalization pair. To activate the pair click the Colocalization button.
When the Count option is active, colocalization measurements can be reported for every
object. To add colocalization to the list of selected measurements, click the Add Measures
button. The measures will be added to the list and shown in the data table.
If the Show control is on for Ortho Slice, an orthogonal slice is shown on the volume.
Orientation selects one of three ortho slices, aligned with the X, Y or Z axis.
Clipping enables the clipping plane associated with the slice. The clipping plane will clip
off rendering of the volume channels on one side or the other of the clipping plane. The
615
3D Options
clipping side can be set to either Front or Back. The clipping plane has no effect if the
slice is not visible.
The Handles controls visibility of the "dragger" associated with the ortho slice. The drag-
ger is a 3D user interface gadget that can be used to drag the slice through the data
volume. To use the dragger make sure the viewer is in selection mode (cursor is an arrow
shape). Move the cursor onto the white cylinder, press the left mouse button, and drag to
move the slice.
You can also drag slices just by clicking and dragging the slice itself.
The program can display an "oblique" (arbitrary orientation) slice through the data volume.
616
Chapter 11
Slice position controls the slice position along the normal vector of the slice plane.
Alpha and Beta angles control orientation of the oblique slice plane, which can also be
adjusted interactively using the slice handles (see the following illustration):
The dragger is a 3D user interface feature that can be used to drag the slice through the
data volume and change the orientation of the slice. To use the dragger make sure the
viewer is in selection mode (cursor is an arrow shape). Move the cursor onto the white cyl-
inder, press the left mouse button and drag to move the slice. Move the cursor onto one of
the white lines, press the left mouse button, and drag to rotate the slice.
You can also drag slices just by clicking and dragging the slice itself.
Clipping enables the clipping plane associated with the slice. The clipping plane has no
effect if the slice is not visible.
Slice Number shows the slice number where the slice is currently positioned. It can also
be used to drag the slice through the data volume. The slice is moved dynamically as the
slider moves. You may also type a slice number in the edit box.
Smooth switches on linear interpolation on the slice, thus increasing the visible resolution.
617
3D Options
The loaded external object can be edited by clicking on it in Select mode. Use the dragger
to scale, rotate and move the object.
Tip: Holding down <Ctrl>+<Shift> allows you to adjust the dimensions inde-
pendently.
Clicking the object again will hide the draggers.
618
Chapter 11
The View group shows the volume using three different modes (thin slices, thick slices or
projections), volume object outlines, and manual measurements
An example of the Slicer view with XY, YZ, XZ and 3D views all displayed appears on
here:
You can control the layout of the Slice Viewer using the tools in the Layout drop-down
menu in the View group:
619
The 3D Slicer Ribbon
The layout can include one, two, or three of the volumes and projections. For example, if
you select the XZ, 3D and XYZ, 3Dviews, the workspace will look something like this:
The XZ3D projection is on the left, while the XYZ 3D projection is on the right.
620
Chapter 11
In addition to the layout selections, the View ribbon group contains other controls:
l Cross turns the crosshairs on the slicer views on or off. The color of the cross can be
selected using the color-picker control.
l Outlines turns the Volume Object outlines on or off. The option can be used to see out-
lines of volume objects on 3D slices. Note that only the outlines for Counted objects
are shown (execute Count to see the outlines). The thickness of the outlines is defined
by Line width parameter of 3D measurement options.
l Sliders turns the slider controls for each of 3D slicer views on or off (the default is
on). These controls appear on the sides of the panels in the workspace. The control can
be used to adjust a displayed slice position in the corresponding view. Note that the
slice position can also be adjusted by using the Slicer Position controls on the Slicer
ribbon, or by using the Navigate tools and clicking on any of the slicer views.
Slicer views can be zoomed using the mouse wheel or <Alt>+mousemove and translated
using the <Alt>+< Shift > + mouse move combination. The views can be reset to the ori-
Setting slice transparency to non-zero values allows the program to display manual meas-
urement elements behind the slice in thin slice mode.
The Slicer Position group contains three Extract buttons that allow you to extract the
XY, ZY and XZ views into a new image.
The Thickness group defines the display mode for 3D slicer views:
621
The 3D Slicer Ribbon
l Thin: The view is displayed as a thin orthogonal slice. The slice can be semi-trans-
parent based on the Thin slice transparency option.
l Thick: The view is displayed as thick slice including multiple slices. The thickness of
the slices is defined by the corresponded numerical controls. The transparency of thick
slices is defined by the main transparency control (on 3D view tab).
l Projections: Projections of all slices are shown. The view uses current composition
and can be shown as maximum or minimum intensity projections (as well as blend and
sum).
l X, Y, Z: You can set the thickness of the slices by using the spin buttons.
Use <Ctrl>+ mouse click to add manual measurements on the slicer views. Clicking the
mouse button without the <Ctrl> key will change the slicer position.
Measurements created on a 3D view are also displayed on slicer views.
Note that all added 3D elements (slices, isosurfaces) can be rearranged by dragging and
dropping them to a new position. It can be used to define proper clipping of one element
by another, as slices can only clip isosurfaces and other slices located below the given
slice in the scene.
622
Chapter 11
Timeline Group
The Timeline feature lets you synch your animation in time and space. The timeline panel
shows the current animation with thumbnails of the key frames, and allows you to play
and edit the animation sequence.
The timeline panel will open automatically at the bottom of the page when you activate
the 3D Animation ribbon.
The individual frames in your animated image are synched to the locations along the time
line. The x-axis of the timeline represents the time of each key frame in the overall dur-
ation of the movie. The following controls are displayed in the status bar.
623
Animation Path Group
Clicking on any position in the timeline will change the current position in the timeline,
and will activate the given camera position in 3D view. The current position is indicated
by a dotted line, as you can see at frame 20 of the Animation timeline in the previous fig-
ure. Note that the current position is very important when adding key frames to the anim-
ation. The timeline can be zoomed in or out using the zoom controls or the mouse wheel.
The number of key frames can be adjusted by dragging the key frame separators.
Timeline editing is done by adding or deleting key frames. Each key frame is indicated by
a blue pointer at the top of the timeline. Multiple key frames can be selected by clicking
on or before the first key frame, and then using <Shift>+<Click> on the last key frame.
Multiple key frames can be selected using <Shift> +<Click>. The selected range can be
then deleted by clicking the Delete button.
l The Spin button allows you to add a sequence of frames rotating the camera around
the screen axis (Vertical-Y, Horizontal-X, and Perpendicular to the screen – Z). The
drop-down menu contains buttons to rotate the camera around 3 axes in both dir-
ections by the given angle defined by 90,180 and 360 radio-buttons. The number of
intermediate frames for a 360-degree spin is defined by the Circular Frames option in
the Options group.
l The Fly-Around button allows you to add a series of frames by moving the camera in
an evenly spaced, circular path parallel to the Viewer window, and half-way between
the two sides of the window. The Fly Around rotations are created around the world
axis. World axes are X, Y and Z and can be visualized by activating the Axes button
on 3D View tab. Fly Around animation gives the effect of helicopter flight.
l The center options let you choose amount of rotation for both the Spin and Fly-
Around selections. To go completely around your screen or volume one full turn, use
360 degrees, or 90 degrees to go only ¼ of the way around.
624
Chapter 11
l Rocking or “see-saw” animation. This animation rocks the image around the vertical
axis back and forth by approximately 30 degrees. Clicking this button displays the fol-
lowing dialog:
The Rotation axis group defines the screen rotation axis. The Sweep angle and Num-
ber of steps controls define the amplitude of rocking and the number of intermediate
frames.
l Custom lets you design a custom animation by selecting time points and camera pos-
itions. You will see this dialog:
Clicking the Screen radio button allows you to create fast transitions by rotating the
camera around the screen axis (Vertical-Y, Horizontal-X, and Perpendicular to the
screen – Z).
625
Frames Group
Clicking the World axis radio button let you create animation by activating the Axes
button on 3D View tab. World animation gives effect of helicopter flight.
The Sweep angle and Number of steps controls define the amplitude of the animation
sweeps and the number of intermediate frames.
You can rotate your animation around the X, Y, or Z-axis, by clicking the drop-down
menu button and displaying these items
To save an animation path, click the Save button and select path and name for the
animation file. Saved animations can be loaded using the Load button. The Copy but-
ton does not work directly with you animation timeline, but will copy the current 3D
view of the volume to the clipboard as a picture that can be inserted into a present-
ation or document.
Frames Group
The Frames group gives you tools for managing the key frames in your animation, as well
as spacing between the individual frames.
626
Chapter 11
Clicking the Add Camera Position button adds the current camera position (and
any changes to the view) as a new key frame at the current position within the animation
timeline.
Replace camera position replaces the current key frame with the current camera pos-
ition (and any changes to the view).
The Key spin box indicates the current key frame number.
The Inter spin button indicates the number of intermediate fames and camera positions in
the key frame. You can adjust or edit the number of intermediate frames by using the spin
button, or by dragging the key frame handle on the timeline.
Click the Delete button to delete the active key frame and its intermediate frames.
Click the Clear button to delete all key frames and clear the animation timeline.
Click this button to double the number of intermediate frames at all camera positions.
Click this button to halve the number of intermediate frames at all camera positions.
Playback Group
The Playback group lets you play your animation forward and backward. It also controls
the playback rate in Frames Per Second (FPS).
627
Options Group
Go to first frame
Go to last frame
Options Group
The Animation options group contains some additional controls:
The Record Rendering Settings option allows you to use different rendering settings for
every camera position in the animation. You can change any rendering parameter, such as
transparency or palette, and turn visibility of slices, channels, and volume measurements
on or off. The changes will be applied when the corresponding camera position and fol-
lowing intermediate frames are rendered. Note that only existing rendering elements can be
used here. You will need to add all necessary elements, such as ortho and oblique slices,
isosurfaces, and volume measurements before starting to record an animation. The vis-
628
Chapter 11
ibility and parameters of all rendering elements can be changed during recording. This
option should be on unless you are animating only simple views of the basic volume.
Connect Start and End: Check this option to have the final intermediate frames inter-
polate between the last key frame of the animation, and the first one. Note that any option
that has an on/off setting, for instance visibility of an element, cannot be interpolated. For
this reason, the final key frame of any movie that should be looped should have the same
on/off settings as the first frame.
Synch with Time: If the loaded image set has multiple time points, use this option to syn-
chronize the time points with the camera positions.
Additional options are shown when you click the Options drop-down button.
Hide or Show Animation cameras: Click this button to turn the display of the camera pos-
itions on or off.
Circular Frames defines how many frames will be generated when you create a new cir-
cular animation path using the Spin or Fly-Around features in the Animation Path group.
The Inter control defines the default number of frames that will be added with each key
frame. The actual number for any key frame can be adjusted later, as previously discussed.
Antialiasing increases the visibility of edges on created images. When the Antialiasing
option is on, the multipass antialiasing is activated during creation of animation images.
Every image is rendered x number of passes from slightly different camera positions, aver-
aging the results.
629
Output Group
a. b)
Image a) was created without antialiasing. Image b) was created with 8-pass antialiasing.
l Passes: The multi-pass antialiasing is activated during the creation of animation
images. Every image is rendered according to the number of passes from slightly dif-
ferent camera positions, averaging the results.
Use fixed image size option allows you to define the size of the generated animation or
image. Enter the values for Width and Heights (in pixels) to set the size. When this option
is off, the current window size is used. If you will be making your movie for display on an
HD monitor, you will usually want to use the Use fixed image size option, and set the
Width and Height to either 1280 and 720 (for 720p HD display), or 1920 and 1080.
Output Group
The Output group lets you create snapshots of your current view, or to render your com-
plete animation to a movie:
The Snapshot button will create a new image holding a snapshot of the view at the current
position in in the timeline. This image workspace can be saved to any file format sup-
ported by Image-Pro.
The Movie button will create a new image sequence of the complete animation. The new
630
Chapter 11
image workspace will have as many frames as is currently specified in the timeline, and
can be saved to any movie file format supported by Image-Pro.
Navigate Group
The Navigate group allows you to select and view the 3D animation from different pos-
itions.
Select Button: Use this button to select object manipulation (and deselect View mode).
The cursor shape will change to an arrow. In this mode, you are manipulating and holding
objects in the Viewer window. Using the <Ctrl> key while clicking the mouse will
deselect any object.
View Button: Use this button to select camera or viewer mode (and deselect object manip-
ulation mode). The cursor shape will change to a hand icon. In this mode, you are moving
the camera in 3D space, which changes the perspective of the rendering in the Viewer win-
dow.
631
Navigate Group
A set of camera positions that go around the object pointing to the viewpoint of the
first camera position, and in the plane defined by the first two camera positions and
the center of view will be generated. The distance of the first camera to the focal point
defines the radius of circular animation.
If the current animation was empty, the animation will be rotated around the vertical
axis.
To create a seesaw animation, you should record the position of the first viewpoint
and then the last viewpoint. Click the Connect Start/End control.
If the current animation was empty, the animation will be rotated around the vertical
axis.
6. To play your animation, click the Play button. You can stop animation by clicking
on the image in the viewer window or clicking the Pause button.
The current view can be copied to the Windows clipboard using the Clipboard button or
can be turned into a new image using the Image button.
632
Appendix A
File Format Specifications
Image-Pro supports the following file formats. A brief description of each format will list
the name used by Image-Pro in the File:Open and File:Save As dialogs, the typical file
extensions that identify the file format, and any limitations such as formats that are sup-
ported for File:Open only.
AVI (*.AVI)
Image-Pro supports many of the video varieties of the MicrosoftAVI file format, which
will usually have the *.AVI file extension. The varieties that will be available in your
copy of Image-Pro depend on the AVI file compression support that has been installed by
the operating system and other multi-media components. You cannot annotate *.AVI files
in Image-Pro.
633
Appendix A
Sequence (*.SEQ)
Image-Pro supports multiple-image TIFF files with the .SEQ file extension. This format
allows you to save annotations without burning them into the image.
634
File Formats
Aperio (*.svs)
AutoQuant (*.avz) (*.deb) (*.hdr) (*.xml)
BIGTIFF (*.btf)
DeltaVision (*.dv)
Gatan Digital Micrograph (*.dm3) (*.dm4)
Hamamatsu Nanozoomer
Image Cytometry Std (*.ics)
Image-Pro IQ Sets (*.iqs)
Leica (*.lei) (*.lif) (*.scn)
Micromanager (metadata.txt)
Molecular Devices Metamorph (*.nd) (*.stk)
Nikon Elements (*.nd2)
Olympus FV 1000 (*.oif) (*.oib)
OME-TIFF (.tiff)
PerkinElmer (*.tim)
Streampix (*.seq)
Windows Media Video (*.wmv)
Zeiss LSM (*.lsm)
Zeiss Widefield (*.zvi)
Zeiss CVI (*.cvi)
Flat file formats are now supported by Image-Pro. Please contact Media Cybernetics’ Cus-
tomer Support for assistance in setting up support for a specific flat file format.
635
Appendix A
Image-Pro with 3D Module should be able to open and analyze these images.
Image-Pro with 3D Module will also open Hitachi mosaic (tiled) images directly in to the
Tiling View. A mosaic image is one that contains multiple frames that are laid out in a reg-
ular X/Y grid in rows and columns.
636
Appendix B
Frequently Asked Questions
This section contains questions from our users, and answers from the Media Cybernetics
support team. Please feel free to submit additional questions to us, using the email address
[email protected].
637
Appendix B
Installation Questions
Q: What is the purpose of the Update Log in the product installation folder?
A: The Update log.log is a test file with trace information from the TrueUpdate pro-
gram. It is created every time the product runs or looks for updates. It is not needed for
ordinary daily use, but contains diagnostic information that will be helpful if there is an
installation or update problem.
Q: What does the LastCapture.icq file in Application data folder do? What happens
if it is deleted?
A: This file saves the state of the capture settings when the application is closed. It is used
if the *None* capture settings file selection is selected. If it is deleted, the capture settings
will be set back to default and the file will be recreated when the application is shut down
again.
Q: If one person installs the product into “All Users” will a second Windows user have
access?
A: An “All Users” installation will install shortcuts, documents, and data to areas that are
ordinarily accessible to everyone. However, it is always possible, by customizing Win-
dows security to produce an environment where a second user may not have access.
Q: If the current Windows user installs the product will only that person be able to use the
files?
638
Frequently Asked Questions
A: In the common case (i.e. with default Windows security) the DEFAULT locations doc-
uments and data will be restricted to the installing user. If that user is concerned about
access to their data by others, they need to be careful where they save their images and
data.
639
Appendix B
Application Questions
Q: What does Auto-Range in the Capture settings do, and how do you set it?
A: Auto-Range sets the black and white levels using the standard display features, so the
histogram B/W level bars, best-fit, reset, etc. are all able to set the auto-range functionality.
Dynamic auto-range uses best-fit to set the display range on every preview frame. The set-
tings for best fit apply, so you can set the low and high exclusion using the standard dis-
play controls on the ribbon. Also, reset and best-fit are now on the histogram window.
Q: If we have a 36-bit live preview and capture that image, then “save as” and choose
JPEG, what happens? Does it down-convert to a 24-bit image? If so, there is a bug that the
image has “36-bit” listed in the “info” table.
A: It down converts to 24-bits to save the file. The image, however, that is shown is the
original captured image, not the copy that’s on the disk. That’s why the info is showing
36-bit. If you open the image file that was saved, the image will be 24-bit.
Q: On different operating systems, what will the default paths for QuickSave be?
A: The default path is My Documents\Image-Pro 64-bit\9.3\Images
It is a subfolder of “My Documents” that is always writable.
Q: What are the JPEG Compression differences? What is Quality or Quality Factor? Is this
typical?
A: JPEG images are saved with Quality Factor = 95. This is the default, which produces
small images without much visual artifacts. You can also use PNG or TIF to save a com-
pressed file without losing quality (though the file size is bigger than JPEG).
640
Index
Index
2D Segmentation Sub-panel
* Guided Segmentation 593
*.AVI 633 3
*.BMP 633 3D Animation ribbon 623
*.DIB 633 3D Animation tab 92
*.FIT 633 3D Data Histogram 603
*.FITS 633 3D Data Table 602
*.FTS 633 3D Mask 353, 603
*.JP2 633 3D Measure ribbon 572
*.JPF 633 3D Measure tab 91, 550, 572
*.JPG 633, 640 3D Measurement Type Options 582
*.MCE 263, 633 3D options 584, 605
*.MCE Sets 263, 633 3D projections 620
*.MCS 634 3D scatterplot 459
*.MCS Sets 634 3D space 161, 548
*.PCT 634 3D View ribbon 551
*.PICT 634 3D View tab 91, 551
*.PNG 634 3D Viewer 161, 548
*.RLE 633 3D Viewer ribbon 162
*.Seq 634 3D volumes 620
*.TIF 634 A
2 Activating and Closing 469
2D Count/Size tab xxi Active Data Overlay 242
2D Measure tab xxi, 89, 424 Active frame 101
641
Index
642
App tab – Auto Trace
643
Index
B Light 560
644
Calibrations – Color group
645
Index
646
Curves – Drawing Properties
Curves Defining
adding 587 a new spatial calibration 126
Custom animation 625 an ROI 279
Custom tab 90 Delete 307
creating 477 Line Profile feature 106
locating 478 Delete ROI 281
renaming 478 Deleting
Customizing an annotation 314
Image Strip 465 an ROI 291
Tabs 477 DeltaVision 635
Customizing the User Interface 461 Direct Measurements 330
Cut, copy , paste 307 Direction vector 583
Data Histogram 355, 458 Display points for best-fit features 336
647
Index
E Extract button
Edges 207 F
Edges group 115 Fast Fourier Transform 232
Edit light 561 Feature Collections 281, 301
Edit Macro 488 Features Manager 108-109, 281-285
Edit Ranges 326 Feedback 42
Ellipse tool 306 Feedback form 42
for defining ROI 280 FFT 197, 232
EllipseTool 106 FFT method 197
Emphasis Switch FFT Window
Large image tools 260 Forward Button 233
Enhancing an Image 174 FFTprint.tif 232
Exclusion box 571 File button 61, 63, 65, 68, 75, 267, 478
Expand group 482 File button described 61
Experiments 60, 263 File format 60
Mixed content 263 File Format Specifications 633
Export Calibration 138 File Formats 633
Export data 350 AVI 633
Export volume 613 Bitmap 633
Extended Depth of Field (EDF) 203 fts 633
External objects 618 JPEG 633
mce 263, 633
648
File group – Grouping Macros
649
Index
Groups I
Expanding or collapsing 482 Icon library 507
Hide or show 482 Identities
Grow 327 Administrator 546
Grow object 397 create new 544
Grow or shrink objects 396 managing 543
Guided Segmentation 590 Image-Pro IQ 635
Guided Segmentation panel 590 Image Analysis Forum 56
H Image Compare 218
650
Image Strip – License
zooming 170 K
Import Calibration 138 Key, calibration 139
Importing volumes 613 L
Incremental distance
L*a*b* Color measurements and Color
measurement types 340 Correction 370
Incremental Distance 338-339 Label Properties 294, 318
Information Large Image 260
Document/Image 55 Large image map 261
Installation instructions 9 Large Image Tools 260
Installation requirements 1 Latest News tab 57
Intensity 562 Layout
Intensity Calibration 142 Custom 52, 476
Intensity Measurements 435 Load 51, 475
Intensity Tracking 433 Save 52, 476
Intensity Tracking Options 436 Learning classification 413
Intensity Tracking Tools 434 Leica 635
Interpolation 557 License
Cubic 557 Upgrading 39
651
Index
652
Mask – Merge objects
653
Index
654
Open Set From File – Polygon Nudge tool
655
Index
656
Relative Measurements – ROIs
657
Index
S best-fit 396
658
Select/Pick Button – Sorting
659
Index
660
Tabs and Ribbons – Tracking Objects
661
Index
662
Wand Mode – Zooming images
Wand Mode
Guided Segmentation 595
Welcome screen 56, 121
Windows Media Video 635
Windows Security Alert 21
Wire mode
Surface Plot 150
Workspace 549
Z
Illumination” 206
Z-Propagation sub-panel
Guided Segmentation 597
Zeiss LSM 635
Zeiss Widefield 635
Zoom and Pan controls 47, 469
Zoom Button 170, 173
Zooming images 170
663