c
int temp = atoi(optarg);
horizSubSampling = (temp > 0) ? temp : 1;  // Default to 1 if invalid or zero
