imoverlay

버전 1.3.0.0 (673 KB) 작성자: Matt Smith
Create a color overlay of two images. Allows transparency and thresholding.
다운로드 수: 5.6K
업데이트 날짜: 2015/4/22

라이선스 보기

IMOVERLAY allows you to easily display one image in color on top of another grayscale image. You can independently control the clim of each image, the colormap used for the top image, and the transparency. Resulting image can be displayed in a separate figure or in a supplied axis.
IMOVERLAY_TOOL is an interface to graphically overlay one image on top of another and manipulate colormap, thresholding, and transparency.
- Allows independent control of both images
- Workspace variables are selected via a dropdown menu
- Easily adjust colormap
- Adjustable transparency
- Load 3D or 4D datasets
- Export figure for saving
- Accelerator keys for quick selections
Examples:

% Overlay one image transparently onto another
imB = phantom(256); % Background image
imF = rgb2gray(imread('ngc6543a.jpg')); % Foreground image
[hf,hb] = imoverlay(imB,imF,[40,180],[0,0.6],'jet',0.6);
colormap('hot'); % figure colormap still applies


% Use the interface for flexibility
imoverlay_tool;

인용 양식

Matt Smith (2024). imoverlay (https://www.mathworks.com/matlabcentral/fileexchange/42904-imoverlay), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2014b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.3.0.0

01/02/2015 ensure compatibility with Matlab 2014b.
4/22/15 added fix if initial image is all zeros (thanks Isabel!)

1.2.0.0

1/2/15 - changed default colormap to parula just to follow Mathworks, changed button color for Macs so it'll display properly, updated compatibility for 2014b

1.1.0.0

03/30/2014 - Fixed bug reported by user Matt J (thanks!). When supplying an existing axes to put the image overlay, the user supplied colormap will be applied to the new figure.

1.0.0.0