YOUR ACCOUNT

Login or Register to post new topics or replies
xirja
Idididoll Forcabbage

Posts: 1698
Filters: 8
I'm getting a most unusual pixelation using a simple modulo (floor subtract) operation
_____________________________________________________

http://web.archive.org/web/2021062908...rjadesign/
_____________________________________________________
  Details E-Mail
xirja
Idididoll Forcabbage

Posts: 1698
Filters: 8
Oddly it seems to be related only to the export of an image.

Try the following with the attached filter:


1. Load any image into 'Source A'

2. Make sure the switch is set to 'Encrypt'

3. Save the output. Open the filter to see the unconnected reverse operation yield the original image.

4. Load the output into 'Source A'

5. Set the switch is set to 'Decrypt'


A real puzzle here, as there are also different results depending on the exported bit depth.

RoundingErrorTest.ffxml
_____________________________________________________

http://web.archive.org/web/2021062908...rjadesign/
_____________________________________________________
  Details E-Mail
xirja
Idididoll Forcabbage

Posts: 1698
Filters: 8
Image

_____________________________________________________

http://web.archive.org/web/2021062908...rjadesign/
_____________________________________________________
  Details E-Mail
xirja
Idididoll Forcabbage

Posts: 1698
Filters: 8
Forgot to mention that its best to use a high contrast / B&W image to see the problem clearly, like the one above.
_____________________________________________________

http://web.archive.org/web/2021062908...rjadesign/
_____________________________________________________
  Details E-Mail
xirja
Idididoll Forcabbage

Posts: 1698
Filters: 8
Perhaps this post should be in 'Bugs and Problems (Mac)', but I haven't been able to test this on another platform yet. I'm guessing however that it is either a general FF export problem or an OS issue.

Any ideas official or otherwise on what this problem is? So bizarre that the result internally is good; its only the file encoding/decoding on save/open that generates the error.

I'm afraid I'll have to... go ask apple, when I'm two feet tall. smile:D

Here's hoping this isn't some sort of http://en.wikipedia.org/wiki/Printer_steganography
_____________________________________________________

http://web.archive.org/web/2021062908...rjadesign/
_____________________________________________________
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
xirja, I didn't test this in full detail, but I'd like to point out that FF uses dithering when reducing bit depth from double-precision floats to 8 or 16 bit. Could you please try to turn dithering off and repeat your test?

  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Here's the relevant help quote on Filter Forge dithering:

Quote
Use output dithering

When turned on, the renderer applies dithering to the output image. Dithering is a method of simulating shades that are absent in the color palette by mixing pixels of the nearest colors available in the palette. Dithering helps reduce unwanted artifacts known as color banding that occur in color gradients during the conversion from the internal Filter Forge color depth (double-precision floating point) to the target color depth (usually 8 or 16 bit per channel). Filter Forge uses noise-based dithering (as opposed to pattern-based dithering).
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Also, you could try to use .OpenEXR or .PFM as intermediate file formats: they both are floating-point (though, sadly, not double-precision, if I remember correctly).
  Details E-Mail
xirja
Idididoll Forcabbage

Posts: 1698
Filters: 8
Even keeping the 'output dithering' on and using the 'float' formats of a tiff or exr or pfm does the trick, thank you! smile:D
_____________________________________________________

http://web.archive.org/web/2021062908...rjadesign/
_____________________________________________________
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Glad to hear that this solved the problem!

(Which reminds me to consider support for OpenEXR 2.0)
  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
+19 new in 30 days!

153,538 Posts
+7 new in 7 days!

15,348 Topics
+72 new in year!

Create an Account

Online Users Last minute:

34 unregistered users.