Add stride-aware image profiling (#149)