Fuzzy Reasoning for the Design of CNN-based Image Processing Systems