DCamProf: IT8.7 target layout.json ?

I use a reflective IT8.7 target to make my own camera inout profile with DCamProf. To reduce glare, dcamprof make-profile provides a -g option:

-g <target-layout.json> provide target layout for glare matching and/or
     flatfield correction

The DCamProf package includes such layouts for some XRite targets, but I could not find such a file for IT8.7 anywhere. The final row with the gray tones is not regular, so I don’t exactly know how to define all the needed properties. Example for X-Rite ColorChecker Classic:

{
   "RowCount": 4,
   "ColCount": 6,
   "RelativeRowHeight": 1.0,
   "RelativeColWidth": 1.0,
   "HasColOffset": false,

   "WhitePatches": [ "D01" ],
   "BlackPatches": [ "D06" ],
   "MiddleGrayPatches": [ "D04" ]
}

Probably someone has already created such a file in the past. Thank you! Or there is a way to transform a .cht to a DCamProf layout.json

Interested to see if you’ve found any answer to this — not sure I’m able to find a dcamprof layout file for the colorchecker passport photo 2 :confused:

Passport Photo 2 uses the “standard” 24-patch ColorChecker if you just shoot the main target.

I think dcamprof has a target definition that can be used if you shoot two panels simultaneously (I forget the name of the other panel, will look that up when I get home from vacation), but for just the “main” target, you want to use the standard ColorChecker 24-patch target definition - they are all the same patches and relative dimensions, just scaled in size depending on model.

Hi @Entropy512 ,

I think X-Rite calls it the “enhancements” panel.

yes, indeed, aware of that.

that would be lovely, but there are not tons of .json files in the data-examples directory of dcamprof and I don’t think one of them addresses the both pages.
What confuses me the most, in those layout .json files, is the description of panels as matrices (rows and columns) — the Colorchecker Passport Photo first page is:

  • one column of 8 rows,
  • then two columns of 5 rows, with bigger patches,
  • ended with a fourth column of eight rows, similar to the first column.

→ is the layout supposed to take that into account? (does it even matter?) or is it enough to just add patch names to the White, Middle Gray and Black arrays to facilitate glare correction?