Quantitative image analysis for single molecule localization microscopy