PDA

View Full Version : speeding up ICimaging control



WK Ho
October 7, 2008, 05:44:14
Hi
After we add in the IC imaging control to our motion system we discovered the whole system was slowed. In your doc, you suggested In order to reduce the internal overhead to a minimum, you have to:

1-Switch off the display: this will remove the display path completely from the image stream.
2-Prevent automatic color space conversion: by specifying the same video format for the device and the sink.
3-Switching off all overlays.
4-Do not use the ring buffer: by inserting one frame filter in the sink path that will implement the image processing or interface a third party image processing library instead of sending frames to the sink.
5-Do not insert additional frame filters in the device path or in the sink path.

Point 1 is rather difficult as the operator need to see the result on screen, how to reduce this to only display the result frame ?
Point 2 has been done
Point 3 - we need to draw on the iamge, however, we can turn off temporily during production run.
Point 4 - Can you help explain how to do?

Stefan Geissler
October 7, 2008, 08:39:46
Hi

I am very sorry, but the point 4 makes no sense, if image processing is needed. You must use the ring buffer.

The displaying of the live video was slow on early computers like single core with less than 2GHz.

Point 2: If your device offers YUV formats, then you may use them, because the YUV to RGB converter (IAT_YUV.AX) is very fast and optimized to MMX and SSE II.

WK Ho
October 7, 2008, 09:06:33
Hi

Point 2 : We are using your fire wire camera so the format is eY800
Point 1: We switch off the display stream and the problem disappear, we are using a single core 2.4G . What min. CPU model you suggest that would solve the problem?

Thanks
WK

Stefan Geissler
October 7, 2008, 09:22:23
Hi WK

First of all, a dual core 2.4 Ghz is suitable, I think.

If the display causes the problem, please make sure, the desktop image color depth is set to 32 bit. 24 bit slows down.

You may create a frame filter for the display path, that returns true only for ever third of 5th image. Then you have a slower live display, but you may save processing time. Do you think, you can write such a frame filter?

WK Ho
October 7, 2008, 09:37:32
1) OK would try to get a faster CPU later on
2) The problem is the dispaly taken up too much time and affecting other. How to write such a filter? It would be nice you can give example.

Thanks in advance.

Stefan Geissler
October 7, 2008, 09:40:25
Please make a simple request at http://www.imagingcontrol.com/en_US/support/case

Please let me know your preferred programming language!

WK Ho
October 9, 2008, 00:56:58
Hi
Already fill up the supoort request form
Programming language is C# or VC++