Skip to content

Commit

Permalink
Fix #12: allow bigger resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelmassot committed Jun 24, 2016
1 parent b236861 commit 25d4e8f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions cfg/AvtVimbaCamera.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ gen.add("binning_y", int_t, SensorLevels.RECONFIGURE_RUNNING, "Num
gen.add("decimation_x", int_t, SensorLevels.RECONFIGURE_RUNNING, "Number of decimation operations in x.", 1, 1, 8)
gen.add("decimation_y", int_t, SensorLevels.RECONFIGURE_RUNNING, "Number of decimation operations in y.", 1, 1, 8)
# ROI
gen.add("width", int_t, SensorLevels.RECONFIGURE_RUNNING, "Width of the region of interest (0 for automatic).", 2452, 1, 2452)
gen.add("height", int_t, SensorLevels.RECONFIGURE_RUNNING, "Height of the region of interest (0 for automatic).", 2056, 1, 2056)
gen.add("roi_width", int_t, SensorLevels.RECONFIGURE_RUNNING, "X offset of the region of interest.", 0, 0, 2451)
gen.add("roi_height", int_t, SensorLevels.RECONFIGURE_RUNNING, "X offset of the region of interest.", 0, 0, 2451)
gen.add("roi_offset_x", int_t, SensorLevels.RECONFIGURE_RUNNING, "X offset of the region of interest.", 0, 0, 2451)
gen.add("roi_offset_y", int_t, SensorLevels.RECONFIGURE_RUNNING, "Y offset of the region of interest.", 0, 0, 2055)
gen.add("width", int_t, SensorLevels.RECONFIGURE_RUNNING, "Width of the region of interest (0 for automatic).", 4096, 1, 4096)
gen.add("height", int_t, SensorLevels.RECONFIGURE_RUNNING, "Height of the region of interest (0 for automatic).", 4096, 1, 4096)
gen.add("roi_width", int_t, SensorLevels.RECONFIGURE_RUNNING, "X offset of the region of interest.", 0, 0, 4095)
gen.add("roi_height", int_t, SensorLevels.RECONFIGURE_RUNNING, "X offset of the region of interest.", 0, 0, 4095)
gen.add("roi_offset_x", int_t, SensorLevels.RECONFIGURE_RUNNING, "X offset of the region of interest.", 0, 0, 4095)
gen.add("roi_offset_y", int_t, SensorLevels.RECONFIGURE_RUNNING, "Y offset of the region of interest.", 0, 0, 4095)
# PIXEL FORMAT
gen.add("pixel_format", str_t, SensorLevels.RECONFIGURE_CLOSE, "Format of the image data.", "Mono8", edit_method=pixelformat_enum)
# BANDWIDTH
Expand Down
12 changes: 6 additions & 6 deletions cfg/AvtVimbaCameraStereo.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@ gen.add("binning_y", int_t, SensorLevels.RECONFIGURE_RUNNING, "Num
gen.add("decimation_x", int_t, SensorLevels.RECONFIGURE_RUNNING, "Number of decimation operations in x.", 1, 1, 8)
gen.add("decimation_y", int_t, SensorLevels.RECONFIGURE_RUNNING, "Number of decimation operations in y.", 1, 1, 8)
# ROI
gen.add("width", int_t, SensorLevels.RECONFIGURE_RUNNING, "Width of the region of interest (0 for automatic).", 2452, 1, 2452)
gen.add("height", int_t, SensorLevels.RECONFIGURE_RUNNING, "Height of the region of interest (0 for automatic).", 2056, 1, 2056)
gen.add("roi_width", int_t, SensorLevels.RECONFIGURE_RUNNING, "X offset of the region of interest.", 0, 0, 2451)
gen.add("roi_height", int_t, SensorLevels.RECONFIGURE_RUNNING, "X offset of the region of interest.", 0, 0, 2451)
gen.add("roi_offset_x", int_t, SensorLevels.RECONFIGURE_RUNNING, "X offset of the region of interest.", 0, 0, 2451)
gen.add("roi_offset_y", int_t, SensorLevels.RECONFIGURE_RUNNING, "Y offset of the region of interest.", 0, 0, 2055)
gen.add("width", int_t, SensorLevels.RECONFIGURE_RUNNING, "Width of the region of interest (0 for automatic).", 4096, 1, 4096)
gen.add("height", int_t, SensorLevels.RECONFIGURE_RUNNING, "Height of the region of interest (0 for automatic).", 4096, 1, 4096)
gen.add("roi_width", int_t, SensorLevels.RECONFIGURE_RUNNING, "X offset of the region of interest.", 0, 0, 4095)
gen.add("roi_height", int_t, SensorLevels.RECONFIGURE_RUNNING, "X offset of the region of interest.", 0, 0, 4095)
gen.add("roi_offset_x", int_t, SensorLevels.RECONFIGURE_RUNNING, "X offset of the region of interest.", 0, 0, 4095)
gen.add("roi_offset_y", int_t, SensorLevels.RECONFIGURE_RUNNING, "Y offset of the region of interest.", 0, 0, 4095)
# PIXEL FORMAT
gen.add("pixel_format", str_t, SensorLevels.RECONFIGURE_CLOSE, "Format of the image data.", "Mono8", edit_method=pixelformat_enum)
# BANDWIDTH
Expand Down

0 comments on commit 25d4e8f

Please sign in to comment.