Added setTargetHasMean() to ImagePatchUtils.