Skip to content

关于运行大分辨率影像内存越界的问题 #19

Description

@97scy

李老师您好!很幸运能够学习使用您的代码,在我测试的过程中,出现了如下的问题无法解决,希望您能在繁忙中给予指导,非常感谢!
当我运行过大分辨率的影像时会在固定地方出现如下错误,我使用的影像为2048*2048,,VS为2022版本,系统配置为12th Gen Intel(R) Core(TM) i7-12700K,64.0 GB,在release模式下处理时间为85分钟左右出现该错误,

Image

貌似是程序访问时超出其分配的范围,我尝试加入两个if判别来确定指针是否为空或索引是否越界,但都没有检测到,请问您之前有遇到过这类问题吗,想请教如何解决,非常感谢!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions