File Exchange

image thumbnail

ImageAdjuster

version 1.10.0.1 (56.9 KB) by Brett Shoelson
Launches an interactive app for modifying the parameters of IMADJUST.

42 Downloads

Updated 01 Sep 2016

View Version History

View License

Enhance your images! Create beautiful special effects!
IMADJUSTGUI launches an interactive, uicontrolled app 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.

R2014b Graphics Ready

Cite As

Brett Shoelson (2020). ImageAdjuster (https://www.mathworks.com/matlabcentral/fileexchange/955-imageadjuster), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (11)

bashir mohamed

Brett Shoelson

@curoi,
gobjects was added to MATLAB in R2013a. Upgrading will address the issue. Alternatively, in older versions you should be able to replace 'gobjects' with 'zeros'; I think it will work.
Brett

curoi

Not sure about anyone else but I get the following error when I try to run the .m file or the app:

Undefined function 'gobjects' for input arguments of type 'double'.

Error in ImageAdjuster (line 132)
histax = gobjects(6,1);

How do you fix this?

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

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?

Harry MacDowel

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

Mike Purvis

Very handy, mahalos

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

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.

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')

Aviv Hurvitz

Works as promised.

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: imageToolbar

Community Treasure Hunt

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

Start Hunting!