Commit Graph

4 Commits

Author SHA1 Message Date
sohailshk
eab20f61de imgproc: do not crash in pyrUp on an empty source
pyrUp on a source with zero columns and some rows (for example a 5x0
CV_8UC1 Mat) segfaults in the pyramid kernel. Return the empty
destination instead; a non-empty destination size for an empty source
is rejected.
2026-11-20 09:13:32 +05:30
@lizhiyu3
e59cff47d4 fix the right border 2022-07-20 17:03:09 +08:00
@lizhiyu3
01226cb8ac fix the bug when src*2 < dst 2022-07-06 01:01:16 +08:00
heavyrain-lzy
6360c3bf46 Merge pull request #22184 from heavyrain-lzy:fixbug_pyrUp
* fix the bug in pyrUp

* add test case for pyrUp

* coding style
2022-07-03 23:06:43 +03:00