Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
×

# Open source adobe lightroom like

370 views

Published on

Final yeah presentation for honours project, oblige to put it throught 8 slides, no more

Published in: Education
• Full Name
Comment goes here.

Are you sure you want to Yes No
Your message goes here
• Be the first to comment

• Be the first to like this

### Open source adobe lightroom like

1. 1. Open SourceAdobeLightroom likePierre-Loic Chevillot
2. 2. Requirements Richfeatured Graphical User Interface Adjustment Tools  Brightness and Contrast  Saturation Histogram Threads
3. 3. Graphical User Interface
4. 4. Adjustment Library Create as a Dynamic Link Library  Modularity  Functions called on demand Adjustment tools  Brightness  Contrast  Saturation
5. 5. Brightness and Contrastfloat v = 0;  Modification made byv = (float)(cValue + 100) /100f; the class Color matrixfloat m = 0.5f * (1.0f - v) +  Avoid to open the(float)bValue / 100f; image pixel per pixel tocm = new ColorMatrix(new apply the modificationfloat[][]{ new float[]{v,0,0,0,0},  Contrast value are new float[]{0,v,0,0,0}, multiply to color new float[]{0,0,v,0,0}, component new float[]{0,0,0,1,0},  Brightness value is add new float[]{m,m,m,0,1} to the component});
6. 6. Saturationfloat red = (float) 0.3086;float green = (float) 0.6094;  Increase the intensityfloat blue = (float) 0.0820; of colorfloat sat = (float) (satValue +  Color component is weight100) / 100f ;float redSaturation = (1 - sat) * Weight of thered + sat;float redSaturationComp = (1 - sat) * red;float greenSaturation = (1 - sat) * componentgreen + sat; depends of the luminancefloat greenSaturationComp = (1 -sat) * green;float blueSaturation = (1 - sat) *blue + sat;  Values given byfloat blueSaturationComp = (1 -sat) * blue; Adobe
7. 7. Threads Parallel execution 3 threads  Main application  Histogram calculation  Paint Handler Mutual exclusion  Semaphore Delegate function  Function pointer  Permit access to GUI from a thread
8. 8. Conclusion