YOUR ACCOUNT

Login or Register to post new topics or replies
James
James
Posts: 676
Filters: 46
Would be nice to have a swap with module, to replace one color with another easily, i know it's most likely already possible, but im there should be simple solutions, mainly so it's as simple as dragging a module into a structure rather than having to look through the library for an example, resize is another essential imo. smile;)
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
right click on any place there is a color box and hit 'copy', then hit another color box with a right click and simply 'paste'. or did you mean something else?
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
James
James
Posts: 676
Filters: 46
Yeah i mean that say if you had a white circle but water in the background, and you wanted to switch the white for another color, you would choose white for the color that you want to change, then there would be another color selector and you change that to red and then the circle would become a red circle.
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
oh, color picker and color swapper. ok.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
ssamm
Posts: 364
Filters: 21
James,

I was wondering how your idea would look as a filter, so I made one. It turned out a little more complex than I thought...
I was thinking of maybe submitting it to the library. Would you mind at all? (I'd mention your name in the description, if I did, BTW.)

Color Swapper i1i.ffxml
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
very cool, ssamm. can you do color ranges to swap too?
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
ssamm
Posts: 364
Filters: 21
Thanks, Kreallin. smile:)

I’m not exactly sure what you mean by “color ranges to swap".

If you’re just talking about the Color to Change range, this can be adjusted by the Tolerance slider. In the filter, I used the RGB channels, because I liked it’s effects, but I could also have just as easily used the extract/assemble HLS channels instead. Plus, I could also have given Tolerance sliders for each channel individually too (for more selective control).

Meanwhile if your asking about a range of new colors (to replace the old ones), this could probably be done by using a gradient, instead of just one New Color. And then using that gradient to color the elevation of the Color to Change masked areas somehow…(?)


However, I do sort of like the simplicity that the filter has so far -- and I’ve been surprised at what it can do to some images (as I explored Next Variant -- something PSP’s "Color Replacer" and "Change to Target" tools don’t have). I was thinking of adding an Invert Mask box, though…

In any case, I always like feedback. smile:) And if I don’t make the changes you or anyone else thinks up, others are more than welcome to modify away!
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
hi ssamm,

by 'color ranges' i meant simply a whole range of hues, like all the various reds in a given flower, for example. like in my rose picture, being able to swap ALL the various reds for a range of blues.... or, being able to swap all the various reds for ONE blue, or, being able to swap one red for a range of blues (this last one being the least important to me).
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
ssamm
Posts: 364
Filters: 21
I think such a filter is possible, where my ideas above might be used -- where the HLS extract/assemble components would be used and you'd use a different type of curve for the Tolerance sliders (i.e. range of HLS parts to Change), so you could wrap around the hue channel for a better range of reds (i.e. something like in Richard Bartlett's Color Isolate filter).
I'm not exactly sure how the range of new colors would work -- but you could probably use a gradient (mapped to elevations of the masked HLS channels) with various gradient controls for the user to adjust...

In any case, I'm pretty preoccupied with other projects at the moment, so I don't have time to really figure it out now...
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Something like this?


HLS Range 2.ffxml
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
vlad, that one is similar to 'color isolate'. but would work fine if used in plugin mode. you could just fill in the transparencies in the editor. also, you need an invert alpha there smile:)

also, it would be slick if you could do a cross-hue range, like select blue to red and replace those with yellow to green hues.

color swapping and color extraction is a HUGE need for folks in the graphic arts, retouching, restoring industry. i know. i see this request all the time on retouchpro, especially object extraction. that was the reason i made a request for a color isolater a while back. edge finding combined with extraction tools are in big demand. paint shop pro and photoshop both need more work in this area.

and this goes back to our converasation about spectrum type computers as opposed to digital. so, i wont re-hash that all over again smile:)

paint shop pro does have some decent tools for extractions but it's often very fickle depending on the type of image. and i see folks using photoshop having troubles as well. so, i've been playing around with this from time to time in FF. still nothing i'm really pleased with yet.

there is a russian company that has been advertising on retouchpro and they have a couple of products that work fairly well. the one i remember is gml growcut. it does a pretty good job and they have another out, in the software forum, that uses a similar method. and it's currently free.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
ssamm
Posts: 364
Filters: 21
Good job, Vladamir.
It looks like you even made it more efficient than I would have.
However on images with a lot of varieties in the HLS channels the mask picks up more than I would like. So I'll attach a file on how I modified your blend components for more restrictive selections (rather than additive with each channel).

I also added how I might go about the gradient bit I was thinking of (but I like your transparency part maybe more.)
(I had to rushly do all this, because I need to hurry to work. So I wouldn't be surprised it I made some dumb mistake somewhere...)

HLS Range 2gradient.ffxml
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Kraellin wrote:
also, it would be slick if you could do a cross-hue range, like select blue to red and replace those with yellow to green hues.


Photoshop's Hue/Saturation adjustment does this since version 4, if memory serves.

Quote
Kraellin wrote:
i see this request all the time on retouchpro, especially object extraction.


Photoshop already has Background Eraser (works wonders in simple cases), the Extract filter (a bit hard to figure out, requires some learning), and the Magnetic Lasso which is a fantastic tool (having spent a couple of years extracting fluffy objects from photos using the old polygonal lasso, I can say that with full confidence smile:)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
ssamm wrote:
However on images with a lot of varieties in the HLS channels the mask picks up more than I would like.


You can add sliders for controlling H, L and S ranges and smoothness separately.
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,714 Registered Users
+20 new in 30 days!

153,537 Posts
+6 new in 7 days!

15,348 Topics
+72 new in year!

Create an Account

Online Users Last minute:

24 unregistered users.