logo

      

HomeProducts
Banner

This page provides an index to VPascal source code examples you can copy or modify for your own applications. Descriptions and download links are provided below.


AspectTools.v
Creates a toolbar containing cropping and resizing tools designed to alter the aspect ratio of images to a required value.

AutoThreshold.v
Implements an automatic thresholding algorithm called "Robust Automatic Threshold Selector", or "RATS", which enables you to binarize an image using an automatically calculated threshold value.

Close.v
Illustrates how to shut down V++ automatically from a VPascal module.

ExcelCommands.v
Illustrates how to send system menu commands (such as minimize, maximize, restore and close) directly to other applications without having to make a DDE connection. Microsoft Excel is used as an example application.

FolderTree.v
A skeleton module for doing batch processing of files stored on disk. This module is capable of traversing an entire folder tree, including all sub-folders, and calls a specific procedure once for each file it finds. The files is processes may be filtered using a wildcard specification (eg. *.tif).

FourierFilters.v
Generates and applies low-pass, high-pass and band-pass filters in the frequency domain.
Contributed by Bruce Comber, Western Australia Police.

IrregularRegions.v
Creates a toolbar for extracting rectangular and polygonal areas of interest and re-inserting them after processing.

LambdaCtrl.v
Routines for controlling a Sutter Lambda 10-2 filter wheel. This module creates a toolbar for the user and also shares its control routines and variables so that they can be accessed from other modules or external programs using DDE.
Contributed by Scott C. Molitor, UNC Chapel Hill School of Medicine.

LepZAxis.v
Creates a toolbar for controlling a LUDL microscope z-axis stage and can be called from other modules (an example is provided in ZClient.v). The serial commands for other axes are the same so this module can be readily modified to control any LUDL stage.

LUDLWheel.v
Creates a toolbar for controlling a LUDL filter wheel via the serial port. Can be called from other modules using DDE. Contributed by Scott Sternberg, Photometrics Inc.

ManualCount.v
This module allows the user to manually count two types of objects by placing flags on one type of object and then on the other. The counted positions are stored so the user can check progress on either of the object types and alter the count of either type. Counting can alternate between object types at any time.

MeasureToSheet.v
Demonstrates how to create a spreadsheet and store results in it. The example uses flags to make size measurements and transfers the sizes to one or more columns in an internal spreadsheet.

ScanUtils.v
Provides a useful toolbar for processing scanned images, including rotations, straigtening, crop and extract, and gamma processing.

TimeLapse.v
Captures images at a regular interval (set by the user) and saves them automatically to disk. Keeps a log file containing file names and capture times for all captured images.
IMPORTANT: This module has been superceded by the AutoCollect and Timers extensions (available for download on the Extensions page) but is retained here as as example of hard-coded timing generation inside VPascal.

ZClient.v
Illustrates how a simple client module can call shared procedures in a server module, using LepZAxis.v as an example. Use this example to learn how to write your own modules to call the filter wheel and stage control examples provided here.


Back to Downloads Menu

 

Digital Optics™, V++™, VPascal™, VAutomation™, VSpec™, CameraBar™ and VideoBar™ are trademarks of Digital Optics Limited.
Other product names and references may be trademarks or registered trademarks of their respective holders.
Entire web site is copyright © 2008, Digital Optics Limited. All rights reserved.