Heights of fences, hedges, and other continuous foliage shall be measured from the adjacent top of the street curb, surface of an alley, or the official established grade thereof, whichever is the highest. On inside lot lines the measurement shall be from the average grade thereof, whichever is the higher. On inside lot lines the measurement shall be from the average grade of the lot line of the parcel or property having the lower elevation.