I am currently doing a project on privacy preserving encryption using a k-means system and the Paillier encryption algorithm (homomorphic algorithm). I have to send an image of a skin disease to the server as an encrypted image.
To do this, k-means is applied on the encrypted image and the image is sent to the respective party with k-means already applied. The decryption happens on the party side.
However in the k-means algorithm itself, I have to compare an encrypted pixel value of the image to a normal number, and this is where I am getting stuck.