# Remove shadows around leaves scanned

**URL:** <https://forum.opencv.org/t/remove-shadows-around-leaves-scanned/20158>\
**Category:** Uncategorized\
**Created:** [February 7, 2025, 8:49pm UTC](https://forum.opencv.org/t/remove-shadows-around-leaves-scanned/20158 "2025-02-07T20:49:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sylvain\_Ard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/sylvain_ard/32/114_2.png) [@Sylvain\_Ard](https://forum.opencv.org/u/Sylvain_Ard)\
**Post date:** [February 7, 2025, 8:49pm UTC](https://forum.opencv.org/t/remove-shadows-around-leaves-scanned/20158/1 "2025-02-07T20:49:40Z")

</div>

Hi !  
I want to remove the little shadows around leaves scanned like these in this folder : [Index of /temp/TEMP](https://sylvain-ard.fr/temp/TEMP)  
thank you for your advices  
Best regards

---

<div class="post-metadata">

**Author:** ![Sylvain\_Ard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/sylvain_ard/32/114_2.png) [@Sylvain\_Ard](https://forum.opencv.org/u/Sylvain_Ard)\
**Post date:** [February 20, 2025, 12:31pm UTC](https://forum.opencv.org/t/remove-shadows-around-leaves-scanned/20158/2 "2025-02-20T12:31:19Z")

</div>

and keep intact the teeth of the leaves

---

<div class="post-metadata">

**Author:** ![Steve\_in\_Denver](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Steve\_in\_Denver](https://forum.opencv.org/u/Steve_in_Denver)\
**Post date:** [February 25, 2025, 6:25pm UTC](https://forum.opencv.org/t/remove-shadows-around-leaves-scanned/20158/3 "2025-02-25T18:25:06Z")

</div>

Can you use a black background, or do you have to use the white background in the pictures? I imagine a black background would dramatically reduce the shadows.
