Open main menu

CDOT Wiki β

Changes

Three-Star

11 bytes removed, 22:09, 7 April 2018
Image Profiling
(main/image.h/image.cpp)
Slightly modified mainpulled PGM sample files from here: https://userpages.cpp to accomodate larger umbc.edu/~rostamia/2003-09-math625/images.html
Had to expand a PGM image (to file sizes being 512x512, about 1~MB size) to return any meaningful result (Using a regular sized PGM image of 11KB yielded no meaningful results)262 KB each file
Rotated and negated the image.
>g++ -g -O2 -pg -o main main.cpp
 
>main a.pgm result.pgm
[Enlarged image by max permitted by program (5) to get more viewable results]
[[File:Imageprofilesteps.png]]
122
edits