Determines whether an image has a normal stride
dip_Error dip_HasNormalStride( image, &answer )
Determines whether an image has a normal stride. Normal stride is defined as a stride of 1 in the first dimension, a stride of image width in the second dimension, etc. If answer is not zero, the verdict is passed in this variable. Otherwise, HasNormalStride returns an error in case image does not have a normal stride.
Data type | Name | Description |
dip_Image | image | The image under investigation |
dip_Boolean * | answer | The verdict |