Code covered by the BSD License  

Highlights from
ImadjustGUI

4.75

4.8 | 4 ratings Rate this file 61 Downloads (last 30 days) File Size: 224 KB File ID: #955
image thumbnail

ImadjustGUI

by

 

18 Oct 2001 (Updated )

Launches an interactive GUI for modifying the parameters of IMADJUST.

| Watch this File

File Information
Description

Enhance your images! Create beautiful special effects!

IMADJUSTGUI launches an interactive, uicontrolled figure for use with the Image Processing Toolbox function IMADJUST.

Interactively modify an image using sliders to modify the pixel mappings, either en masse, or (for RGB images)plane-by-plane.

See HELP IMADJUST for details.

Allows exporting of the modified image, and generates a function handle with which to recreate the modifications.

Required Products Image Processing Toolbox
MATLAB release MATLAB 8.0 (R2012b)
Other requirements Requires MATLAB R2009b or later, since I use the tilde to ignore some outputs. With a slight code modification, this will work with older versions.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (8)
20 Jun 2014 Brett Shoelson

@Nikita:
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?)
Thanks,
Brett

19 Jun 2014 Nikita

Hi there,

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?

05 Apr 2014 Harry MacDowel

Bravos! This saves my life! Love the user-friendly output as well!!!

09 Dec 2013 Mike Purvis

Very handy, mahalos

13 Jun 2013 Brett Shoelson

@Nathan,
There's a radio button that says "Process planes individually." If you select that, it enables plane-by-plane adjustment. Is that not what you're looking for?
Brett

12 Jun 2013 Nathan Orloff

I really like this. I wish you made it do imadjust on all 3 channels separately. That way you could tweak the color of an image pretty easily. Let me know if you can add this.

14 Jan 2013 Jurgen

For use on 2008a I modified ImadjustGUI.m:
- Replaced (non-logical) tildes with variable 'dummy'.
- Added to line 76:
set(adjfig,'HandleVisibility','on')
- Added to line 86:
set(adjfig,'HandleVisibility','callback')

14 May 2008 Aviv Hurvitz

Works as promised.

Updates
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.

Contact us