bsp tree demo
bsp tree demo Below is an applet to visualize the process of constructing a binary space partition tree (BSP tree for short), as well as a demonstration of real-time CPU rendering of a scene. (source code can be found here.)
bsp tree demo Below is an applet to visualize the process of constructing a binary space partition tree (BSP tree for short), as well as a demonstration of real-time CPU rendering of a scene. (source code can be found here.)
overview My program takes an input image, which is typically a digital image represented as a rectangular grid of pixels. Each pixel contains RGB values which I store into an array to perform basic filter operations on. Once a filter operation is applied to the pixels in the image, the modified image is stored as a separate specified output image. supported features Currently, I support the following filter operations… canny-edge-detect double-threshold gaussian-blur greyscale hysteresis invert mean-blur non-max purplescale sharpening sobel solarization threshold threshold-low threshold-high The first option, canny-edge-detect actually chains greyscale, gaussian-blur, sobel, non-max, double-threshold, and hysteresis together....