- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have used IPP resize methods to for scaling the 16-bit medical images and displaying the images in the MFC window. Finally i am scaling down this 16-bit interpolated raster into 8-bit and display in window using bitblt method.
If i have a stack of images and when i tried scroll the images very fast on 3 MP monitor i felt like there is a flickiering effect.
Is it due to IPP methods?
What is the ideal way to avoind flickering effect in this case?
Do you think the problem is due to the refreshing rate of the monitors. If so please suggest us how handle this flickering problem in such moniters.
If i have a stack of images and when i tried scroll the images very fast on 3 MP monitor i felt like there is a flickiering effect.
Is it due to IPP methods?
What is the ideal way to avoind flickering effect in this case?
Do you think the problem is due to the refreshing rate of the monitors. If so please suggest us how handle this flickering problem in such moniters.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The only way to avoid tearing and flicker is to change the display contents only during VSYNC interval. This is most easily accomplished by using DirectX or OpenGL API for image display and enabling VSYNC.
I cannot help you with DirectX since I am not using that, but for OpenGL this involves (in addition to standard OpenGL setup code) checking for presence of wglSwapIntervalEXT() function and calling it -- wglSwapIntervalEXT(1).
You can use GLUT for quick start with OpenGL, or you can write your own code but be warned that the former is not a trivial task.
Finally, I am not sure if it is possible to avoid tearing and flickering using standard Win32 API.
I cannot help you with DirectX since I am not using that, but for OpenGL this involves (in addition to standard OpenGL setup code) checking for presence of wglSwapIntervalEXT() function and calling it -- wglSwapIntervalEXT(1).
You can use GLUT for quick start with OpenGL, or you can write your own code but be warned that the former is not a trivial task.
Finally, I am not sure if it is possible to avoid tearing and flickering using standard Win32 API.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page