View Full Version : ROI static size with C#

August 30, 2013, 16:52:51
Hi, I need to create a ROI (Region of interest) static size, with a button to generate the ROI and another button to capture the image.

I'm using a DMK 41BU02.H

Stefan Geissler
August 30, 2013, 17:58:08

Please use the ROI filter as shown in the documentation at http://www.imagingcontrol.com/en_US/support/documentation/dotnet/stdfilterROI.htm

September 2, 2013, 20:08:45
Sorry, I need to set the point of origin and the size of the ROI, but this I need static implemented in the code, without having to use the mouse events.

thanks ...!

I'm working in C #

Stefan Geissler
September 3, 2013, 12:16:20
Sorry, but I do not understand your issue. You can pass suitable values to the parameter functions.

You may have a look on the mouse functions of IC Imaging Control in the documentation.

I have no ready to use source code for you at this point of time.

September 4, 2013, 16:28:58
Hi, I need to make the ROI is as shown in the attached image.

The example found in "C:\Users\MyUser\Documents\IC Imaging Control 3.3\samples\C# 2010\Advanced Image Processing" not explain how I do the ROI.

please ... help! :(

Stefan Geissler
September 5, 2013, 09:13:18

you can do this using the IC Imaging Control mouse functions, OverlayBitmap functions an the ROI frame filter. The use of these functions is documented in the IC Imaging Control documentation called ".NET Users Guide" which was installed with IC.

Using the frame frame filter for settings an ROI is shown at http://www.imagingcontrol.com/en_US/...dfilterROI.htm

It is not very hard to set a top, left and width height to clip the video.
stop the live video
set the ROI Parameters
start the live video.