Skip to content

cv::meanStdDev could not compute values for large images. #26861

@mustafateke

Description

@mustafateke

System Information

Windows 10, x64 system.
Visual Studio 2017

Detailed description

I have images having 16kx16k tiles.
cv::meanStdDev could not compute mean and std for 10 image tiles (160kx16k image size).
Image data type is short or float, single band.
However, I could compute a histogram, and then extract those values for this image.

We may resize the image, and compute approximately but this is a work around.

Steps to reproduce

Create and empty 200kby 20k image of ones,
then try to compute stats.

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions