Sample Programs

Image Processing

示例

The sample program demonstrates how to:

Image

C++

C#

Qt

CMake

Vb

Python
Basic
Display an image.
Display and graphically interact with an ROI.
   
BasicWPF
Display an image in a WPF context.
Display and graphically interact with an ROI.
         
ConsoleBasic
Initialize and release the Open eVision library.
Check for a specific license.
Load an image and perform a simple processing on it.
     
区域
Create an ERegion and use it to restrict Open eVision processing to its domain.
     
RegionFreeHand
Create an ERegion using the ERegionFreeHandPainter.
       
EasyImageFilter
Apply filter operations on a loaded image.
 
FourierFiltering
Compute the direct Fourier transform.
Compute the inverse Fourier transform.
     
EasyColorComponent
Retrieve one component of a color image after converting it from RGB to a given color space.
 
EasyHDRFusion
Perform an HDR Fusion on a specific set of images.
       
HDR
         
EGrabberBridge
Use the EGrabberBridge functionality to import and use images produced by an object eGrabber with Open eVision.
       
SharedLibraryConsole
Use Open eVision in a C++ DLL.
         

3D Processing

示例

The sample program demonstrates:

Image

C++

C#

Qt

CMake

Vb

Python
Easy3DViewer
Use most of the features of the Easy3D class E3DViewer.
Convert 3D files formats.
Use a point picking.
     
Easy3DViewerWPF
Display an E3DViewer in a WPF context.
         
Easy3DPhotometricStereo
Apply photometric stereo to several images to retrieve their albedo, gradients, curvatures or height map.
       
Easy3DPointCloudToMesh
Generate a mesh from a point cloud.
       
Easy3DZMapGenerator
Generate a ZMap from a mesh or a point cloud.
       
Easy3DProcessing2D
Load a depth map.
Apply a 2D operator (the text reading tool EasyOCR2) on the gray scale pixel values.
         
Easy3DMultiViews
Load and display point clouds in multiple instances of the class E3DViewer.
     
Easy3DPCBWarpage
Measure the warpage of a PCB with Easy3D.
         
Easy3DCoaxlinkLLE
Acquire depth maps from a Coaxlink 3D LLE frame grabber and optionally save them.
         
Easy3DLaserLineCalibration
Compute and save the calibration model.
Apply the calibration to a depth map.
Save the resulting point cloud.
         
Easy3DLaserLineExtract
Create a depth map from a series of profile images using the software laser line extractor.
       
Easy3DObjectExtract
加载图像。
Set the X, Y and Z resolutions.
Display the corresponding point cloud and the extracted 3D objects.
     
Easy3DMatchMatch
Match a sample (point cloud or ZMap) on a reference (3D mesh, point cloud or ZMap).
       
Easy3DMatchAlign
Align a sample (point cloud or ZMap) on a reference (3D mesh, point cloud or ZMap).
     
Easy3DMatchPointCloudMerger
Merge several point clouds by using a calibration procedure with a specific object.
       

Matching and Measurement

示例

The sample program demonstrates:

Image

C++

C#

Qt

CMake

Vb

Python
EasyGaugeBasic
Load an image and apply a gauge from EasyGauge, chosen between a Point Gauge, a Line Gauge, a Rectangle Gauge, a Circle Gauge, a Wedge Gauge and a Polygon Gauge.
Implement graphical edition of the gauge geometry.
Set and display the main parameters of the gauges: the transition polarity, the choice of measure and various display options.
   
EasyGaugeRegion
Load an image and apply a gauge from EasyGauge, chosen between a Rectangle Gauge and a Circle Gauge.
Create a region corresponding to the gauge from the result.
Perform a blob encoding operation on it.
         
EasyGaugePolygon
Use the class EPolygonGauge of the EasyGauge library.
Edit the geometry of the gauge and change the main parameters.
Configure various display options.
       
EasyFindLearn
加载图像。
Move and size the region of interest to define the pattern.
Learn the pattern in the region of interest.
Change the tolerances using the Tolerances menu.
Find the pattern using the Find menu.
 
EasyFindVectorLearn
Use EasyFind with vectorized learning patterns.In this mode, learning is done on collections of 2D geometrical shapes rather than rasterized patterns.
Open a DXF or Open eVision vector model with File > Open Model.Right-click to change the polarity of a transition.
Save the vector model with the edited polarity.
Learn the pattern with the button Learn.
Open a search image and find the pattern with the button Find .
     
EasyMatchLearn
Use the class EPolygonGauge of the EasyGauge library.
Edit the geometry of the gauge and change the main parameters.
Configure various display options.
 
EasyObjectEChecker2
Specify the inspection area.
Select fiducials for the localization and the alignment of the inspection area.
Train the method and apply it on new images.
       
EasyObjectInertia
Find blobs (objects or holes that have the same gray level range) in the image.
Keep only the blobs whose area is in a given range.
 

Deep Learning Inspection

示例

The sample program demonstrates:

Image

C++

C#

Qt

CMake

Vb

Python
EasyClassifyTrain
Train an EasyClassify tool in console mode.
       
EasyClassifyInference
Perform an inference with EasyClassify.
显示结果。
   
EasyClassifyMultiThreadInference
Perform a multithread inference with EasyClassify.
Implement external and internal multithreading.
         
EasySegmentSupervisedTrain
Train an EasySegment Supervised tool in console mode.
       
EasySegmentSupervisedInference
Perform an inference with EasySegment Supervised.
显示结果。
   
EasySegmentSupervisedMultiThreadInference
Perform a multithread inference with EasySegment Supervised in console mode.
Implement external and internal multithreading.
         
EasySegmentUnsupervisedTrain
Train an EasySegment Unsupervised tool in console mode.
       
EasySegmentUnsupervisedInference
Perform an inference with EasySegment Unsupervised.
显示结果。
   
EasyLocateTrain
Train an EasyLocate tool in console mode.
       
EasyLocateInference
Perform an inference with EasyLocate.
显示结果。
   
EasyLocateMultiThreadInference
Perform a multithread inference with EasyLocate.
Implement external and internal multithreading.
         

Text and Code Reading

示例

The sample program demonstrates:

Image

C++

C#

Qt

CMake

Vb

Python

EasyCodeReading
Read a bar code, a data matrix and a QR code in an image with a single read call.
     
EasyBarCodeRead
Read a 1D bar code in an image.
 
EasyBarCodeReadMail
Read a mail bar code in an image.
       
EasyMatrixCodeRead
Read a data matrix code in an image.
   
EasyQRCodeRead
Read a QR code in an image.
 
EasyOcrRead
Read a text inside the ROI of an image using EasyOCR (superseded by EasyOCR2).
Use a configuration based on a OCR font file (.ocr).
         
EasyOcr2Read
Read a text inside the ROI of an image.
 
EasyDeepOCRRead
Read all the texts in an image with a single read call.
Load a model.
     
EasyDeepOCRReadConsole
Read all the texts in an image with a single read call.
Load a model.
Set a topology.
         

Applicative Processing Tools

示例

The sample program demonstrates:

Image

C++

C#

Qt

CMake

Vb

Python

EasySpotDetector
Load an image and the corresponding EasySpotDetector model.
Perform the detection of spots (particles and scratches).
Display the results over the image.
         

Python Specific

示例

The sample program demonstrates:

Image Python

eGrabber

egrabber_acquisition
Acquire images through the eGrabber camera API.
Manipulate the images.

OpenCV camera

openCV_acquisition (OpenCV Camera Acquisition)
Acquire images through the OpenCV camera API
Manipulate the images.

OpenGL

easy3d_viewer
Display a 3D resource (cloud or mesh) within an Open eVision 3DViewer using OpenGL and SDL2.

Qt

easy_find_learn
Learn a pattern.
Find it in an image using EasyFind in a Qt application.
easy_gauge_basic
Make subpixel measurements with EasyGauge in a Qt application.

VimbaX

vimbax_acquisition
Acquire images through the VimbaX camera API
Manipulate the images.

Base Web

Base Web
Make image acquisition in a web server.
Perform image processing.
Broadcast the images using HTTP to any remote client through a web browser.

Basic Tkinter

Basic Tkinter
Perform and rotate and scale an image.
Display the image using the Tkinter GUI framework.