Working with HSV images- any GIMP experts here?
http://en.wikipedia.org/wiki/HSL_and_HSV
http://registry.gimp.org/node/26546
( I know nothing whatsoever about the above )
I don't think you'll find a difference in principle between the V of HSV and L of HSL as they are essentially the same thing.. My understanding is that these two colour spaces primarily differ in how they treat saturation and I think HSL has its L channel mapped to a perceptual based scale while HSV's V channel is linear. No guarantees there though
sRGB doesn't have a Luminance channel although the luminance value of a pixel can be derived by summing its linear RG and B values. Strictly speaking it isn't quite that simple as Luminance is a perceptual based value so you have to apply a fiddle factor to the RGB values you sum but in principle you just add them together.
I have got a good Gimp book here (Beginning Gimp - From Novice to Professional) and there is always the manual at http://docs.gimp.org/en/ . I suspect you might want to consider running the decompose plugin to separate each image into HS and V layers and then blend together the layers you want like here http://docs.gimp.org/2.8/en/plug-in-decompose-registered.html but what is it you are actually wanting to do?
Hope that is of help
This gives a good explanation of what I'm messing around with, and why link Ideally I'd like to be able to do it with aerial shots, and have a few ideas of how to do it using blurred colour layers (I actually managed an image of sorts last year link , using YCbCr and images from two different cameras) but am mainly going to do it on ground shots on the K3. I may also get my K5 converted to full spectrum and mess around with different combinations of filters.
page 5 figure 9
not sure how to map that to Gimp though
Do you need to add in a Bilateral Filter to the filter scripts? A little like the high pass filter for sharpening.
I imagine the greatest problem is going to be in getting two exactly registered shots, one normal and one in IR for the same image. From there loading the two into gimp, decomposing both to colour layers and then recombining them seems in principle straightforward (although I haven't actually tried it). Any of HSV, HSL, LAB and YCbCr would seem suitable for this so you are going to have a lot of fun sorting out which works best
I used this simpler method (using sRGB) on another image made from an IR shot from a converted K20D and an image from my K5 link using sRGB, but as you can see the image is a bit blurry and was a bit pointless beyond the experiment itself.
So split the colour from the light. Do a BIL filter and take the smoothed layer.
Take the IR version, BIL fliter , find the difference and take the detail.
Add the IR detail to the colour light base.
Add the colour layer back.
You can get an add on BIL script for Gimp in the same way you get the high pass filter.
I'm guessing BIL is bilateral
[IMG]http://i740.photobucket.com/albums/xx49/df8/Fullscreencapture03042014224159_zps5d426ff1.jpg~original[/IMG]
http://registry.gimp.org/node/20340
bilateral filter in here
http://registry.gimp.org/node/13469
http://gorgodium.blogspot.co.uk/2011/11/18-most-useful-gmic-scripts-for.html
The specific bilateral filter mentioned splits the image into two layers , the base and the detail. I've not found a similar filter yet in Gimp.
ha ha and another interesting method ...
http://blog.patdavid.net/2013/02/calvin-hollywood-freaky-details-in-gimp.html
Add Comment
To leave a comment - Log in to Pentax User or create a new account.


2523 posts
16 years
Here,
there,
everywhere
When I decompose an image to HSV with 3 layers, I can't find the Luminance channel, only Hue, Saturation and Value as Layers, or Gray and Alpha as channels. Am I right in thinking that Value layer is the same as the Luminance channel in an sRGB image? If so, any idea how to replace this layer/channel with one from another image?
My Website
PPG
flickr
G+
Facebook