I am using the design below for a capacitance meter project:

simulate this circuit – Schematic created using CircuitLab
The charge/discharge waveform is relatively stable, so I feel that there's a fairly simple way to calculate capacitance based on measured Vmin, Vmax, ∆t, and resistors R1 and/or R2. What's the approach to calculating capacitance based on graph data?
