I have a problem in my application, it needs a heavy memory optimization, but for now i have to deliver a test version of the application, i need something like “ramrush” as api can called from my application without any executables, Ramrush is solving my problem magically now, but i can’t deliver it with my app.
Share
To solve the OP’s immediate needs (even if it’s a bit late today)
There are two levels of memory optimization in image processing code.
One example:
In this example, the
RgbToGrayperforms an image processing on-demand, without requiring its own permanent memory usage, but instead relies on a temporary buffer. For this implementation to work, the caller must callGetPixelswith a particular “buffer granularity” which must be smaller than the full image size, in order to achieve the memory-saving effect.(The particular framework I have in mind is Windows Imaging Component, but similar ideas can be found in many other frameworks such as OpenCV’s
MatExprtemplate.)Apparently, not all frameworks allow such optimization.