Photograph and Extract Gradient Cards
Screenshots show the Simplified Chinese interface; control names below match the English UI.
In the previous tutorial, you printed a white-base card and a black-base card using the same test filament, and saved the complete ZIP package generated by Lumina Studio.
This tutorial covers photographing both cards, importing the dataset, marking the four corners, extracting optical parameters, and saving the material profile. Once saved, the filament appears in Lumina Studio's Material Library for use in image conversion.
If you have not printed the calibration cards yet, start with Generate and Print Gradient Calibration Cards.
Before you begin
Prepare these three items:
- The white-base gradient card.
- The black-base gradient card.
- The complete Kit ZIP generated for that exact card pair.
All three items must come from the same test-filament spool and the same generation run. Upload the complete Kit ZIP rather than a standalone 3MF extracted from the archive.
A phone, camera, or flatbed scanner works well for the standard workflow. A 24-patch ColorChecker chart is optional; enable ColorChecker calibration only if you already own a chart and use a consistent color-calibration workflow.
Step 1: Photograph both cards
Use steady, even, neutral lighting. Avoid direct sunlight, colored ambient light, specular glare, or uneven illumination across the card.
Keep the phone or camera fixed and aim the lens squarely at the card. Include the entire gradient patch grid and all four outer corners in the frame without letting a ColorChecker, ruler, or other object overlap the card.
Photograph the white-base card first, then place the black-base card in the exact same spot for the second shot. Keep the same device, lens, distance, exposure, white balance, and calibration settings across both photos, and turn off filters, beauty modes, or automatic color enhancement.
Zoom in and check both photos before moving on:
- Patch edges are sharp and distinct.
- Highlights are not clipped to pure white, and shadows are not crushed to solid black.
- There is no harsh glare, shadow cast, motion blur, or severe perspective distortion.
Use PNG or JPG files. If your system cannot decode HEIC or HEIF photos directly, convert them to PNG or JPG first.
Step 2: Open Gradient Card Extraction
In Lumina Studio, click Material Management in the top navigation bar, then select Gradient Card Extraction in the second tab row to open the extraction workspace.
Step 3: Import the ZIP and both photographs
Under Import Generated Gradient Card ZIP, click Choose Dataset ZIP and select the complete Kit ZIP saved when you generated this card pair.
Use the Kit ZIP from the gradient-card generator here; material archive ZIPs exported from the Material Library are imported on the Material Library page instead. See Gradient-card ZIP or material archive ZIP?.
Upload the white-base photo and the black-base photo in their respective panels. If either image is sideways or upside down, rotate it 90 degrees clockwise or counterclockwise before marking corners.
Leave the pure-white and pure-black patch positions set to Auto Detect (Recommended) on your first pass. These options identify which corner in the photo contains the uncovered white or black base patch; set them manually only if automatic orientation detection reports low confidence or misidentifies the orientation.
The sample screenshots include a ColorChecker chart, which is optional. Without a chart, leave ColorChecker calibration turned off and upload the original camera or scanner images directly.
Step 4: Mark the four corners in order
On the white-base preview, click the four outer corners of the full gradient patch grid in this exact order:
- Top left.
- Top right.
- Bottom right.
- Bottom left.
Repeat the same sequence on the black-base preview, placing eight points in total.
Click the outer boundary corners of the complete gradient grid—not an individual patch, the edge of the photo, or the ColorChecker chart.
To nudge a point after placing it, select that corner under Corner Fine Adjustment and use the directional buttons or keyboard arrow keys. If you clicked the corners out of order, clear the points and mark all four again in sequence.
Once all four corners are marked on both images, Extract Material becomes active.
Step 5: Extract and verify orientation
Click Extract Material and wait for perspective correction, patch sampling, and optical fitting to complete.
If Lumina reports low orientation confidence, check the photo rotation and corner order first. If automatic detection still fails, select the actual corner where the uncovered pure-white or pure-black patch sits in the original photo (not where it moves after straightening), then run Extract Material again.
Step 6: Inspect the perspective-corrected previews
Check the straightened previews for both cards. Every sampling box must sit cleanly inside its patch without crossing grid lines, borders, or the edge of the image.
If the sampling boxes are offset, adjust the four corner markers or check their click order, then run extraction again before saving.
Step 7: Evaluate the extraction metrics
The calculated material color provides a visual swatch for identifying the profile and should roughly match the test spool (exact appearance varies by display).
Mean Delta E measures average fitting error—lower values indicate a tighter fit. Evaluate the extraction by checking all three indicators together:
- Sampling boxes sit cleanly inside every patch in the corrected previews.
- Orientation detection reports reliable status.
- No extraction warnings appear on the page.
If Lumina warns that mean Delta E is above 3, the white base is overexposed or underexposed, the base signal is weak, or orientation confidence is low, check your lighting, exposure, photo orientation, corner placement, and pure-patch settings. Retake the photos if needed and extract again before saving.
Maximum Delta E, linear RMSE, and per-channel RMSE provide additional detail for diagnostics; for everyday calibration, focus on clean sample placement, reliable orientation, and zero warnings.
Step 8: Name and save the material profile
Enter a descriptive material name—such as material type, series, and color—so you can tell spools apart easily. Brand is optional; filling it in groups the profile under that brand in the library.
Click Save Material Profile. A confirmation message indicates the profile is stored locally in Lumina Studio; you do not need to download material.json or other low-level files separately.
Switch to Material Library to verify that the new profile appears in your list. Use the library's export option later whenever you want to back up or transfer profiles across computers.
Next steps
Before committing to a large print with a newly created profile, convert and print a small test image with clear colors and fine details. Compare the Lumina preview, the slicer's bottom-layer preview, and the finished print to confirm color accuracy.
Frequently asked questions
Can I use a phone camera?
Yes. Keep the same phone and lens for both shots, lock exposure and white balance, and light both cards evenly so every patch is clear.
Do I need a standard 24-patch ColorChecker?
No. Standard extraction works directly from uncalibrated camera or scanner images. If you enable ColorChecker calibration, apply the exact same workflow to both photos.
Can I photograph only one card?
No. The white-base card, black-base card, and matching Kit ZIP form a single calibration set and must be used together.
Why is Extract Material disabled?
Check that the Kit ZIP and both photos are uploaded, and that all four corners are marked on both the white-base and black-base previews.
Why is Save Material Profile disabled?
Run a valid extraction first and enter a material name. If you changed an input after extracting, click Extract Material again before saving.
What should I do when automatic orientation reports low confidence?
Verify the corner click order and image rotation first. If automatic detection remains uncertain, manually select the corner containing the uncovered pure-white or pure-black patch in the original photo, then extract again.
What mean Delta E value is acceptable?
Check the sampling boxes, orientation status, and warning banner together rather than relying on a single cutoff alone. If Lumina warns that mean Delta E is above 3, adjust the lighting, photos, or corner markers and extract again.
Do I need to download parameter files after saving?
No. Saved profiles stay in your local Material Library automatically. Exporting files is only needed for cross-device backups or troubleshooting.
Submit feedback
Your feedback is sent privately to the Wiki maintainers and is not displayed publicly on this page.