YOUR ACCOUNT

Login or Register to post new topics or replies
ssamm
Posts: 364
Filters: 21
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
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
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.
  Details E-Mail
ssamm
Posts: 364
Filters: 21
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. smile:))

  Details E-Mail
Alexey Matsinin
Filter Forge, Inc.
Posts: 13
Quote
ssamm wrote:
But I'm curious why the lines would turn up gray...


Menu -> Filter -> Anti-aliasing -> Off
smile;)
  Details E-Mail
ssamm
Posts: 364
Filters: 21
Ha, I guess the grayness explanation was simpler than I thought. Thanks Alexey. smile:)
  Details E-Mail

Join Our Community!

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!

Create an Account

Online Users Last minute:

26 unregistered users.