Takes the target image name as the first command line argument; speed optimization done with pointInTriangle method