implement hysterese sensitive highres algorithm in ivCamera