Make image of weighted point set set based on corners and gradient magnitude