Modify cpselect images from its handle... linking \ listener error?
2 views (last 30 days)
Show older comments
I'm trying to modify one of the images in cpselect in the following manner:
im1 = imread('ngc6543a.jpg');
im2 = imread('ngc6543a.jpg');
im3 = imread('ngc6543a.jpg');
im3(100:200,100:200) = 0;
hFig = cpselect(im1,im2);
hax = findobj(hFig,'Type','axes');
set(findobj(hax(1),'Type','image'), 'CData', im3);
This results in an error... any ideas?
0 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!