Immersive virtual police shooting training system using threshold segmentation and affine transformation in human-computer interaction