uberzev
![]() |
Just wondering.
![]() |
|||
Posted: May 30, 2006 8:24 pm | ||||
uberzev
![]() |
Or to put it another way, is there a way to get the curve of the external image?
|
|||
Posted: May 31, 2006 12:03 am | ||||
Quasimondo
![]() |
Oh yes that sounds like an important addition. Maybe a minimum and a maximum extractor component would be good for that purpose - this data could then be fed into the levels component.
|
|||
Posted: May 31, 2006 4:30 am | ||||
uberzev
![]() |
Guess this should be moved to feature wishlist Vlad?
|
|||
Posted: June 2, 2006 6:16 pm | ||||
uberzev
![]() |
Bump, this is really important one to me!
|
|||
Posted: June 9, 2006 11:41 am | ||||
Vladimir Golovin
Administrator |
I'm afraid that it can't be done. Here's why: For auto-levels, you need a histogram. To build a histogram, you need the whole image. The problem is that Filter Forge doesn't operate on whole images, it operates on blocks (the squares you see in the preview when it renders the picture). A histogram of a single block is useless for auto-levels, you need the whole picture. Even if Filter Forge had a way to calculate a histogram of an entire image, filters that use this would be painfully slow and completely non-interactive -- you wouldn't see anything in the preview until the histogram is rendered. So, to my regret, the current architechture of Filter Forge does not allow histograms and therefore auto-levels to be implemented. |
|||
Posted: June 9, 2006 12:30 pm | ||||
Quasimondo
![]() |
Hmmm. Okay let's assume that the histogram gets calculated for each block separately. What if in one branch of my filter I created a tiled version of the image where ich tile exactly fits into one block size? Wouldn't I get something like an approximation of the image's histogram?
I still think that this min/max function would be useful for all kinds of effects. |
|||
Posted: June 11, 2006 9:06 am | ||||
onyXMaster
Posts: 350 |
Block size is dynamic and is dependent on different factors, including output image size (with discrete steps and certain alignments) so you won't fit your tile into a single block reliably.
Actually, the rough histogram estimation is possible if the histogram source in question is sampled with a decreased resolution. But even if this hypothetic Histogram (or MinMax or whatever) component is implemented, it's actual performance hit on the filter rendering is indeterministic and so it should not be allowed. The only exception to this rule would be a histogram of the input image. For stand-alone mode we are able to determine the input image histogram (or at least min/max/median/whatever) at zero additional cost. On the other hand, the plugin mode will suffer some serious penalties for large images, since, unfortunately, hosts (i.e. Photoshop) do not make their histogram caches available to the plugins ![]() To summarize -- stand-alone mode min/max/median and other single-value curve data is relatively easy, plugin mode isn't. |
|||
Posted: June 11, 2006 12:21 pm | ||||
onyXMaster
Posts: 350 |
JFYI: I'll perform a few tests for plugin mode histogram extraction in my spare time, but don't expect anything solid in the near future.
|
|||
Posted: June 11, 2006 12:24 pm | ||||
Vladimir Golovin
Administrator |
Hmmm... I have to admit that the idea is interesting. We'll explore that on low priority.
|
|||
Posted: June 11, 2006 12:51 pm | ||||
IONclad |
I have to say, half of the operations I do is to compensate for the lack of an autolevel function. Any sort of accurate 'obtain highest lum value' or lowest etc. would be a big assistance.
a lot of problems with creating dynamic filters where you are breaking the source apart based on luminance, if the user changes the noise in the wrong way the whole 'splitting' process gets ruined. One must use curves and simply estimate the averages... any sort of balancing/normalizing tool would be AWESOME. the artist formerly known as Bongo51 |
|||
Posted: July 11, 2006 1:06 pm | ||||
Vladimir Golovin
Administrator |
We had a discussion about this feature yesterday. The current status is as follows: We still can't do any histogram-based operation that takes an unbounded procedural component as a source simply because components never gets to see the "whole image" (see my and onyXMaster's explanations above). However, onyXMaster's idea about offering histogram-based data for the input image and selection (represented by External > Image and External > Selection components) seems to be well within the practical bounds. This may lead to some overhead (as he explained above), but this isn't a showstopper. As for the implementation, we're going to explore this idea together with the unclipped HDR pipeline and HDR math components -- these things are closely related. |
|||
Posted: July 19, 2006 5:41 am | ||||
Vladimir Golovin
Administrator |
Update: The histogram-based components for extraction of minimum/maximum levels from the source image are already implemented in the current beta -- you can find them in the External category.
|
|||
Posted: October 18, 2006 10:46 am | ||||
Richard Bartlett |
I've been toying with these new components myself lately and haven't figured out how they are used.
Anyone have an example I can look at? |
|||
Posted: October 24, 2006 1:04 am | ||||
Vladimir Golovin
Administrator |
||||
Posted: October 28, 2006 9:35 am | ||||
uberzev
![]() |
Still looking for an equalize filter. Perhaps this could be a custom script?
|
|||
Posted: June 21, 2013 10:43 pm | ||||
ThreeDee
![]() |
Could be...
At least you got me to update the histogram filter with a new script-based version. |
|||
Posted: June 25, 2013 5:19 am | ||||
ThreeDee
![]() |
...and looks like making an equalize filter is pretty easy from there.
![]() |
|||
Posted: June 25, 2013 5:23 am | ||||
inujima
![]() |
Here is Equalize filter working well only a grayscale image..
But I don't know well how the photoshop equalize filter operates the RGB color image. Equalize_grayscale.ffxml |
|||
Posted: July 16, 2013 7:46 pm | ||||
Skybase
![]() |
Question: what exactly is the filter doing?
|
|||
Posted: July 17, 2013 7:56 am | ||||
inujima
![]() |
Equalize filter for RGB image has been completed.
But the speed and accuracy are not so good. Equalize.ffxml |
|||
Posted: July 20, 2013 3:37 am | ||||
inujima
![]() |
||||
Posted: July 22, 2013 10:54 pm |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,533 Posts
+38 new in 30 days!
15,348 Topics
+73 new in year!
18 unregistered users.