[CanonVRD:Image] CanonVRD_DR4_0x20b10 "Dual Pixel Raw"

Started by JohnMoyer, February 02, 2024, 09:14:19 AM

Previous topic - Next topic

JohnMoyer

[CanonVRD:Image] CanonVRD_DR4_0x20b10
and
[CanonVRD:Image] CanonVRD_DR4_0x20b12
appear to be set by "Image Microadjustment" in Canon DPP.

"CanonVRD_DR4_0x20b10" is forward focus movement toward camera if negative or backward focus if positive.
default is zero when no change is made.
"CanonVRD_DR4_0x20b12" is strength
default strength is 5 when no change is made.
A positive strength seems to increase contrast of very small features when no change in focus distance is made.
In camera DPRAW background detail processing might do something similar, but I have not yet figured out where it is saved or whether it is the same as some change in the DPP software.

exiftool -s -U -G0:2 -a -"CanonVRD_DR4_0x20b1[0-3]" IMG_8850c[1-7].dr4
Invalid TAG name: "CanonVRD_DR4_0x20b1[0-3]"
======== IMG_8850c1.dr4
[CanonVRD:Image] CanonVRD_DR4_0x20b10           : 0
[CanonVRD:Image] CanonVRD_DR4_0x20b12           : 5
======== IMG_8850c2.dr4
[CanonVRD:Image] CanonVRD_DR4_0x20b10           : 0
[CanonVRD:Image] CanonVRD_DR4_0x20b12           : 5
======== IMG_8850c3.dr4
[CanonVRD:Image] CanonVRD_DR4_0x20b10           : 2
[CanonVRD:Image] CanonVRD_DR4_0x20b12           : 5
======== IMG_8850c4.dr4
[CanonVRD:Image] CanonVRD_DR4_0x20b10           : -2
[CanonVRD:Image] CanonVRD_DR4_0x20b12           : 5
======== IMG_8850c5.dr4
[CanonVRD:Image] CanonVRD_DR4_0x20b10           : 0
[CanonVRD:Image] CanonVRD_DR4_0x20b12           : 7
======== IMG_8850c6.dr4
[CanonVRD:Image] CanonVRD_DR4_0x20b10           : 0
[CanonVRD:Image] CanonVRD_DR4_0x20b12           : 3
======== IMG_8850c7.dr4
[CanonVRD:Image] CanonVRD_DR4_0x20b10           : 1
[CanonVRD:Image] CanonVRD_DR4_0x20b12           : 8
    7 image files read

Phil Harvey

Hi John,

Thanks!

There are probably lots of new tags but I can't run the new DPP on my old system to decode them.

How about the names "MicroadjustBackFront" and "MicroadjustStrength" for these tags?

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

JohnMoyer

Quote from: Phil Harvey on February 02, 2024, 09:23:05 AMHi John,

Thanks!

There are probably lots of new tags but I can't run the new DPP on my old system to decode them.

How about the names "MicroadjustBackFront" and "MicroadjustStrength" for these tags?

- Phil

Sounds good. If I get a chance, I might look for more. Or, maybe someone else will comment?

JohnMoyer

Quote from: Phil Harvey on February 02, 2024, 09:23:05 AMHi John,

Thanks!

There are probably lots of new tags but I can't run the new DPP on my old system to decode them.

How about the names "MicroadjustBackFront" and "MicroadjustStrength" for these tags?

- Phil

DPRAW Bokeh shift, positive is right and negative is left.
[CanonVRD:Image] CanonVRD_DR4_0x20b20           : 2

For DPRAW ghosting reduction one may select a rectangle. I do not know how to interpret this. First guess is x1,y1,w,h

190c190
< [CanonVRD:Image] CanonVRD_DR4_0x20b30           : ffffffffffffffff0000000000000000
---
> [CanonVRD:Image] CanonVRD_DR4_0x20b30           : d003000038040000b4020000f7010000


Phil Harvey

Hi John,

Great, thanks!  It would be good if you suggested names for these tags as well.  (maybe BokehShift? and GhostingReductionArea?)

The hex value in 0x20b30 translates to (-1,-1,0,0) in your first case, and (976,1080,692,503) in the second case.

- Phil

Edit: Also, could you send me a sample from the new DPP for testing?  My email is philharvey66 at gmail.com
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

JohnMoyer

Quote from: Phil Harvey on February 02, 2024, 02:10:32 PMHi John,

Great, thanks!  It would be good if you suggested names for these tags as well.  (maybe BokehShift? and GhostingReductionArea?)

The hex value in 0x20b30 translates to (-1,-1,0,0) in your first case, and (976,1080,692,503) in the second case.

- Phil

Edit: Also, could you send me a sample from the new DPP for testing?  My email is philharvey66 at gmail.com

https://www.rsok.com/~jrm/raw/out2/

Maybe DPRAWghostingreductionrect and DPRAWbokehShift ????

Phil Harvey

Great, thanks for the samples.  This is a new format code for me (a rectangle).  I'll add this.  There is another rectangle-format tag at 0x20b21, which I strongly suspect is the bokeh shift area.

If we add DPRAW to these tag names, then shouldn't we do this for the Microadjustment tags too?  But I think I'll stick to Area instead of Rect to be consistent with most other tags with similar purpose.  Also, looking a a poor-resolution DPP manual it seems it may be called "area" in the GUI.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

JohnMoyer

Thanks again for providing exiftool

I think that DPRAW prefix would be descriptive for that entire section.

This might be an easier to read manual page: https://cam.start.canon/en/S002/manual/html/UG-05_Synthetic_0070.html

"Synthetic" in the URL reminded me of synthetic aperture, but I have no idea whether that might be a true association.

Manual says: "Using RAW images from cameras set to Dual Pixel RAW, you can apply [Dual Pixel RAW Optimizer] to fine-tune sharpness or the viewpoint, or to reduce ghosting. For details and precautions on Dual Pixel RAW, refer to the instruction manual of cameras equipped with this feature."

Some other HTML Canon manuals may be found at: https://cam.start.canon/en/ , but some are PDF only and are never updated.

Another part of DPP that might have rectangles (I do not use this menu): https://cam.start.canon/en/S002/manual/html/UG-04_EditImage_0040.html

DPRAW processing in EOS R5 manual since DPP said look at camera manual is at: https://cam.start.canon/hy/C003/manual/html/UG-05_Playback_0200.html#Playback_0200_2




Phil Harvey

Thanks.  I was reading a man page just like that one... the text on the buttons in the screen images is very blurred.

There are a lot of settings that still need decoding.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

JohnMoyer

Quote from: Phil Harvey on February 03, 2024, 09:01:46 AMThanks.  I was reading a man page just like that one... the text on the buttons in the screen images is very blurred.

There are a lot of settings that still need decoding.

- Phil


I will look for more and make some screen shots.

JohnMoyer

Below is a diff between a recipe saved before doing any edits and one saved after using
Partial Adjustment Tool Palette. The file becomes larger.

I am unfamiliar with this tool, so some of this might be wrong. I hope someone who uses this tool more might comment. The URLs point to the manual for the Canon DPP program.
https://cam.start.canon/en/S002/manual/html/UG-04_EditImage_0040.html#EditImage_0110_1
https://cam.start.canon/en/S002/manual/html/UG-04_EditImage_0040.html#EditImage_0110_2
https://cam.start.canon/en/S002/manual/html/UG-04_EditImage_0040.html#EditImage_0110_3

Changes I made to out of camera image.
area 2, size 117, blur radius 68, reduce color moire strong, brightness 65.0
contrast 0.0, hue 0.0, saturation 139.0

2c2
< [File:Other]    FileName                        : IMG_8853a1.dr4
---
> [File:Other]    FileName                        : IMG_8853a12.dr4
4c4
< [File:Other]    FileSize                        : 9.1 kB
---
> [File:Other]    FileSize                        : 13 kB
9,11c9,11
< [File:Time]     FileModifyDate                  : 2024:02:03 08:27:08-06:00
< [File:Time]     FileAccessDate                  : 2024:02:03 08:27:08-06:00
< [File:Time]     FileInodeChangeDate             : 2024:02:03 08:27:08-06:00
---
> [File:Time]     FileModifyDate                  : 2024:02:03 09:47:02-06:00
> [File:Time]     FileAccessDate                  : 2024:02:03 09:47:02-06:00
> [File:Time]     FileInodeChangeDate             : 2024:02:03 09:47:02-06:00
19c19
< [CanonVRD:Image] CanonVRD_DR4Header_0x0007      : 101
---
> [CanonVRD:Image] CanonVRD_DR4Header_0x0007      : 100
25d24
< [CanonVRD:Image] CanonVRD_DR4_0x10100           : 0
150c149
< [CanonVRD:Image] CanonVRD_DR4_0x20802           : ......
---
> [CanonVRD:Image] CanonVRD_DR4_0x20802           : .........
224,225c223,224
< [CanonVRD:Image] CanonVRD_DR4_0xf0561           : 20000000ffffffff01000000000000000000000000000000fffffff[...]
< [CanonVRD:Image] CanonVRD_DR4_0xf0562           : 20000000ffffffff01000000000000000000000000000000fffffff[...]
---
> [CanonVRD:Image] CanonVRD_DR4_0xf0561           : 78060000ffffffff0100000002000000e0130000400d00000000000[...]
> [CanonVRD:Image] CanonVRD_DR4_0xf0562           : 28050000ffffffff0100000001000000e0130000400d00000000000[...]
229c228
< [CanonVRD:Image] CanonVRD_DR4_0xf0566           : 20000000ffffffff01000000000000000000000000000000fffffff[...]
---
> [CanonVRD:Image] CanonVRD_DR4_0xf0566           : dc040000ffffffff0100000003000000e0130000400d00000000000[...]

blue-j

Can you share both files so I can dig into the truncated values?  - J

JohnMoyer

Quote from: blue-j on April 21, 2024, 01:28:46 AMCan you share both files so I can dig into the truncated values?  - J
https://www.rsok.com/~jrm/raw/out3/ has one CR3 file and several dr4 files

https://www.rsok.com/~jrm/raw/out3/IMG_8853_DPP.txt lists what I changed in Canon DPP before saving recipe in dr4 file