Architecture-Aware Optimization Strategies in Real-time Image Processing