in reply to Re: Creating X BitMap (XBM) images with directional gradients
in thread Creating X BitMap (XBM) images with directional gradients
That in turn reminds me that the last Big Push™ I did for PDL::Graphics::Simple was the simple (ha!) task of making it handle contours. That featured moving the contour_segments operation out of TriD into ImageND, then rewriting it from 100 lines down to 19 so I could understand it (it's pretty much Marching Squares), then (because the line-segments are generated in a single pass) saving the amount of data passed to Gnuplot (etc) by joining them up into polylines with a path_join operation. Then writing my own contour_polylines algorithm because all the published ones were for computer vision stuff, not making polylines.
I can only imagine how much harder that would have been without the facilities from array programming. Would your spatial thingummy benefit from being a PDL thingummy?
|
---|