Dealing with Smooth (Insufficiently Sharp) 3D Edges

Sharp 3D edges are critical for objects with fine features, thin parts, and overlapping geometry. Accurate object detection and pose estimation depend on keeping true shape and clear depth differences. If your point cloud has rounded, blurry, or over-smoothed edges resulting in boundaries that are not clearly visible, defocus or aggressive filtering is usually the cause. This article covers camera, setup, and filter choices that produce sharper edges.

备注

These recommendations are general-purpose. Aggressive edge trimming is usually best for stitched multi-view workflows, where missing edge points from one view can be recovered in neighboring views. For single-capture workflows, tune more conservatively to avoid removing valid edge geometry.

How to improve the shape of objects with more pronounced and sharper 3D edges, and clearer depth differences?

选择合适的相机

Some Zivid models have a narrower FOV and higher 2D resolution, which captures finer detail at the same distance. Select a model based on your working distance, maximizing spatial resolution while staying within the camera's optimal range. Useful selection tools:

物理设置

Position the camera closer to the scene. At shorter distance, illuminance increases, strengthening signal while ambient-light noise stays the same. Higher SNR improves data quality and confidence, and shorter imaging distance also increases spatial resolution for finer details.

使用正确的预设值

For Zivid 2+ and 3, dedicated presets for this use case provide high-resolution point clouds. These presets can reduce dynamic range and cause data loss, especially on dark or specular surfaces. In applications such as 3D template matching, this trade-off can be worthwhile because edges often matter more than large flat surfaces.

应用

捕获时间 (3D)

相机设置

高端电脑

中端电脑

低端电脑

Small Features(微小特征)

~1800 毫秒

~2300 毫秒

~2800 毫秒

Z3 XL250 Small Features

Z2+ MR130 Small Features

Z2+ LR110 Small Features

Z2+ MR60 Small Features

If presets are not sufficient, fine-tune settings and filters manually.

采集设置

If unsure how to configure these settings manually, follow 调整合适的曝光以获取好的点云.

HDR

Capture HDR acquisitions with similar or identical exposure to improve SNR. Read more about this averaging technique.

平均技术

过滤器

Clean edges

Start by removing the "wing" artifacts from the edges.

  • Cluster Filter(聚类过滤器): Aggressive use can remove valid 3D edges Start with MinArea = 300 and MaxNeighborDistance = 5. If wing artifacts appear, reduce MaxNeighborDistance to 3.0 and lower MinArea as needed to separate edge outliers from valid surfaces. This is most useful when stitching multiple captures, where edge points removed in one view are often recovered in another.

  • Hole Repair Filter(空洞修复过滤器): Disable, or use conservative settings to preserve 3D edges: HoleSize <= 0.25 and Strictness = 3 or 4.

  • Noise Filter(噪声过滤器): Tune Threshold for your application; higher values keep only high-confidence points. Disable Noise Suppression.

  • Gaussian Smoothing(高斯平滑): Disable the filter or set the Sigma value between 0.5 and 1.

  • Contrast Distortion Filter(对比度失真过滤器): If your scene is not affected by contrast distortion, disable the correction component to preserve shape accuracy and edge sharpness. Use the removal component to remove bad points and edge artifacts. As with cluster filtering, this is most useful when stitching multiple captures, where removed edge points are often recovered in another view.

In the following examples, point clouds captured with presets were improved by increasing the Contrast Distortion Removal Threshold from 0.3 to 0.4 and the Noise Removal Threshold from 7 to 15. This aggressive filtering cleaned edges around holes. In one scene, Hole Repair HoleSize was increased from 0.1 to 0.25 to recover some lost data. See the point clouds before (left) and after (right) tuning the filters in the images below.

../../../../_images/improving_hole_edges_1.png

Edges and shapes improved by increasing the Contrast Distortion Removal → Threshold to 0.4 and the Noise Removal → Threshold to 15.

../../../../_images/improving_hole_edges_2.png

Edges and shapes improved by increasing the Contrast Distortion Removal → Threshold to 0.4, the Noise Removal → Threshold to 15, and the Hole Repair → HoleSize to 0.25.

Correct shape geometry

Most scenes need some smoothing to reduce surface noise.

The best option depends on scene and reflectance, so compare Gaussian Smoothing, Contrast Distortion Correction, and Noise Suppression on your own data. Test one mechanism at a time, then combine conservatively if needed, and re-check the full filter chain after each change because interactions can re-introduce wing artifacts.

The examples below show how Gaussian Smoothing and Noise Suppression can each provide the best balance of surface noise, shape trueness, and edge sharpness, depending on the scene.

../../../../_images/gaussian_smoothing_better.png

Gaussian Smoothing (right) providing better results than Noise Suppression

../../../../_images/noise_suppression_better.png

Noise Suppression (left) providing better results than Gaussian Smoothing

For a specific guide on how to deal with wing artifacts on 3D edges while keeping the best possible shape geometry, check out Over-smoothed surfaces/corners and "wing" artifacts on edges in the Point Cloud.

版本历史记录

SDK

变更

2.17.0

已添加 Zivid 3 设置文件的下载链接。