A judge dismissed an unlawful surveillance charge against a Rockville Centre Village police officer on Wednesday after he turned over evidence that the woman who lodged the complaint was aware that he videotaped their sexual encounter, the officer's attorney said.