ssamm |
This was just something I stumbled across while being involved in the "'curves' options" thread in the Creating Filters forum.
I was finding it odd when the threshold component made various gray lines when it did. I'll attach an example filter below (as it's easier than describing with words). It's not really a problem for me, but I thought I'd mention it here for information's sake. thresholdweirdness.ffxml |
|||
Posted: May 30, 2007 3:12 am | ||||
Vladimir Golovin
Administrator |
At first we thought that this is a bug, but I've taken a closer look and now I think this is normal. Your filter creates a situation when the Threshold component at every pixel is forced to compare two almost identical values of Source and Threshold. Due to the fact that these two values are calculated using different computation paths, they aren't exactly identical -- there are very very small differences between them, and these differences is the cause of the artifacts you're seeing.
|
|||
Posted: June 4, 2007 6:59 am | ||||
ssamm |
Yeah, that seems to make sense. The slightest discrepancy could cause parts of the source to be over or under the threshold value -- that would account for there being lines here and there rather than it being entirely white or something.
But I'm curious why the lines would turn up gray (rather than the extreme white or black that the high and low colors are set to)? (It's just a curiosity on how the program works -- I'm not sure I'd understand the explanation even if I was told it though. ![]() |
|||
Posted: June 4, 2007 4:32 pm | ||||
Alexey Matsinin
Posts: 13 |
Menu -> Filter -> Anti-aliasing -> Off ![]() |
|||
Posted: June 5, 2007 2:20 am | ||||
ssamm |
Ha, I guess the grayness explanation was simpler than I thought. Thanks Alexey.
![]() |
|||
Posted: June 5, 2007 9:33 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,712 Registered Users
+19 new in 30 days!
153,534 Posts
+27 new in 30 days!
15,348 Topics
+72 new in year!
26 unregistered users.