Gradient Card Extraction
Gradient Card Extraction fits optical transmission and absorption parameters from photos of white-substrate and black-substrate gradient cards printed with the same filament, then saves a reusable material archive for layer-stack color prediction.
Required files
Prepare three inputs before starting:
- The Kit ZIP downloaded from Gradient Card Generation.
- A complete photo of the white-substrate gradient card.
- A complete photo of the black-substrate gradient card.
Capture both cards with the same camera, exposure, white balance, and color calibration workflow, avoiding surface glare, clipped highlights, or shadows across sample patches. Standard formats such as PNG and JPG are supported along with camera formats your system can decode directly; if your environment cannot open HEIC/HEIF files, convert them to PNG or JPG first.
Image source and ColorChecker
By default, extraction processes direct camera or scanner captures. Turning on ColorChecker Calibration lets you calibrate and confirm the white-card and black-card photos individually, recording them as ColorChecker-calibrated sources.
When re-verifying a material across multiple runs, only runs from the same image source class can be merged—uncalibrated captures and ColorChecker-calibrated images are tracked separately.
Rotation, corners, and anchor patches
After uploading an image, rotate it 90° clockwise or counterclockwise if needed, then click the four corners of the gradient card in order:
- Top-left
- Top-right
- Bottom-right
- Bottom-left
Pure White Block Position and Pure Black Block Position control the patch sampling orientation. Leave both set to Auto Detect unless automatic orientation detection fails, in which case select the corner containing the exposed pure substrate patch.
After placing all four points, you can select corner 1–4, set a 1–10 pixel step size, and fine-tune its position with the directional buttons. Align the boundary tightly around the active card surface, keeping the table, fingers, and surrounding background outside the frame.
Extract and save
Extract Material becomes available once the Kit ZIP, both photos, and both four-corner sets are in place. The results panel displays:
- Perspective-corrected card views and actual patch sampling boxes
- Estimated filament color (RGB / HEX)
- Mean and maximum ΔE
- Linear and per-channel RMSE
- Detected white/black card orientations and orientation confidence
- Fitted optical parameters and diagnostic summary
Enter a material name to save the archive. Selecting or typing a brand is optional—you can pick an existing brand or enter a new one. From the details view, you can also download stage_A_parameters.json to archive the fitted parameters and diagnostics from the current run.
When re-verifying an existing material archive, choose how to apply the new run (see Editing and Re-Verification):
- Merge Result: Appends the new samples to existing history of the same source class and refits jointly.
- Override Result: Replaces the archive's current fitted data with this run.
- Cancel Re-Verification: Exits re-verification mode while leaving the existing archive untouched in the library.
Once saved, inspect the archive in the Material Library and test its stack predictions in Material Recipe Query.
Submit feedback
Your feedback is sent privately to the Wiki maintainers and is not displayed publicly on this page.