11.2. Performing Desktop SimulationIf we compile this application for desktop simulation (along with an appropriate software test bench), we can observe the results of the edge detect operation on a sample 800-by-800 pixel image, as shown in Figures 11-3 and 11-4. Figure 11-3. Image prior to edge-detection filtering.Note that the software test bench created for this application makes use of standard C library functions to read and write sample image data from a Windows bitmap-format (.BMP) image file. Each pixel in the sample image is transmitted by the software test bench to the edge-detection process using a stream. The resulting convoluted pixels are then output to a second file, which appears as shown in Figure 11-4. |