Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, May 2, 2008 1:27:17 PM(UTC)

Troup62  
Troup62

Groups: Registered
Posts: 5


I'm looking for some suggestions. I have written an application based on RasterImagePro v15 in VS2005 using C#. I'm getting decent performance but when the image size increases I'm seeing significant tearing. I've been looking at the help files and am seeing some interestingly named methods but am unable to find any example code. Since there is a possibility it is my code and not to tool I'm searching for some ideas.

My test application is generating >30Hz 2048x2048 imagery. Does this seem like something the product should be able to handle?

Thanks in advance...
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, May 4, 2008 4:58:15 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,034

Was thanked: 2 time(s) in 2 post(s)

I'm afraid that I did not
fully understand your question. Can you please provide me with more information about what exactly are you trying to do?

Also, you mentioned that you are unable to find sample code for some methods. What the methods that you are referring to?
 
#3 Posted : Monday, May 5, 2008 1:12:51 PM(UTC)

Troup62  
Troup62

Groups: Registered
Posts: 5



I am developing software (VS2005 C#) that uses the
RasterImageViewer control to display images generated by a movie camera. The
data is arriving at a frame rate >30Hz and the image size varies (my current
configuration is 2048 columns by 2048 rows). I format/convert this data into an RGB array and use the control to as a display.


What I'm noticing is the camera image display via the
RasterImageViewer control appears to be showing signs of "image tearing".


My initial question is this product capable of real-time image display?


As for your question. What methods am I referring? I
currently instantiate a new RasterImage object and assign this to the
RasterImageViewer.Image property. I've taken advantage of the IntPtr parameter
which is part of the RasterImage constructor. When my software receives a
"image" from the camera I update this pointer and then call the
Invalidate() and Update() methods for the control. Given the feature “rich” capability of this control I was wondering if this is the best approach.


I hope I've been clearer.


Regards

 
#4 Posted : Tuesday, May 6, 2008 3:54:48 AM(UTC)

Adam Boulad  
Guest

Groups: Guests
Posts: 3,034

Was thanked: 2 time(s) in 2 post(s)


The
RasterImageViewer is not the appropriate control for receiving real time images
(or a live video stream). Our LEADTOOLS Multimedia SDK 15 contains objects that
can take the input from a streaming source and display, save or convert the stream to another format.


The
easiest way to use our Multimedia toolkit is to have DirectShow-compatible
video capture driver for the device. But even if you don't have such a driver,
you can still 'feed' RGB data to our multimedia toolkit, and probably still get better performance than our Raster Image Viewer control.




 
If
you don't already have it, I suggest that you download the free evaluation version of our Multimedia toolkit at this link:


http://www.leadtools.com/rd/v150/LEADTOOLSMultimedia.exe
 
#5 Posted : Tuesday, May 6, 2008 6:18:52 AM(UTC)

Troup62  
Troup62

Groups: Registered
Posts: 5


Thank you for the recommendation and link. I'll try the multimedia product.

Regards
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.072 seconds.