The measurements are taken from on top of the roof. Simply mark a level at 12", hold it perfectly level and measure from the roof surface to your 12" mark, this will give you the rise. Be careful with this method as a roof with many layers of shingles, or any type of roofing that is irregular can give you less than precise results.
See Diagram below for more information: