HALCON
サンプルリスト
サンプルは大きく分けて カメラ と アプリケーション の2つのカテゴリに分類されます。カメラ カテゴリのサンプルは、カメラの使用方法のみに焦点を当てています。アプリケーション カテゴリのサンプルは、3D 点群、2D 画像、その他のカメラデータなど、カメラによって生成された出力を使用します。これらのサンプルは、カメラからのデータがどのように活用できるかを示しています。
Camera
Basic
Capture - Capture a 3D color point cloud from the camera and use it to generate a HALCON ObjectModel3D which is then visualized.
CaptureHDRCompleteSettings - Capture an HDR image from the Zivid camera with fully configured settings for each frame.
CaptureSavePLY - Capture a 3D color point cloud from the camera and save it to a PLY file format.
CaptureWithSettingsFromYML - Capture a 2D color image, a 3D point cloud without colour and 2D color image + 3D color point cloud from the camera and use them to generate HALCON ObjectModel3D which is then visualized.
ConnectToSerialNumberCamera - Connect to a specific Zivid 3D camera based on its serial number.
InfoUtilOther
QuerySettingsAndParameters - Query information about the image acquisition interface and selected specific parameters of Zivid camera.
Warmup - A basic warm-up method for a Zivid camera with specified time and capture cycle.
Applications
Basic
FileFormats
ReadPLY - Import and display a Zivid point cloud from a PLY file.
Advanced
HandEyeCalibration
EyeInHandCalibration3DObject - Hand-eye calibration with a Zivid camera and a 3D calibration object
EyeInHandCalibrationMVTecPlate - Hand-eye calibration with a Zivid camera and MVTec calibration plate
JSONHomogeneousMatrixToHalconPose - Transform homogenous matrixes to halcon pose
ObjectMatching
SurfaceMatchingCreateModel - Create a model for HALCON surface-based 3D matching algorithm from a Zivid point cloud captured by a camera.
SurfaceMatchingCreateModelFromFile - Create a model for HALCON surface-based 3D matching algorithm from a Zivid point cloud loaded from a ZDF file.
SurfaceMatchingFindModel - Utilize surface-based 3D matching on data taken with a Zivid camera.
SurfaceMatchingFindModelFromFile - Utilize surface-based 3D matching on data taken with a Zivid camera.
Procedures
calc_calplate_pose_eye_in_hand - Calculate the pose of the calibration object in the camera frame for Eye-In-Hand.
calc_calplate_pose_eye_to_hand - Calculate the pose of the calibration object in the camera frame for Eye-To-Hand.
generate_R_G_B_and_RGB_images - Create separate images for each color channel and a combined RGB image.
get_first_available_zivid_device - Get the first Zivid device from the input tuple of devices.
get_settings_for_zivid_camera_model - Get settings depending on the camera model.
get_zivid_camera_width - Get width for given camera and sampling pixel setting.
get_zivid_preset_file - Get preset file for given camera.
get_zivid_sample_data_dir - Get the path of ZIVID DATA depending on your operating system.
手順
Zivid は HALCON と連携するための2つの方法を提供しています。
Zivid SDK を通じて、HALCON で利用可能な C++/C# ライブラリを活用します。 C++ と C# 両方のサンプルを提供しています。(推奨)
Zivid Software に付属する GenICam GenTL プロデューサーを介して直接行います。
Zivid and HALCON are compatible with Windows 10 and 11, and Ubuntu 20.04, 22.04, 24.04, 26.04.
注釈
Ubuntu 18.04 のサポートは SDK 2.10 以降削除されました。
これらのオペレーティングシステムのいずれかで Zivid をセットアップして使用するには、次のページに記載されているそれぞれの手順に従ってください。