pattern matching in binary images, erode and dilate
finished note detector