Documentation Center

  • Trial Software
  • Product Updates


Class: ImageAdapter

Read region of image


data = adapter.readRegion(region_start, region_size)


data = adapter.readRegion(region_start, region_size) reads a region of the image. region_start and region_size define a rectangular region in the image. region_start, a two-element vector, specifies the [row col] of the first pixel (minimum-row, minimum-column) of the region. region_size, a two-element vector, specifies the size of the requested region in [rows cols]. When you construct a class that inherits from the ImageAdapter class, implement this method.

Was this topic helpful?