I am not able to reproduce that behavior (though I am seeing other unexpected, unwelcome behavior when I call the UI from another UI). Honestly, I never tried calling it from another GUI, and I'm not sure what is going on. Can you tell me what version of MATLAB you're using, and what OS? How are you calling it from your GUI? (Can you show a code snippet?)
Hi I tried to call this GUI from another GUI, but when it opens up, the image flashes for a second and then disappears, I also see an error with something like Error using handle.handle/set
Invalid or deleted object.
Any idea what I'm doing wrong?
For use on 2008a I modified ImadjustGUI.m:
- Replaced (non-logical) tildes with variable 'dummy'.
- Added to line 76:
- Added to line 86:
14 May 2008
Works as promised.
05 Sep 2012
This is a complete re-write of my old INTENSITYADJUST file. This is a much better implementation, and now allows independent modification of RGB planes.
12 Sep 2012
Updated to include an App file for R2012b.
27 Feb 2013
Many improvements, including: better loading of new images (from file or workspace); addition of an auto-adjust button; incorporation of improved ExpandAxes (which now allows for right-click exporting of images); better support for App version.
18 Mar 2013
Now allows loading an image from file or from workspace variables. Also, I added "Auto-Adjust" button to add stretchlim-based starting point.
08 Jul 2013
Fixed a bug that disallowed working with grayscale images.