Programming Guide
109
5.4.1.2 Cropping
Purpose
These functions read or write actual output resolution.
Prototype
C/C++
HRESULT WriteCropping (RECT Rt)
HRESULT ReadCropping (RECT * Rt)
C#
int WriteCropping (Rectangle RECT Rt)
int ReadCropping (out Rectangle RECT Rt)
VB.Net
WriteCropping (ByVar Rt as RECT) As Integer
ReadCropping (ByRef Rt as RECT) As Integer
Parameters
Rt
A rectangle setting to crop the sensor image as illustrated in
Figure 4-1. The rectangle must be located inside the sensor
image. Actual image starts from (Rt.left, Rt.top) and its
width is Rt.right – Rt.left and height is Rt.bottom – Rt.top.
Actual image width needs to be multiple of 16 pixels and
actual height is even. If the sensor source is interlace, the
top value in Rt need to be even
Return Value
No error occurs if return value >= 0; if negative value, call AMGet-
ErrorText function to get error information about return codes.
Содержание HDV62
Страница 11: ...vi List of Figures...
Страница 25: ...14 Installation Guide...
Страница 26: ...Installation Guide 15...
Страница 27: ...16 Installation Guide 4 Click next until driver installation is complete...
Страница 105: ...94 Programming Guide Video Proc Amp...
Страница 143: ...132 ViewCreatorPro Utility 6 2 Component Description Launch ViewCreatorPro and you can see the following view...
Страница 153: ...142 ViewCreatorPro Utility View menu Device Hide or unhide Devices panel Adjustment Hide or unhide Adjustment panel...
Страница 163: ...152 ViewCreatorPro Utility...