add image process(pryamid and threshold)