Skip to content

Bug in cvInitImageHeader - missing nSize initialization #20246

@matthew-kj-barrow

Description

@matthew-kj-barrow
Detailed description

The cvInitImageHeader() function does not correctly initialize the IplImage. The line "image->nSize = sizeof( *image );" got deleted from OpenCV 3 to OpenCV 4. This line needs to be added back in.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions