Creation of Mach Bands image

A simple code to create and image with the Mach Bands.
254 Downloads
Updated 13 Jun 2015

View License

In this code I offer an implementation of the Band Mach image in black, white and gray levels. It will allow you to experiment this particular visual effect. Besides, for those who are introducint in the field of image processing with MATLAB, the function shows the differences between 'imshow' and 'imagesc' and the differences between UINT8 format and DOUBLE format. The function itself save the image in disk with PNG format and a depth of 16 bits per pixel.
The code is properly commented in English.
Any suggestion is welcomed!!!

Thanks,
Jesús Monge.

Cite As

Jesús Monge-Álvarez (2024). Creation of Mach Bands image (https://www.mathworks.com/matlabcentral/fileexchange/51150-creation-of-mach-bands-image), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Geometric Transformation and Image Registration in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Mach_bands/

Version Published Release Notes
1.0.0.0

:)