Scrambling image (hb_imageScramble.m)
Version 1.0.0 (1.88 KB) by
HioBeen Han
This matlab function scrambles the input image matrix with N by N mosaics.
MATLAB IMAGE SCRAMBLE (IMAGE SCRAMBLING) function
This matlab function scrambles the input image matrix with N by N mosaics.
function [resultImage] = hb_imageScramble(inputImage, nSection, showOption)
Example
>> img = imread('football.jpg'); % Load any image
>> showOption = true;
>> img_scrambled = hb_imageScramble( img, 5, showOption ); % 5 by 5 scrambling
Cite As
Hio-Been Han (2019). Scrambling image (hb_imageScramble.m) (https://www.mathworks.com/matlabcentral/fileexchange/<...>), MATLAB Central File Exchange. Retrieved March 6, 2019.
MATLAB Release Compatibility
Created with
R2018b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Morphological Operations >
Find more on Morphological Operations in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |