allows pattern scan to read image regions