Determines whether an image has all data contiguous in memory
dip_Error dip_HasContiguousData( image, &answer )
Determines whether an image has all data contiguous in memory. This can potentially not be the case if the image is an ROI, for example, or if it was allocated with strides that cause unused gaps in the image's memory block. If answer is not zero, the verdict is passed in this variable. Otherwise, HasContiguousData returns an error in case image does not have contiguous data.
Data type | Name | Description |
dip_Image | image | The image under investigation |
dip_Boolean * | answer | The verdict |