This project requires the development of a C language program in a DLL or EXE form under Microsoft Visual C++ 6.0 or later for adjusting histogram of an image (apply new shadow, midtone and highlight.) This is similar to Adobe Photoshop's Adjust Levels function. Given an 8 bit or 16 bit grayscale image in TIFF or RAW format, this function will take as input the new Shadow, Midtine, Hilight and a pointer to raw data image values and adjust the image accordingly to apply the new tone values. No viewer or other user interface function is needed. Here is an example:
... open the image file and retrieve image data
... put image data into a buffer called BUFF
AdjustHistogram(10,180, 200, &BUFF);
.. write the image image returned in BUFF back to disk with a new file name preserving the original image
void AdjustHistogram(int shadow, int midtone, int highlight, char *BUFF)
Input variables are shadow, midtone and hightlight values (between 0 and 255 for 8 bit grayscale images and between 0 and 65535 for 16 bit grayscale images) as well as a pointer to the raw image data memory. Once the function is finished, it will modify the values for each pixel in BUFF buffer and return.
10 freelancers are bidding on average $75 for this job
I am six year experienced in c++ programming. At university I made applications doing this stuff as a homework. It does not take much more time to do this project for me.