An Image-based Approach for 3D Left Atrium Functional Measurements