Might be a bit difficult with ring gaps being what they might be, for an installed piston at TDC.
Usually, the piston mfg will state the cc amount of any dishes or valve clearance cuts in their specs. Then the deck height will be entered into the equation to result in "compression ratio".
I have not.
In case you are trying to build with them, the proper method is the .100 down fill volume method.
You can mathmatically figure your bore x .100. ( pi x 1/2 bore squared x .100)
Then mock up the piston .100 in the hole, seal the edges with grease and use a liquid filled burette to take an actual volume measurement.
Comparing the two will give you the volume of the valve notches (or the positive volume if they are hi comp pop-ups).