Calibration measures moves right on thin negatives, and sizes frames from the film's height #35
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!35
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/calibration-on-thin-negatives"
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?
On a thin negative, calibration could measure the film's move at half its real length: it then saved about 0.74 px a motor step instead of 0.51, and looked for frames wider than the picture (1148 px in a 1024 px live view), so no frame was found. Calibration now measures the move right on thin negatives, and sizes frames from the film's height in the picture.
How it works
measure_shiftcompares the two live-view profiles by correlation over the columns they share, only at shifts where they share at least half. The plain sum of products it used before favoured small shifts and read 71 px for a move of 142 on a thin negative.reference/film_scanner/detect.py) and the shift figure indocs/frame-detection.mdfollow.Tested
cargo test: 298 passed, including a regression test on four live-view profiles recorded from a thin negative on the real scanner (src/testing/thin-negative-profiles.txt).pnpm buildinsite/: passes.Not tested
Changes in behaviour