new MPRPixGenerator(options)
- Source:
MPRPixGenerator Generates pixel data from file with an input per orientation.
Parameters:
Name | Type | Description |
---|---|---|
options |
object | The generator options. |
Methods
(inner) getFunc(name, i, j) → {number}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The image orientation |
i |
number | The column index. |
j |
number | The row index. |
Returns:
The value at the given position.
- Type
- number
(inner) getOffset(i, j) → {number}
- Source:
Parameters:
Name | Type | Description |
---|---|---|
i |
number | The column index. |
j |
number | The row index. |
Returns:
The offset for the given position.
- Type
- number