Modified Pearson Correlation Coefficient for Two-color Imaging in Spherocylindrical Cells