#54 - Colour negatives come out grey in their mid-tones, keep their densest tones, and get more controls #55
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!55
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/54-colour-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?
Colour negatives no longer come out with a cast in their mid-tones. Each colour layer of the film has its own contrast, and the conversion now brings red's and blue's to green's, so a grey comes out grey from the shadows to the highlights, not only at both ends. The densest parts of a negative are no longer cut before the black and white points are set, and how brightly the negative was shot no longer changes the result. On top of that, the positive gets more controls: the colour of the shadows and of the highlights, contrast, exposure, a grey picker, and curves whose end points also clip the shadows and the highlights. A negative can be turned a quarter at a time, and negatives ticked in the list are converted and saved together.
No camera colour profile, matrix or ICC is used, as asked on the issue: point 6 of #54 is left out on purpose.
Closes #54
How it works
t = v / base), then read as if the base were 0.124 in green, what it read on the scans the constants were calibrated on. A scan two stops darker gives the same positive, bit for bit on the test wedge.t' = t ^ (1 / layer).layeris the slope of the channel's density against green's, a total least squares line fitted across the frame on the same small copy the levels use. It is left at 1 on a flat frame and held between 0.5 and 2. It can also be typed, kept from one negative for the whole list, or solved from greys picked on the negative (the base counts as a grey; a pick on bare film is refused).linis no longer held at 1. The histogram for the levels now runs up to an encoded 16, and values past the white point are held at the very end, after the adjustments.POST /api/negatives/{id}/layers(greys to layers) andPOST /api/negatives/{id}/neutral(area to warmth and tint). Recipes takelayersandrotate, andadjusttakes the new fields andcurves.rollscan convert --rotate 90|180|270.Tested
cargo test: 320 passed. New tests check that a colour wedge with three layer contrasts comes out grey at every step, and that the same negative shot 2 stops darker gives the same positive. They also cover: dense steps kept apart with no warning, layers measured, given and solved from greys, the grey picker making its area grey, exposure, contrast, shadow and highlight colour, curves (per channel, master, ignored channels in black and white, ends moved inward clipping, points held), quarter turns with and without the crop, the dark-scan warning, the darkroom pickers and rotation, the server endpoints and the CLI options.cargo clippy --all-targetsis clean, andpnpm buildinsite/passes.rollscan convert:Not tested
Changes in behaviour
--blackand--whitevalues printed by earlier versions are on another scale unless the base read 0.124 in green: measure them again.--layers.--curveand the per-channel curves need at least two points, ends included:0:0,0.5:0.6,1:1.WIP: #54 - Colour negatives come out grey in their mid-tones, keep their densest tones, and get more controlsto #54 - Colour negatives come out grey in their mid-tones, keep their densest tones, and get more controls