PVCAM  3.9.x
Programmable Virtual Camera Access Method library
rgn_type Struct Reference

Data Fields

uns16 s1
 
uns16 s2
 
uns16 sbin
 
uns16 p1
 
uns16 p2
 
uns16 pbin
 

Detailed Description

Defines the acquisition region. Used in pl_exp_setup_seq and pl_exp_setup_cont. In most cases the s1, s2 coordinates correspond to x1, x2 coordinates. The sensor region width is then calculated as s2 - s1 + 1. The resulting image width would be (s2 - s1 + 1) / sbin. Similarly the p1, p2 coordinates correspond to y1, y2 coordinates. The sensor region height is then calculated as (p2 - p1 + 1). The resulting image height would be (p2 - p1 + 1) / pbin.

Field Documentation

◆ p1

uns16 rgn_type::p1

First row in the parallel register.

◆ p2

uns16 rgn_type::p2

Last row in the parallel register.

◆ pbin

uns16 rgn_type::pbin

Parallel binning for this region.

◆ s1

uns16 rgn_type::s1

First pixel in the serial register.

◆ s2

uns16 rgn_type::s2

Last pixel in the serial register.

◆ sbin

uns16 rgn_type::sbin

Serial binning for this region.