Measure to the ‘crown’ or peak/centre of the fret wire itself, and the high e saddle (wound most of the way forward) at the bridge end. From your images it looks like the measurements will be pretty close.