Comparing Automated Image-Based Crack Detection Techniques in the Spatial and Frequency Domains