IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i6p908-d1360180.html
   My bibliography  Save this article

Statistical Analysis of the Negative–Positive Transformation in Image Encryption

Author

Listed:
  • Manuel Alejandro Cardona-López

    (Centro de Investigación en Computación, Instituto Politécnico Nacional, Mexico City 07738, Mexico)

  • Juan Carlos Chimal-Eguía

    (Centro de Investigación en Computación, Instituto Politécnico Nacional, Mexico City 07738, Mexico)

  • Víctor Manuel Silva-García

    (Centro de Innovación y Desarrollo Tecnológico en Cómputo, Instituto Politécnico Nacional, Mexico City 07738, Mexico)

  • Rolando Flores-Carapia

    (Centro de Innovación y Desarrollo Tecnológico en Cómputo, Instituto Politécnico Nacional, Mexico City 07738, Mexico)

Abstract

The negative–positive transformation (NPT) is a widely employed technique for encrypting images on pixel blocks, commonly integrated into cryptosystems compatible with compression algorithms. The existing literature on NPT analysis can be categorized into two types: theoretical analyses with results that apply to any image, primarily focused on compression compatibility, and numerical analyses that report empirical results from specific images, some without explaining the causes of the security results, while others are only related to the compression performance. Consequently, there is a significant gap in understanding the implications of applying the NPT for data protection. For that reason, this paper conducts a theoretical statistical analysis, presenting, demonstrating, and verifying six theorems to understand the security contributions of NPT. Two theorems examine the shape of the image histogram and the scatter plot of adjacent pixels after the NPT application. The subsequent four theorems explore the influence of NPT on the mean, variance, covariance, and correlation within each pixel block. The findings indicate that the NPT generates images with symmetrical histograms, the correlation of pixel blocks remains invariant, and distinct vertical and horizontal reflections manifest on the scatter plot. These theorems are verified by encrypting the Lena image with four pixel-block sizes. The histogram symmetry passed the goodness-of-fit test at a significance level of 5%, revealing consistent results. The correlation of pixel blocks remained unchanged, and the scatter plot exhibited an x-shaped pattern. Therefore, as the NPT alone does not achieve desirable encryption results, such as uniform histograms, scatter plots, and decreasing correlation, cryptosystems should complement it with additional techniques.

Suggested Citation

  • Manuel Alejandro Cardona-López & Juan Carlos Chimal-Eguía & Víctor Manuel Silva-García & Rolando Flores-Carapia, 2024. "Statistical Analysis of the Negative–Positive Transformation in Image Encryption," Mathematics, MDPI, vol. 12(6), pages 1-23, March.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:6:p:908-:d:1360180
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/6/908/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/6/908/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Ernesto Moya-Albor & Andrés Romero-Arellano & Jorge Brieva & Sandra L. Gomez-Coronel, 2023. "Color Image Encryption Algorithm Based on a Chaotic Model Using the Modular Discrete Derivative and Langton’s Ant," Mathematics, MDPI, vol. 11(10), pages 1-35, May.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:12:y:2024:i:6:p:908-:d:1360180. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.