Image processing techniques for gas morphology studies in the coma of comet Halley