c# - transforming an image into an array of lines to draw -
how generate list of lines draw if have pixel data image, don't have draw every pixel? language do, although listed have working knowledge for. c ok well. there limit how many tags choose. also, can point me toward algorithm.
you looking "raster vector" algorithm. term comes graphics display systems, used crt (cathode ray tube) display itself. there 2 approaches displaying graphics: "raster" scan of series of lines left right, top bottom, each line made of on/off pixels. controller of crt's electron gun scanned same pattern on , over, varying intensity of electron beam. on "vector" display, electron gun draw straight line between 2 points - no aliasing, no pixelation, pure straight line. vector displays capable of higher resolution, limited number of lines draw - if drawing had many lines, display begin flicker time take redraw picture (to refresh phosphors of crt) take longer persistence of crt's phosphor surface. raster displays simpler control, had less flicker, lower resolution.
Comments
Post a Comment