Link to home
Start Free TrialLog in
Avatar of sanghai45
sanghai45

asked on

How does Brightness,Contrast, Hue, Saturation, actually work?

I have attached the file of image processing application for iphone. Each of the cases(Brightness , Hue , Saturation..etc) are calling some other functions can some one please explain to me  how they are doing the required process.  Which algorithm or how the brightness or hue or saturation actually changing in this following application. They are in the function viewDidLoad in the file ViewController.m.
I have included all the files including the header files. So all the functions it is calling are present in the given project folder.

Link to File:
http://www.4shared.com/file/UKhLlkZE/ImageProcess_3.html
pass : imageprocess
SOLUTION
Avatar of tbrent77
tbrent77
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sanghai45
sanghai45

ASKER

kindly use the software called "The Unarchiver" for extracting the file.
I asked two of my friends to test it on macs and it works.
password : imageprocess

link for The Unarchiver : http://www.apple.com/downloads/macosx/system_disk_utilities/theunarchiver.html
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Could you please look into the file viewcontroller.m and explain to me how exactly each of those are working... Like how the brightness is actually being changed... And so on..
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Dude we are gettting problem while applying brightness , hue, saturation etc... I mean to say if i took image nd applied brightness now if i want to change contrast and go on tab of contrast at the same time . My image gets refresh ie. Original image. Conclusion, I am not able to change brightness , contrast , hue at the same time on one image. If i changed brightness i  need to save it first then i need to upload the changed image then i can go for contrast etc...

ANother problem is when i upload the changed image or any image from library it gets stretched.


Can u  help us out with this two problems....Urgently please

Thanks
>>to change brightness , contrast , hue at the same time on one image
In the code you posted all these algorithms were in the different functions. It is not a trivial thing to combine all of them in one function. If you need to call three function one by one, you can modify that code - make new functions -almost the same as you have but without the refreshing. Add new button to that app and make the change under this button.
 
Can u edit it and give it please...the problem is we have project presentation tmrw and we need to do other documents stuff also . i know this is something i m givng my project work to u but it will be very helpful to us if u will do the needful ..if u cant then also its fine for your precious time u have helped us a lot...

THanks a lot ...


Sorry, if you wish you can ask a related question here or ask a freelancer. Unfortunately, I'm busy with my own projects and in the evening I have no power to get in into this project.
Its fine dude ...thanks ..for ur precious time