01
CNC & laser relief shops
Convert client photos into a smooth 16-bit CNC relief heightmap for Aspire, Carveco, or LightBurn.
Image to heightmap generator
Convert any photo into a camera-derived 16-bit heightmap for CNC relief carving, laser engraving, or PBR displacement—not a geographic terrain map. Shape grayscale range, flatten backgrounds, invert elevation, and preview in 3D before export.
Three free AI previews per day · no account to try · 1 credit unlocks raw EXR, true 16-bit PNGs & STL ($12 / 30 credits)
Live manufacturing workbench
Three free AI previews per day. Source checks, editing, 3D preview, and compatibility exports are free.
What happens to an ordinary photo (no login required):



Camera shadows get separated from true 3D height—ready for CNC ball-nose finishing, LightBurn 3D Sliced laser, or resin/FDM printing.
Choose a source image to begin.
Inspect a real download
Follow one existing public AI preview through local format conversion. These downloads show what the files contain; they are not a paid raw-EXR sample or a successful machining case.


| File | Measured result | What it proves |
|---|---|---|
| depth.png | 8-bit grayscale · 255 distinct values | An AI preview, with the busy background still present. |
| compatible-16bit.png | 16-bit grayscale container · still 255 distinct values | A format conversion. No added depth precision. |
| preview-relief.stl | 24,572 triangles · approximately 120 × 80.16 × 5.98 mm | Finite mesh coordinates and closed edges checked; no toolpath or physical test. |
File hashes, settings and checks (JSON) · File checks dated
The complex background has not been removed or flattened. LightBurn import and pass preview have not been tested. No machine, material, carving or print was tested. Inspect and prepare the file for your own workflow before a production job.
LightBurn 2.1: 3D Sliced is for Galvo lasers only. A 16-bit container with 255 distinct values does not provide more than 256 depth levels for a high-pass-count job.
Read the official LightBurn 2.1 mode requirementsPhoto by Shixart1985 via Wikimedia Commons. AI depth estimation and format conversions by DepthCarve. Original photograph · CC BY 2.0 license
Real work, real failure cost
The useful product is not the model call. It is the review loop that catches a reversed field, a noisy border, or an impossible relief before the next tool turns that mistake into wasted time.
01
Convert client photos into a smooth 16-bit CNC relief heightmap for Aspire, Carveco, or LightBurn.
02
Build clean displacement heightmaps from image structure instead of noisy raw pixel luminance.
03
Prototype parallax, micro-displacement, and normal-map base layers with predictable grayscale range.
01
Depth describes distance from a camera, while a heightmap describes surface elevation above a flat reference plane. Turning a photograph into an image to height map field is an editorial step: you decide that the nearest subject becomes the highest white peak, that distant background clutter collapses to a quiet flat floor, and that midtone transitions spread evenly across the grayscale histogram.
DepthCarve runs monocular depth estimation first so dark hair, pupils, and shadowed clothing stay physically attached to the subject instead of sinking into brightness holes. From that depth estimate, this heightmap generator gives you black and white points, gamma curve, subject threshold, background flattening, inversion, edge-preserving smoothing, and border taper—updating both the grayscale heightmap and 3D relief preview locally without spending another model call.
02
A CNC relief heightmap and a PBR displacement map start from the same grayscale elevation concept, yet downstream tools consume them very differently. CNC CAM packages (Vectric Aspire, Carveco Maker, VCarve) and LightBurn 3D Slice turn brightness directly into spindle Z-depth or laser pass count, where steep single-pixel cliffs cause bit chatter, chip tear-out, or vertical wall artifacts.
3D renderers and game engines (Blender, ZBrush, Unreal Engine, Unity) read the single-channel grayscale heightmap as a non-color scalar multiplied by a shader displacement strength. There, clean midtone distribution, unclipped highlights, and true 16-bit precision matter more than physical millimeters. Use the starting profile table below to match your image to heightmap settings to the receiving workflow.
| Target workflow | Recommended export | Height direction | Range & smoothing setup | Typical scale / depth |
|---|---|---|---|---|
| CNC Hardwood Relief (Aspire / Carveco / VCarve) | True 16-bit PNG or watertight STL | White = raised peak (positive relief) | Flatten background + 1–2× smoothing + 5–8% edge taper | 3.5–6.5 mm Z-relief on ≥14 mm stock |
| 3D Laser Engraving (LightBurn 3D Slice / MOPA) | True 16-bit grayscale PNG | White = high peak; invert for negative coin dies | Tighten black/white points + gentle gamma (1.05–1.2) | 0.8–2.4 mm over 128–256 grayscale passes |
| Blender / ZBrush Displacement Modifier | True 16-bit grayscale PNG (Linear / Non-Color) | White = outward displacement (mid-level 0.0–0.5) | Keep full 0–1 histogram; avoid harsh clipping on curves | Subdivide mesh to match map resolution |
| Unreal Engine / Unity PBR Parallax & Materials | 16-bit PNG (or 8-bit preview for coarse LODs) | White = raised surface; pair with tangent normal map | Normalize contrast; remove background gradient ramp | Shader height ratio 0.02–0.08 + POM steps |
| FDM / MSLA 3D Print Bas-Relief & Plaques | Watertight binary STL (from same heightmap) | White = raised front face over solid base plate | 2× smoothing for fur/hair + 2.5–3.0 mm base backing | 2.5–4.5 mm relief · 160–256 mesh grid |
Always verify white-high vs. black-high convention and physical stock limits inside your CAM, laser, or shader viewport before production.
03
Standard 8-bit grayscale PNGs only store 256 discrete height steps (0–255). On a 6 mm hardwood CNC relief plaque, each single 8-bit gray increment equals a 23.5 µm physical ledge—large enough to appear as visible topographic terracing across smooth cheeks, foreheads, brass medallions, and finely subdivided Blender meshes.
A true 16-bit heightmap encoded from raw floating-point EXR depth stores 65,536 elevation levels, cutting the quantization step on that same 6 mm relief down to 0.09 µm. DepthCarve clearly separates free preview containers from raw-float production outputs so you never mistake an upscaled 8-bit file for genuine 16-bit elevation data.
| Export format | Grayscale levels | Step size on 6 mm relief | Best use case | Availability |
|---|---|---|---|---|
| 8-bit Grayscale PNG | 256 levels (0–255) | ~23.5 µm (visible terracing on curves) | Fast visual checks, coarse parallax, quick drafts | Free preview |
| Compatibility 16-bit PNG | 256 preview values in 16-bit container | ~23.5 µm (container compatibility only) | Testing CAM/shader 16-bit import pipelines before paying | Free preview |
| True Raw-Float 16-bit Heightmap PNG | 65,536 levels from MoGe2 EXR float | ~0.09 µm (smooth continuous slopes) | Hardwood CNC plaques, brass coins, Blender/ZBrush displacement | 1-credit production ZIP |
| Watertight Relief STL | Continuous float32 vertices + solid base | Bounded by mesh grid & cutter radius | VCarve, Fusion 360, Bambu Studio, PrusaSlicer | Preview STL free · Full STL in ZIP |
One approved production ZIP includes both forward and inverse true 16-bit heightmap PNGs, raw EXR, watertight STL, 8-bit preview, and a versioned manifest.
04
Before running an image to heightmap conversion, crop out distracting borders or distant rooms so the depth estimator focuses its dynamic range on the actual subject. After generating the free preview, pull the black point up until background noise drops flat, set the white point just below peak highlights so noses or crests do not plateau, and toggle Invert whenever your target software expects black-as-high (such as negative wax molds or rear-lit intaglio acrylic).
For CNC relief heightmaps, apply one to two passes of edge-preserving smoothing and a 5–8% border taper so a 1.0–1.5 mm tapered ball-nose bit never slams into sheer perimeter walls. Once downloaded, you can verify exact PNG bit depth and inspect watertight STL triangle bounds locally in your browser before touching hardwood, brass, or resin.
05
This image to heightmap generator is not a GIS or geographic DEM terrain builder. The elevation values are inferred from a single 2D photograph, carry no GPS coordinates, and contain no surveyed metric altitude. A distant mountain ridge in a photo is simply farther from the lens than a foreground tree—not measured in meters above sea level.
Likewise, mirrors, transparent glass, harsh cast shadows, and hidden back faces cannot be reconstructed with certainty from one frame. Use LiDAR or DEM datasets for real-world terrain; use DepthCarve when you need a controllable, fabrication-ready heightmap derived from photography, artwork, or product shots, and inspect the free 3D preview first.
Five bounded stages
Check source contrast, edge detail, border clutter, and resolution before an AI call is trusted.
Adjust the subject mask, background, curve, detail, smoothing, taper, frame, and real dimensions for free.
Compare beam or tool size, tonal slices, slope, base, manifold topology, and bounding box with the real setup.
Approve one successful production job only after the free 2D and 3D previews earn acceptance.
Download one verified ZIP and inspect it in LightBurn, CAM, or a slicer before committing production material.
Choose by next action
| Output | Use it for | It does not guarantee | Cost |
|---|---|---|---|
| 8-bit PNG | Preview, mask, laser and compositing tests | Physical scale or machine settings | Free |
| Compatible 16-bit PNG | Compatibility with grayscale depth workflows | Additional source precision | Free |
| Preview STL | Low-cost scale and import checks | Printability, tool reach, or safe G-code | Free |
| Production job bundle | Raw EXR, true 16-bit pair, STL, preview and manifest | Hidden surfaces or certified metric truth | 1 credit |
Straight answers
A depth map measures relative distance from a camera, while a heightmap maps surface elevation above a flat plane. DepthCarve estimates camera depth from your photo first, then lets you remap, flatten the background, and invert it into a true 16-bit heightmap PNG (65,536 levels) or watertight STL.
Upload a well-lit, tightly cropped photo, generate the free AI depth preview, flatten the background, add 1–2 passes of smoothing plus a gentle edge taper, and check the 3D relief side view. Then export either the true 16-bit heightmap PNG for Vectric Aspire, Carveco, or LightBurn, or a closed STL for VCarve and Fusion 360.
Yes whenever the receiving surface is carved cleanly or finely subdivided. An 8-bit PNG only has 256 gray steps (~23.5 µm per step on a 6 mm relief), causing visible stair-stepping on smooth faces and curves. A true raw-float 16-bit heightmap provides 65,536 levels (~0.09 µm per step) and eliminates quantization banding.
Use the background flattening slider together with the subject threshold and black-point controls to push distant scenery to pure zero elevation. Adding a small border taper also drops the outer frame cleanly to the base plane so CNC finishing passes do not plunge into vertical walls.
It can create an image-derived 16-bit grayscale heightmap for Unreal Engine, Unity, or Blender displacement materials, but it does not produce surveyed geographic coordinates or real-world DEM elevation data. Use GIS elevation sources when real-world terrain accuracy is required.
By default, white represents the highest raised peak and black represents the lowest flat base—matching standard Vectric Aspire, Carveco, Blender, and positive bas-relief conventions. You can flip the Invert toggle in the workbench, and every approved production ZIP includes both forward and inverse true 16-bit PNGs.
Exporting a heightmap PNG hands the grayscale elevation field to shaders, sculptors, LightBurn 3D Slice, or CAM programs that build relief internally, while exporting an STL via Heightmap to STL resamples that same approved field into a closed mesh with walls, base thickness, and millimeter dimensions.
Convert portraits into millimeter-checked CNC and 3D-print bas-relief STLs.
Match ball-nose cutter stepover, relief depth, and CAM workflow to your map.
Convert logos and pre-shaded art into blurred 16-bit PNG or STL locally in-browser.
Turn a grayscale heightmap into a watertight STL with exact mm dimensions.
Convert your grayscale heightmap into a tangent-space normal map free in-browser.
Deep dive on raw-float 16-bit grayscale output for CNC and 3D displacement.
Understand how camera distance differs from physical surface elevation.
Compare 8-bit banding vs. true raw-float 16-bit grayscale precision.
Preview the idea free. Pay 1 credit for production output.
Start without an account—3 free AI previews per day. Unlock raw EXR, true 16-bit PNG heightmaps, and watertight STL with the $12 Maker Pack (30 credits) or $39 Shop Pack (150 credits).