![]() |
Masks - Can't seem to get it right - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions) +--- Thread: Masks - Can't seem to get it right (/Thread-Masks-Can-t-seem-to-get-it-right) Pages:
1
2
|
RE: Masks - Can't seem to get it right - AceMcHammer - 08-13-2025 (08-10-2025, 05:34 PM)Ofnuts Wrote: You don't need a "mask" (or at least not the "mask" concept as understood in Gimp). .There are plenty of tools to shift colors slightly. I tried the CLUT filter (Colors/CLUT before - after layers) and so it says that I need to layers to run the filter. So I just simply duplicated the layer which gave me two layers but the filter still wouldn't run. All I'm trying to do is make a color look up table of my preferred image and apply it to my uncropped high res image. RE: Masks - Can't seem to get it right - Ofnuts - 08-14-2025 Yes, GMIC is a bit fiddly. You can tell it to use All layers, but first and foremost, you need to have two identical image that only differ by the colors. And the images you show haven't even got the sale size. So your first task is to use the Unified Transform tool to make them overlap, and then crop the image to some common part. Then you can use GMIC, asking it to create a new layer, and it will create this: [attachment=13797]
As a test, reapply the CLUT to the first image, and you get this: [attachment=13798]
RE: Masks - Can't seem to get it right - rich2005 - 08-14-2025 (08-13-2025, 11:55 PM)AceMcHammer Wrote: ried the CLUT filter (Colors/CLUT before - after layers) and so it says that I need to layers to run the filter. So I just simply duplicated the layer which gave me two layers but the filter still wouldn't run. All I'm trying to do is make a color look up table of my preferred image and apply it to my uncropped high res image A bit more about the gmic cubic look-up table (CLUT) filter [attachment=13799] As it states you need two images one before and one after. Unfortunately your small before / after images you posted are not geometrically identical, so you will have to do a bit of image matching. Once you have done that and using gmic (1) The two layers (2) CLUT from before after (3) Set the output mode (4) Give the generated CLUT a name (5) Set input layers to All Ok that and it makes the CLUT Now in your large image and gmic (6) Apply External CLUT (7) Find the CLUT just created (8) Always a good idea to output a new file, just in case you screwed up. RE: Masks - Can't seem to get it right - denzjos - 08-14-2025 That should be the clut: [attachment=13801] Unzip the file (and remember where you unzipped the file). Then use G'Mic-Qt [attachment=13803] RE: Masks - Can't seem to get it right - AceMcHammer - 08-14-2025 (08-14-2025, 12:04 PM)denzjos Wrote: That should be the clut: Thanks man! That's great! We're on to something now. However I applied the clut (ship.cube) and it came out like this.. I assume it came out like this because I applied the clut to my un-cropped (and high res) image. The size ratio of the two images are different... this image is scaled down for posting here but you can see it's got problems... ![]() (08-14-2025, 07:13 AM)Ofnuts Wrote: Yes, GMIC is a bit fiddly. You can tell it to use All layers, but first and foremost, you need to have two identical image that only differ by the colors. And the images you show haven't even got the sale size. So your first task is to use the Unified Transform tool to make them overlap, and then crop the image to some common part. Then you can use GMIC, asking it to create a new layer, and it will create this: Dude, that is practically on the money. All I gotta do is figure out how to get the clut applied properly to my uncropped high res image. I thought about creating extra canvas space to the preferred (but cropped) image to match the ratio size of my uncropped image but all that would do is add two giant bars worth of white to the clut. (08-14-2025, 07:25 AM)rich2005 Wrote:(08-13-2025, 11:55 PM)AceMcHammer Wrote: ried the CLUT filter (Colors/CLUT before - after layers) and so it says that I need to layers to run the filter. So I just simply duplicated the layer which gave me two layers but the filter still wouldn't run. All I'm trying to do is make a color look up table of my preferred image and apply it to my uncropped high res image Thanks man. Those details are extremely helpful RE: Masks - Can't seem to get it right - denzjos - 08-15-2025 Over the years the same difficult problem has come up here on this forum. Here are some of the possible solutions: 1 - Try this with the two photos : https://github.com/samrocketman/home/blo..._match.scm (script) Channels to use : 'LAB - Preserve Luma' or 'YCbCr - Preserve luma' 2 - https://patdavid.net/2012/07/getting-around-in-gimp-more-color 3 - You can try this : GMIC-Qt / Colors / Transfer Colors (PCA) 4 - https://www.dustfreesolutions.com/CT/CT.html RE: Masks - Can't seem to get it right - AceMcHammer - 08-15-2025 (08-15-2025, 06:44 AM)denzjos Wrote: Over the years the same difficult problem has come up here on this forum. Here are some of the possible solutions: I tried a couple things. First I figured out the aspect ratio of my high res image of pixel length and width and added canvas size to my preferred image to match the aspect ratio of my high res image. I then copied selections from the colored areas of the image and pasted them into the blank sections of the new canvas area in an attempt to fool the filter into just coming up with something other than white in those side sections of the canvas. I then upscaled the preferred image resolution to the same as my high res image at 4039 x 2412 so that now the low res preferred image matched the high res image in aspect ratio and pixel count/resolution. So then I used that and my high res image for my two layers to get the cube file and externally applied that cube file to my high res image. It turned out a complete mess. I did have some good success with the Colors/Transfer Colors [PCA] filter. Funny thing is my "manual" piece meal adjustment of the high res image that I posted in post #5 to try to match it to the preferred image looks almost identical to the result of the Transfer Colors [PCA] filter result, which turned out like this here... ![]() That's the high res image with the transfer color filter. It looks pretty good. I like it. It's got that brownish look on the hull of the ship like in the preferred image. Still wished I knew what software and filter that person used on that other image though. Here's the bottom image layer I used for the color transfer of the preferred image with the addition of the canvas space on the sides and then scaled up to 4039 x 2412... ![]() RE: Masks - Can't seem to get it right - AceMcHammer - 08-16-2025 The is my final best try. A Duplicate-Multiply image layer in conjunction with the GMIC Transfer Color PCA filter using the target image as the bottom layer transfer color (w/slight curves, hue-saturation, color temp adjustment). This isn't exactly like the target image but all the same this is a sweet image... high res. have at it world https://www.mediafire.com/file/qxk4qgint9eo0ge/Young_America_Duplicate-Multiply_GMIC-Color-transfer_color_PCA.png/file ![]() RE: Masks - Can't seem to get it right - rich2005 - 08-16-2025 This is a bit off-topic, it is more general that applying a mask. For those of you with a gmic plugin, in the Color Presets section there are hundreds of pre-made look up tables (LUT). You can select a pack and scroll through the presets. Also the first entry is to render a collage for a comparison of the effects. Something for eveyone. [attachment=13805] RE: Masks - Can't seem to get it right - denzjos - 08-17-2025 (08-16-2025, 09:44 AM)rich2005 Wrote: This is a bit off-topic, it is more general that applying a mask. Some links to free legal download LUT's https://www.shutterstock.com/blog/free-luts-for-log-footage?dd_referrer=https%3A%2F%2Fwww.google.com%2F https://www.on1.com/free/luts/?srsltid=AfmBOor0zRd73ULl9skicEDw_96I4tYRK2Yx_coQ0gzAqDv0YQAw85Gh https://filtergrade.com/free-luts-download/?srsltid=AfmBOopMjg8BTezYsVuO8JjHj-T1wDKI9pYVQYc6dr8T8NP7gNf79g8_ https://tdcat.com/downloads/free-lut-packs https://www.filmicpro.com/products/luts https://www.freepresets.com/product-category/free-luts-color-lookup-table |