I have an app that needs to resize too many large scale images (up to 4000 * 4000). I do not want to use Java graphics because it works on the CPU. Is there a way to demonstrate resize on the GPU? DirectX9 :: StretchRect Stretch I get size and rendering in the same step.
Problems with scaling that makes it (sometimes) not compatible with similarity (scanning This is the reason why people use the GP during this time) Interpolation is required. More specifically, the color values surrounding the pixels connect the average pixels of the new pixel (when it is expanding) or to add the surrounding pixels to a color value that you try And represent multiple pixels (when shrinking).
For this, you need to know all the values of a given pixel, which means that all the rows above / below / left / right are ready-to-read Are there.
I believe that you can scaling the image on the GPU, I do not think you will get high-quality scaling which is super-parallel, in which case it is possible to do this on a CPU What do you want here
If there are some unique aspects of image scaling that you are doing, where it can be , be severely parallel and each row or set of rows will give them the image data Without a formula can be done, yes yes the GPU will be a great thing to push.
Comments
Post a Comment