# HSV colourspace round trip

**URL:** <https://forum.logik.tv/t/hsv-colourspace-round-trip/6751>\
**Category:** Flame Questions\
**Tags:** color\
**Created:** [September 14, 2022, 12:03am UTC](https://forum.logik.tv/t/hsv-colourspace-round-trip/6751 "2022-09-14T00:03:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![drewd](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@drewd](https://forum.logik.tv/u/drewd)\
**Post date:** [September 14, 2022, 12:03am UTC](https://forum.logik.tv/t/hsv-colourspace-round-trip/6751/1 "2022-09-14T00:03:51Z")

</div>

Is there any current way to separate out an image to HSV and round trip? Separate and combine are great but only HSL is available - similar but not the same.

---

<div class="post-metadata">

**Author:** ![La\_Flame](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/la_flame/32/200_2.png) [@La\_Flame](https://forum.logik.tv/u/La_Flame)\
**Post date:** [September 14, 2022, 9:52am UTC](https://forum.logik.tv/t/hsv-colourspace-round-trip/6751/2 "2022-09-14T09:52:34Z")

</div>

Hi Drew,

Please file a request on the Flame Feedback Portal for the designers to investigate.

---

<div class="post-metadata">

**Author:** ![drewd](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@drewd](https://forum.logik.tv/u/drewd)\
**Post date:** [September 14, 2022, 10:21am UTC](https://forum.logik.tv/t/hsv-colourspace-round-trip/6751/3 "2022-09-14T10:21:31Z")

</div>

Thanks Grant! I’ve lodged a request.

---

<div class="post-metadata">

**Author:** ![andy\_dill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/andy_dill/32/15475_2.png) [@andy\_dill](https://forum.logik.tv/u/andy_dill)\
**Post date:** [September 14, 2022, 4:12pm UTC](https://forum.logik.tv/t/hsv-colourspace-round-trip/6751/4 "2022-09-14T16:12:31Z")

</div>

So I googled the [differences](https://en.wikipedia.org/wiki/HSL_and_HSV) between these and I’m curious what the use cases are?

I love a good channel separation trick.

---

<div class="post-metadata">

**Author:** ![drewd](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@drewd](https://forum.logik.tv/u/drewd)\
**Post date:** [September 14, 2022, 8:53pm UTC](https://forum.logik.tv/t/hsv-colourspace-round-trip/6751/5 "2022-09-14T20:53:43Z")

</div>

I came across this as I’m looking to create a shadow plate/pass. Using HSL doesn’t seem to give back the same results

[![](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/8/82819c896e3dad02d11810299473508d40febdef.jpeg "Compositing Complex Shadows in Nuke [Advanced]") ](https://www.youtube.com/watch?v=Yb3Cn3JnkUI)

---

<div class="post-metadata">

**Author:** ![andy\_dill](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/andy_dill/32/15475_2.png) [@andy\_dill](https://forum.logik.tv/u/andy_dill)\
**Post date:** [September 14, 2022, 8:56pm UTC](https://forum.logik.tv/t/hsv-colourspace-round-trip/6751/6 "2022-09-14T20:56:19Z")

</div>

this looks cool! thanks for the link.

---

<div class="post-metadata">

**Author:** ![drewd](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@drewd](https://forum.logik.tv/u/drewd)\
**Post date:** [September 14, 2022, 10:00pm UTC](https://forum.logik.tv/t/hsv-colourspace-round-trip/6751/7 "2022-09-14T22:00:20Z")

</div>

I know! Would be great to use this technique in Flame

---

<div class="post-metadata">

**Author:** ![lewis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/lewis/32/220_2.png) [@lewis](https://forum.logik.tv/u/lewis)\
**Post date:** [September 29, 2022, 3:24pm UTC](https://forum.logik.tv/t/hsv-colourspace-round-trip/6751/8 "2022-09-29T15:24:54Z")

</div>

It’s pretty easy to convert to HSV in a matchbox, I’ve made one here which also does a bunch of other colourspaces that split brightness/chroma in various ways, including new kid on the block Oklab: [Shader: Ls\_Colourspace](https://logik-matchbook.org/shader/Ls_Colourspace)

I did think about adding ACES and Arri/Red etc camera colourspaces to it but Color Mgmt already does a great job of all those and I don’t want to get into a situation where this shader doesn’t match the standard Flame transforms… I already noticed that the ACES/CIE-XYZ .ctf uses a slightly different matrix to what Nuke does, I’m guessing because of better chromatic adaptation 😯

---

<div class="post-metadata">

**Author:** ![lewis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/lewis/32/220_2.png) [@lewis](https://forum.logik.tv/u/lewis)\
**Post date:** [September 29, 2022, 3:32pm UTC](https://forum.logik.tv/t/hsv-colourspace-round-trip/6751/9 "2022-09-29T15:32:14Z")

</div>

Also has anyone else played with the shadow plate technique from the video above? I’d never heard of the repeated luma key/grade in HSV stack thing before, I feel like I don’t fully understand why it works!? I replicated what it does in a matchbox here: [Shader: Ls\_Shadowplate](https://logik-matchbook.org/shader/Ls_Shadowplate), quick demo here: [Shadowplate demo - YouTube](https://www.youtube.com/watch?v=LfNX3SdyqkQ)

It pulls the luma key from all channels of the HSV image, which is unexpected because that means it depends on hue and saturation as well… definitely works in some situations but I feel like it reveals noise/compression artifacts easily 🤔 Using just a regular luma key (or only using the V channel) makes things turn into flat solid colours whereas this definitely preserves some texture somehow - pretty mysterious, wonder if it was just developed by trial and error…

---

<div class="post-metadata">

**Author:** ![drewd](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@drewd](https://forum.logik.tv/u/drewd)\
**Post date:** [September 29, 2022, 10:11pm UTC](https://forum.logik.tv/t/hsv-colourspace-round-trip/6751/10 "2022-09-29T22:11:27Z")

</div>

Lewis thank you so much!!! Amazing! I figured it wouldn’t be successful in every scenario but definitely a great technique to have in the toolset. I will give it a go ASASP

Really appreciate you taking the time for this!
