Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Zooming out image is very slow - multithreading ??

Zooming out image is very slow - multithreading ??

Scheduled Pinned Locked Moved C#
comperformancehelpquestion
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    abcxyz82
    wrote on last edited by
    #1

    I am writing ImageViewer application which is suppose to display high resolution images with zoomIn, ZoomOut. If I use Bicubic interpolation mode, I get high qulaity image covering most of details but speed is unaccepatable. I looked at Netvue viewer(http://www.accusoft.com product). It displays blur image initially, smoothes it slowly and finally sharpen it, All phases are clearly visible. While my application applies scaling and hangs for a while(1.75-2Second) and displays image instanteniously. Though i know Geometric transformations, I am novice to image processing and Siganl processing which most of articles talk about(Kernels, Gaussianl filter, box filter, mitchell filter etc...) Any help on Progressive rendering and what filters would be useful would be appreciated. Thanks

    Regards, MaulikCE

    L 1 Reply Last reply
    0
    • A abcxyz82

      I am writing ImageViewer application which is suppose to display high resolution images with zoomIn, ZoomOut. If I use Bicubic interpolation mode, I get high qulaity image covering most of details but speed is unaccepatable. I looked at Netvue viewer(http://www.accusoft.com product). It displays blur image initially, smoothes it slowly and finally sharpen it, All phases are clearly visible. While my application applies scaling and hangs for a while(1.75-2Second) and displays image instanteniously. Though i know Geometric transformations, I am novice to image processing and Siganl processing which most of articles talk about(Kernels, Gaussianl filter, box filter, mitchell filter etc...) Any help on Progressive rendering and what filters would be useful would be appreciated. Thanks

      Regards, MaulikCE

      L Offline
      L Offline
      lmoelleb
      wrote on last edited by
      #2

      Display the image without using any interpolation - this should be fairly fast. Start a background thread rendering the image to an in memory bitmap in the intended target size using interpolation. When it completes, render this menory bitmap to the screen instead of the "non-interpolated" image.

      A 1 Reply Last reply
      0
      • L lmoelleb

        Display the image without using any interpolation - this should be fairly fast. Start a background thread rendering the image to an in memory bitmap in the intended target size using interpolation. When it completes, render this menory bitmap to the screen instead of the "non-interpolated" image.

        A Offline
        A Offline
        abcxyz82
        wrote on last edited by
        #3

        It means image just changes twice, instantaneously.I would like to show image changing process.

        Regards, MaulikCE

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups