PTAM mod to read images