Histogram analysis of original and encrypted images

Display the histogram of a plaintext image, its suffled version, and encrypted version.

You are now following this Submission

This code can be used for displaying the histograms of a plaintext image, its shuffled version, and its encrypted version, for both grayscale and RGB images. The histogram's variance is also computed.
The image was encrypted using chaos based encryption techniques
Lazaros Moysis
Youtube channel
Realevant video
The SIPI database
The following papers can be used as references for chaos based encryption

Cite As

Lazaros Moysis (2026). Histogram analysis of original and encrypted images (https://uk.mathworks.com/matlabcentral/fileexchange/155582-histogram-analysis-of-original-and-encrypted-images), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.6

updated links

1.0.5

fixed a typo

1.0.4

fixed video links

1.0.3

new video links

1.0.2

typos fixed

1.0.1

corrected histograms

1.0.0