Hello everyone, I have some questions on doing the convolution operation on encrypted data:
Suppose we have a ciphertext encrypting a (32x32) image with ring dimension N = 4096 and a convolutional filter with size (3x3) and all weights of the filter are 1.
- When I call cc->MakeCKKSPackedPlaintext with a 2-dimensional input, I get an error. How to do 2-dimensional packing with OpenFHE?
*First, we take the convolution between the filter and image for the 1st pixel, which can be done with multiplication followed by rotation and sum. Then, we write the corresponding value to the 1st pixel of the plaintext result. How to make this âwriting the result to the corresponding pixelâ operation homomorphically in the ciphertext format?
Thank you so much for your help!