Hash Fellow robcat2075 Posted June 9 Hash Fellow Posted June 9 The CS50 download code for "Filter" uses a library for "getopt()" which seems to exist in their linux environment but not in windows. At first blush, this windows replacement seems to work. https://github.com/kubo/ya_getopt Quote
Hash Fellow robcat2075 Posted 2 hours ago Author Hash Fellow Posted 2 hours ago Some results from recent C++ exercise regarding file data manipulation. Using this image as input: Here "edge detection" has been done. Every pixel in the original was tested to see if its red, green, or blue values were different from its neighboring pixels beyond a certain threshold. If so, a white pixel was plotted in the new image. If not, a black pixel is plotted. Here the image has been rotated. Every pixel in the output image is populated by the values of a pixel that is x degrees from it, around a center point. If that x degree rotation is looking at a position that is off the original frame, a black pixel is plotted. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.