millipixels issueshttps://source.puri.sm/Librem5/millipixels/-/issues2021-08-30T11:48:59Zhttps://source.puri.sm/Librem5/millipixels/-/issues/18React to camera getting enabled2021-08-30T11:48:59ZDorota CzaplejewiczReact to camera getting enabledThe case that should be working:
https://source.puri.sm/Librem5/linux-next/-/issues/330#note_168594
1. Camera switch off
2. Megapixels starts (notifies that the camera is unavailable)
3. Camera switch turned on
Result: Megapixels ente...The case that should be working:
https://source.puri.sm/Librem5/linux-next/-/issues/330#note_168594
1. Camera switch off
2. Megapixels starts (notifies that the camera is unavailable)
3. Camera switch turned on
Result: Megapixels enters camera mode.
It's really 2 scenarios, because the camera may be in 2 different states, at least the way the big camera driver is implemented today. One: camera was never present, driver is unloaded. Two: camera was present, driver is loaded, but it was turned off later.
I'm not sure which method should be used to communicate the state change. It should ideally reflect the camera status and not the switch state. Perhaps rfkill: https://source.puri.sm/Librem5/linux-next/-/issues/298https://source.puri.sm/Librem5/millipixels/-/issues/16Pictures from front cam are horizontally mirrored2022-06-25T21:22:01ZEvangelos Ribeiro TzarasPictures from front cam are horizontally mirroredHey there,
I've just noticed that pictures taken from the front camera (with megapixels)
appear to be mirrored.
Observe the tree, cars and road markings in the following pictures:
Rear camera (matches what my eyes tell me):
![back](/u...Hey there,
I've just noticed that pictures taken from the front camera (with megapixels)
appear to be mirrored.
Observe the tree, cars and road markings in the following pictures:
Rear camera (matches what my eyes tell me):
![back](/uploads/f670c8c28fe1f22994771bb08ac83b24/back.jpg)
Front camera (from mirror land):
![front](/uploads/14f62e5883e5b8c8788344e79fecae37/front.jpg)https://source.puri.sm/Librem5/millipixels/-/issues/10Correct lens shading2023-05-12T14:16:29ZDorota CzaplejewiczCorrect lens shadingLens shading is pretty much guaranteed on any lens.
The setup seems to be quite involved in order to measure it though.Lens shading is pretty much guaranteed on any lens.
The setup seems to be quite involved in order to measure it though.https://source.puri.sm/Librem5/millipixels/-/issues/6Use a correct color matrix2023-05-12T14:16:29ZDorota CzaplejewiczUse a correct color matrixThe color matrix needs to be obtained from a raw picture of a calibrated color target. Here's how:
https://source.puri.sm/dorota.czaplejewicz/megapixels/-/merge_requests/17
The forward matrix doesn't seem to be used by dcraw, so a reve...The color matrix needs to be obtained from a raw picture of a calibrated color target. Here's how:
https://source.puri.sm/dorota.czaplejewicz/megapixels/-/merge_requests/17
The forward matrix doesn't seem to be used by dcraw, so a reverse matrix needs to be found too. Adobe DNG spec ([public](https://www.adobe.com/content/dam/acom/en/products/photoshop/pdfs/dng_spec_1.4.0.0.pdf)) describes how those are related.
Word of caution, dcraw as used by ufraw seems to have a weird relationship between the color matrix and white balance. Auto white balance is not affected at all by the color matrix (???).
Big camera in daylight, possibly messed up pixel order (fix with exivtool), target https://en.wikipedia.org/wiki/IT8#IT8.7/2_-_1993_(R2003)_Graphic_technology_-_Color_reflection_target_for_input_scanner_calibration :
[IMG20210501095328.dng](/uploads/dc77b8f888799161c48e59a893d19538/IMG20210501095328.dng)