#20 - Calibrate measures the film's base, and the gaps are found by it #21
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
RollNote/rollscan!21
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/20-film-base"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This sits on top of #8 (the live view): merge #8 first. Until then the diff here also shows #8's commits; this pull request's own are the ones marked "Part of #20".
Calibrate now starts by measuring how clear this film's bare base is, and the scanner finds the gaps between frames by that measure instead of guessing it from each picture. Show it a blank frame, or draw a rectangle on the live view inside a gap (for film that came back from the lab already cut), or skip and let the scan learn it from the frames it finds.
A calibration is now made for one film. On thin negatives that the scanner could not center before, three frames that had each failed were centered once the base was measured.
Closes #20
How it works
max(0.02, 1.5 x grain)uneven. The limit never goes under the 0.02 used without a measure.POST /api/film-base,DELETEto forget it), kept by the session until the next Calibrate, which writes it intocalibration.jsonwith the roll's name. It can't be part of the calibration's own looks: those need a picture in view, a blank frame has none.Tested
cargo test: 255 passed.tools/parity.py: SAME. The Python reference has no measured base: the check compares the detector as it guesses the base, which this leaves as it was.Not tested
Docs
docs/frame-detection.md(the three ways the base is known, the measure, when it is out of date, how it is learned),docs/build-guide.md(Calibrate in two steps, for each film, manual exposure),docs/troubleshooting.md(the three new messages),docs/how-it-works.mdand the README.Changes in behaviour
rollscan calibrateon the command line neither measures the base nor records the roll: a calibration made there is refused by a scan started from the app.rollscan scanitself is unchanged.