# Transforming color image from webcam to grayscale image for analyse

**URL:** <https://discourse.processing.org/t/transforming-color-image-from-webcam-to-grayscale-image-for-analyse/42744>\
**Category:** Libraries\
**Created:** [September 11, 2023, 3:10pm UTC](https://discourse.processing.org/t/transforming-color-image-from-webcam-to-grayscale-image-for-analyse/42744 "2023-09-11T15:10:54Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [September 13, 2023, 11:02am UTC](https://discourse.processing.org/t/transforming-color-image-from-webcam-to-grayscale-image-for-analyse/42744/3 "2023-09-13T11:02:27Z")

</div>

Hello @animalfrommars,

> [@Splitting webcam image onto 4 textures](https://discourse.processing.org/t/splitting-webcam-image-onto-4-textures/41124/16):
>
> Hello @animalfrommars, This will give you some insight into what is happening under the hood: [https://github.com/processing/processing4/blob/main/core/src/processing/core/PImage.java#L853](https://github.com/processing/processing4/blob/main/core/src/processing/core/PImage.java#L853) \< Give it a minute to load and go to the correct line! slight_smile

`:)`

---

_[View the full topic](https://discourse.processing.org/t/transforming-color-image-from-webcam-to-grayscale-image-for-analyse/42744)._
