# \#superpixel

**URL:** https://forum.opencv.org/tag/superpixel/286.md

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

---

## [An error occurred using opencv SLIC c++](https://forum.opencv.org/t/an-error-occurred-using-opencv-slic-c/5926)

<div class="topic-metadata">

**Author:** [@ramge132](https://forum.opencv.org/u/ramge132)\
**Replies:** 1\
**Last updated:** [October 28, 2021, 2:09pm UTC](https://forum.opencv.org/t/an-error-occurred-using-opencv-slic-c/5926 "2021-10-28T14:09:42Z")

</div>

the original source: I’m using VisualStudio17, 19 the error message is: |error|LNK2019|struct cv::Ptr \_\_cdecl cv::ximgproc::createSuperpixelSLIC(class cv::debug\_build\_guard::\_InputArray const &,int,int,float) (?cr…

---

## [Set each pixel in the output image to the mean RGB color of the superpixel region](https://forum.opencv.org/t/set-each-pixel-in-the-output-image-to-the-mean-rgb-color-of-the-superpixel-region/4817)

<div class="topic-metadata">

**Author:** [@tetengious](https://forum.opencv.org/u/tetengious)\
**Replies:** 4\
**Last updated:** [August 17, 2021, 5:16pm UTC](https://forum.opencv.org/t/set-each-pixel-in-the-output-image-to-the-mean-rgb-color-of-the-superpixel-region/4817 "2021-08-17T17:16:28Z")

</div>

I’m working on image segmentations where need to calculate image superpixels. I have calculated, and displayed the image superpixel successfully but unable to color each pixel in the output image to the mean RGB color ju…
