detect line thickness bands