INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Image scaling  (Read 2132 times)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Image scaling
« on: December 04, 2011, 11:04:02 pm »

A while back, somebody (maybe SamuriHL) asked for more control over image scaling in Media Center.

I meant to respond at the time, but didn't.

The image engine in Media Center has a variety of image resizing methods depending on the quality / performance required.

In high-quality mode, image stretching is done with bilinear resampling and image shrinking is done with supersampling.

My understanding is that supersampling is superior to Lanczos, Bicubic, etc. for extreme shrinks since it doesn't skip source pixels when building a destination pixel.  The trade-off is that it can be slower.

The image engine is used for all 2d graphics in the program -- all of Standard View, texture creation in Theater View, subtitles, etc.

When viewing actual images (like JPEG files) in Media Center, a combination of the GPU and CPU is used.  When moving, zooming, etc. the GPU is used to resize and display the image.  When the image stops moving, a high-quality pixel-perfect overlay fades in over the top rendered by the JRiver algorithms listed above.
Logged
Matt Ashland, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Image scaling
« Reply #1 on: December 04, 2011, 11:12:02 pm »

Perhaps it was TheLion here?

http://yabb.jriver.com/interact/index.php?topic=66587.0  (search "scaling").
Logged
The opinions I express represent my own folly.

TheLion

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 437
Re: Image scaling
« Reply #2 on: December 05, 2011, 12:33:53 pm »

Yes indeed, it was me.

It would be nice to get a choice - eg. opt for Lanczos (3/4) instead of "supersampling".

I am not familiar with the term supersampling in that context. Supersampling generally means doing an upscale, processing within that increased resolution, and than downscale to output resolution.

In my case I have 22MP files from my Canon 5d Mark II. I need my viewer to do the best possible downsampling to 1080p (for viewing with front projection) and be color managed. Editing is done in Lightroom - MC with its database features would be a nice platform to do the viewing.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: Image scaling
« Reply #3 on: December 05, 2011, 12:44:07 pm »

I think the naming is a little squishy.  Here's Intel describing Supersampling.

And here you can see them say "popular algorithms from the simplest – nearest neighbor, bilinear – to the more sophisticated – supersampling (the best image quality for reducing image size without any artifacts), different cubic filters, and so-called Lanczos3 filter".

We don't use Intel IPP for image sizing, but what they describe is quite similar to our approach.

Please feel free to compare the sizing to Photoshop or any other program.  In my experience, JRiver compares favorably.  But if you find cases you think could be improved, please post details.

Thanks.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up