cbimage - checkerboard superposition of two images
checkerboard image, superimpose two images (grayscale/RGB) with a chess pattern
Syntax:
imFinal = cbimage(im1, im2);
imFinal = cbimage(im1, im2, 20); % 20 subdivisions
imFinal = cbimage(im1, im2, [], 10); % lower-intensity pattern got -10 % of max-min
Inputs:
im1: grayscale or RGB image of any size (NxNx1 or NxNx3)
im2: second grayscale or RGB image with the size of im1
nSub: number of subdivisions (1x1 for x==y-direction or 1x2 for [x-, y-direction])
{default: [12, 12]} (optional)
subInt: relative subtracted intensity in percent of max-min
{default: 10% of max-min} (optional)
Outputs:
imFinal: Superimposed image with the same class and same size as the input images
Cite As
Daniel (2024). cbimage - checkerboard superposition of two images (https://www.mathworks.com/matlabcentral/fileexchange/34472-cbimage-checkerboard-superposition-of-two-images), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Gaming > Just for fun >
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Image Arithmetic >
Tags
Acknowledgements
Inspired: register_H
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.0 |