# \#resize

**URL:** https://forum.opencv.org/tag/resize/112.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [Resize a mat containing CV\_8UC2](https://forum.opencv.org/t/resize-a-mat-containing-cv-8uc2/20082)

<div class="topic-metadata">

**Author:** [@msearancke](https://forum.opencv.org/u/msearancke)\
**Replies:** 0\
**Last updated:** [February 3, 2025, 3:57am UTC](https://forum.opencv.org/t/resize-a-mat-containing-cv-8uc2/20082 "2025-02-03T03:57:11Z")

</div>

I am trying to track down a memory corruption in a routine that crops and resizes an UYVY frame (NDI is the source) but I am not sure if the cv::resize function works for a 2 byte per pixel map (type = CV\_8UC2). If I re…

---

## [Opencv compiled with openmp not work in cv::parallel\_for](https://forum.opencv.org/t/opencv-compiled-with-openmp-not-work-in-cv-parallel-for/17682)

<div class="topic-metadata">

**Author:** [@tenglike](https://forum.opencv.org/u/tenglike)\
**Replies:** 0\
**Last updated:** [May 18, 2024, 3:10am UTC](https://forum.opencv.org/t/opencv-compiled-with-openmp-not-work-in-cv-parallel-for/17682 "2024-05-18T03:10:40Z")

</div>

I use cmake-gui to build opencv on NVIDIA Jetsion Xavier NX, and tick WITH OPENMP option.After, I loop simple cv::resize (source image size:1280x1024, destination image size:10000x10000, INTER\_LINRAR). However, I find t…

---

## [Resize image/video to 2 different resolutions and reduce from RGB24 to the SAME 64 colors for both resolutions](https://forum.opencv.org/t/resize-image-video-to-2-different-resolutions-and-reduce-from-rgb24-to-the-same-64-colors-for-both-resolutions/16113)

<div class="topic-metadata">

**Author:** [@zedrummer](https://forum.opencv.org/u/zedrummer)\
**Replies:** 0\
**Last updated:** [January 10, 2024, 10:49am UTC](https://forum.opencv.org/t/resize-image-video-to-2-different-resolutions-and-reduce-from-rgb24-to-the-same-64-colors-for-both-resolutions/16113 "2024-01-10T10:49:29Z")

</div>

Hello At the moment, I use cv::resize(...,cv::INTER\_LANCZOS4) then kmeans() to display RGB24 image or videos on my 128x32 dot matrix display for pinball machines with 64 colors. The result is amazing, thanks! Now, I wo…

---

## [A Tool: Zoom in/out and pan image with imshow and resize](https://forum.opencv.org/t/a-tool-zoom-in-out-and-pan-image-with-imshow-and-resize/8881)

<div class="topic-metadata">

**Author:** [@den8017981](https://forum.opencv.org/u/den8017981)\
**Replies:** 3\
**Last updated:** [May 24, 2022, 9:23am UTC](https://forum.opencv.org/t/a-tool-zoom-in-out-and-pan-image-with-imshow-and-resize/8881 "2022-05-24T09:23:03Z")

</div>

I think lots of users have the problem about zooming in/out and pan images through opencv window. Therefore, I have created a c++ class to finish this job. With your mouse wheel and some parameter setting, you can easi…
