Overlay two datasets or indexed images
by Jochen Deibele
26 Feb 2010
(Updated 08 Dec 2010)
Overlay of two datasets: independent colormaps, datatip inspection and alterable after creation.
|
Watch this File
|
| File Information |
| Description |
If you want to show two 2D datasets as images above each other you might find this class useful.
You can define the range of values which should be shown. The overlay works with independent colormaps for both images. It can partly be hidden for values within a certain range. The datatip provides coordinates, the value of the pixel in the background and in the overlay dataset.
It's an object oriented approach, so the function call instantiates a Matlab class. The instance persists as long as you keep the reference and it is (interactively) modifiable via functions on the commandline / from m-files, so you can update one of the images, change the range, alpha-value ...
So it's supposed to be easy to use even though it's custimizable afterwards.
Try "help overlayImg" to get you started. |
| MATLAB release |
MATLAB 7.8 (R2009a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 25 Nov 2010 |
Enhancements:
+ support for different resolution on background and overlay
+ set custom axes |
| 26 Nov 2010 |
+Bugfix (x and y switched) |
| 08 Dec 2010 |
bugfix in datatip code plus some new helper functions |
|
Contact us at files@mathworks.com