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
引用格式
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. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Gaming > Just for fun >
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Image Arithmetic >
标签
致谢
启发作品: register_H
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |