image2relief is a C++ program using OpenCV to convert raster images into G-code for CNC engraving of gemstones. It supports the creation of mid-reliefs, low reliefs, and shallow reliefs (without undercuts), using image-based surface profiling. The tool accounts for different end mill diameters by simulating circular tool footprints. The image is scanned stepwise along a customizable path. At each step, the maximum pixel value inside the end mill's footprint is used to determine engraving depth. G-code is only emitted when a change in engraving depth occurs, minimizing unnecessary tool movement and reducing engraving time. This makes image2relief efficient and suitable for refining reliefs layer by layer with progressively smaller end mills.

Features

  • Converts grayscale images into G-code for CNC machines.
  • Ideal for gemstone engraving and relief carving.
  • Supports multiple levels of detail (mid/low/shallow reliefs).
  • Uses efficient toolpath generation: avoids redundant G-code.
  • Supports variable end mill sizes, from coarse to fine.
  • Written in modern C++ with OpenCV.
  • Lightweight and open-source.

Project Activity

See All Activity >

Follow image2relief

image2relief Web Site

You Might Also Like
One Platform. Total IT Insight. Start with PRTG Now Icon
One Platform. Total IT Insight. Start with PRTG Now

Rely on a single source of truth. PRTG unifies monitoring for all your systems, apps, and services.

Why settle for fragmented monitoring? PRTG consolidates everything - servers, VMs, network devices, cloud services, and more, into one powerful platform. Get real-time status, customizable alerts, and deep analytics to drive smarter decisions. Designed for complex environments, PRTG scales with your needs, supports team collaboration, and helps you prevent outages before they impact users. Take control of your IT landscape and deliver the uptime your business requires.
Start Your Free PRTG Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of image2relief!

Additional Project Details

Registered

2025-04-11