|
Speed-Up and Enhancements:
-
It is now possible to use multiple instances of ActivView. This
allows you to conveniently acquire images from multiple cameras,
and to apply different tasks to them by connecting the desired
vision tools to the appropriate instance of ActivView.
-
The new support tool AVTViewConnections displays the connect
hierarchy and further information for all tools in the
application. It can also be used to reconnect tools using
drag-and-drop.
-
The new support tool AVTViewProperties is a property window
similar to the property window in Visual Basic, but it can be
used to configure ActivVisionTools properties at run time. This
is especially useful with Visual C++ 6.0 and Visual Studio .NET,
because the design time persistence does not work properly.
-
The license information dialog is now also available at run time
via the popup menu of AVTView. In addition to showing which
licenses are available, it also shows which licenses have
actually been used by the current process. This is useful to
determine which licenses need to be purchased after developing
with an evaluation license.
Functionality:
-
ActivView now offers the events Click, DblClick, MouseDown,
MouseMove and MouseUp. These may be used to track mouse events
over the image (coordinates are returned as image coordinates).
-
The selection of display colors for overlays in the AVTView
window has been extendend by six additional colors. Furthermore,
two additional "3 color" sets for alternating color display have
been added. Please note that old projects which have been set to
use the "3 color" or "6 color" display options will lose this
setting during upgrade!
-
The most recent messages displayed in AVTViewStatus can now be
displayed by double-clicking the text in the status bar. This
information is also available via the property
AVTView.StatusHistory; the length of the history can be
controlled using AVTView.StatusHistoryLength.
-
When grabbing images from a sequence file, the name of the
current image is now displayed in AVTViewStatus (if the tool is
on the form).
-
The display font can now be selected interactively at run-time
via AVTViewDisplayModes.
-
The file type selection in the dialog to load/save images now
offers the Portable Network Graphics format (*.png). Furthermore,
the method SaveImage has an optional parameter to specify the
compression level for JPG and PNG files.
-
The method LoadImage no longer uses the frame grabber interface
'File' to load images. This is helpful when you need to load
images while keeping a frame grabber connection open.
-
Enabling the checkbox "Connect" no longer causes an immediate
grab. On the other hand, grabbing an image via the buttons
"Single" or "Run" still causes an automatic connection if
required.
-
The property FGSignal has been renamed to FGCameraType, which is
more appropriate and matches the HALCON terminology. Settings
for FGSignal are lost when upgrading existing applications
developed with older versions.
-
The property FGInput has been renamed to FGPort, which is more
appropriate and matches the HALCON terminology. Settings for
FGInput are lost when upgrading existing applications developed
with older versions.
Bug Fixes:
-
The pixel height in AVTViewCalibration can now also be set if a
line ROI is available, and before an image has been grabbed.
Furthermore, the text boxes are now correctly grayed out when
appropriate.
-
If an ActivVisionTools application had been used to load images
from many different paths, a crash would occur on grabbing when
the total length of the last 50 paths exceeded 1024 bytes. This
has been fixed. Furthermore, the history of the last used image
directories has been reduced from 50 to 32 entries.
-
ActivView crashed under some circumstances when changing frame
grabber parameters in the image acquisition dialog (AVTViewFG),
if this dialog had been closed and reopened. This bug has been
fixed.
-
Setting a bold display font for AVTView caused unreadable
characters to be printed. This bug has been fixed.
-
After opening the image acquisition dialog for a second time, the
connection to the frame grabber was unnecessarily reopened even
if no parameters were changed. This bug has been fixed.
-
Enabling or disabling the scroll bars now leaves the size of the
view window invariant and instead adjusts the size of the
control.
-
The default value of the property ImageDirectory now correctly
contains a trailing backslahs character ("\").
-
When zooming into the image, the displayed image part was one
pixel too large in both directions (e.g., when using a scale
factor of 2 on an 512x512 image, the displayed area was
257x257). This bug has been fixed.
Programming:
-
In the event ImageGrabbed, it was possible to replace the grabbed
image by setting the property HalconImage. Now, you can also
change the ByRef parameter of the event handler to achieve the
same effect.
-
The new method CreateROICopy allows to create a new ROI based on
the data of an existing ROI. If the target ROI already exists, it
is modified with a minimal overhead.
-
The handling of external image data has been improved. ActivView
now offers the new methods GetHalconImagePtr,
GetHalconImageChannelPtr, SetHalconImagePtr, SetHalconImageRGB
and SetHalconImageRGBPtr. Furthermore, calling ExecuteExternImage
will now display the results in the same way as
ExecuteAllToolsOnce does.
-
The event ImageGrabbed now passes an error code if the grab
failed. In case of an error, it is possible to manually initiate
the next asynchronous grab by calling the new method
GrabImageStart.
Please note that if you created a handler for this event in an
application you must adapt the signature accordingly!
-
The methods SetFGParameterValue and GetFGParameterValue now work
with all parameters supported by the HALCON frame grabber
interface, not just those which are listed in the .par file for
visibility in the GUI. Furthermore, GetFGParameterValue now also
returns the current value if a parameter has changed at run time
due to external events (like digital input).
Manual:
-
The User's Manual for ActivView is available in a new
edition. It has been updated and extended to reflect the changes
in ActivVisionTools 3.0. For example, it now describes how to to
adapt the display size to image size via the corresponding
properties and lists methods provided by the programming
interface to integrate and access external images.
-
The example Visual Basic projects have been adapted to version
3.0.
|