| lab_debug
    Disastrous Debugging | 
Implementation of the sketchify function. More...
| Functions | |
| PNG * | setupOutput (unsigned w, unsigned h) | 
| Creates a new output image.  More... | |
| HSLAPixel * | myFavoriteColor () | 
| Used to customize the color of the sketchified image.  More... | |
| void | sketchify (std::string inputFile, std::string outputFile) | 
| Reads in an image, runs a simple "sketchify" algorithm on it to highlight edges in the image, and then writes the resulting image back out to a specified file.  More... | |
Implementation of the sketchify function.
| HSLAPixel* myFavoriteColor | ( | ) | 
Used to customize the color of the sketchified image.
| PNG* setupOutput | ( | unsigned | w, | 
| unsigned | h | ||
| ) | 
Creates a new output image.
| w | width of the image | 
| h | height of the image | 
| void sketchify | ( | std::string | inputFile, | 
| std::string | outputFile | ||
| ) | 
Reads in an image, runs a simple "sketchify" algorithm on it to highlight edges in the image, and then writes the resulting image back out to a specified file.
| inputFile | the name of the PNG file to sketchify | 
| outputFile | the name of the file where the output will be written |