Abstract: Data security and privacy in image processing are of utmost concern. This paper presents an innovative architecture for integrating Homomorphic Encryption (HE) in Wireless Sensor Networks (WSNs), focusing on enhancing data security and privacy in image processing. Central to this architecture are sensor nodes equipped with Paillier Homomorphic Encryption capabilities, ensuring data confidentiality from the collection point. The network features intermediate aggregator nodes that perform homomorphic computations, such as summing or averaging, on encrypted data, maintaining its confidentiality. The central server, equipped with the private key, decrypts the aggregated data and is pivotal for complex data analyses, ensuring secrecy until the final stage. This architecture, characterized by the implementation of Homomorphic Encryption, allows for secure data encryption at the sensor nodes and its subsequent processing in an encrypted form. The design is bolstered by a robust mathematical framework, enhancing the system's security and effectiveness. This approach secures data within WSNs and harnesses the advanced capabilities of Homomorphic Encryption for data privacy and safety throughout the network's lifecycle