Re: image upscaling



Charles E Hardwidge wrote:
"Vladimir Jovic" <vladaspams@xxxxxxxxx> wrote in message
news:h6b167$qoq$1@xxxxxxxxxxxxxxxxxxxxx

I am working on a project where a device samples a 2d data (97 lines,
150-650 points in a line), and I should display this in a 900x700 pixels
window. This device spits out 10-30 frames per second, and is not possible
to get a higher resolution.
I am using bilinear interpolation, and the image gets a bit blurred. There
are techniques to improve edges (like for example bicubical
interpolation), but they requires complex shaders.

http://www.imagemagick.org/Usage/resize/

I haven't seen this, although I am using magick++ library to create jpg images

http://en.wikipedia.org/wiki/Pixel_art_scaling_algorithms

I have seen this, but it is only when you zoom in 2, 3 or 4 times, that is, integer times zoom in.

http://mierendo.com/software/3d_filter_blurring/


This is a good trick (something I have been looking for), but rendering to a texture is slow operation. Correct?

You could evaluate the hanning filter or pixel art scalers. A negative
Gaussian or median filter might de-blur the image and can (I think) be done
without shaders.

Any king of 2d filtering would require a complex shader, because they (2d filters) require at least all 8 surrounding value, and that is at least 8 texture reads.
.



Relevant Pages

  • Re: Movie Rendering in Direct3D
    ... still, read up on filters, and managing filter graphs. ... >> InitGeometry, and Render. ... >> gets a pointer to the base filter from the texture renderer filter, ... >> adds the source filter to the graph ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Movie Rendering in Direct3D
    ... > InitGeometry, and Render. ... > gets a pointer to the base filter from the texture renderer filter, ... > adds the source filter to the graph ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Please help with restoration project
    ... >> texture of the face, which at 16x20 will look very rough. ... > overlap very much - then reduce opacity of the layer. ... > filter too - but I suspect you've tried it. ... Thank you, Flo. ...
    (alt.graphics.photoshop)
  • Re: Sprite.Draw draws differently on different computers
    ... anti-aliases, regardless of the texture. ... > I see this looks like a problem with rescaling of the sprite. ... the filter flags passed to the texture loading ... >> be drawn fine except on a handful of computers. ...
    (microsoft.public.win32.programmer.directx.managed)
  • About implementing 2D Sprites
    ... This interface works with textures created by the ... have power of two dimensions. ... Using the D3DX_FILTER_NONE parameter to filter ... texture in 2D screen space, but as no filter is effectively applied, scaling ...
    (microsoft.public.win32.programmer.directx.graphics)

Loading