GetImageRow
Extracts an array of pixel values from a single row of an image.
Syntax
C++
Python
def GetImageRow( inImage: Image, inRowIndex: int, /, *, inChannelIndex: int | None = None ) -> ( outValues: list[float], outPixels: list[Pixel] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Input image | ||
![]() |
inChannelIndex | int | None | 0 - 3 | None | Selects a channel of the input image |
![]() |
inRowIndex | int | 0 - 65535 | Selects a row of the input image | |
![]() |
outValues | list[float] | Output pixel values of the row | ||
![]() |
outPixels | list[Pixel] | Output pixels of the row |


