Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197850

Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting

From Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de>
Newsgroups rec.photo.digital, alt.comp.os.windows-10, comp.lang.python
Subject Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting
Date 2026-08-01 11:48 +0200
Organization A noiseless patient Spider
Message-ID <lvr0km-235.ln1@lazy.lzy> (permalink)
References (2 earlier) <114frd8$2okp$1@nnrp.usenet.blueworldhosting.com> <pqvtjm-u55.ln1@lazy.lzy> <114j5su$4kq$1@nnrp.usenet.blueworldhosting.com> <114j8pa$34k3s$2@dont-email.me> <114ja7g$2elo$1@nnrp.usenet.blueworldhosting.com>

Cross-posted to 3 groups.

Show all headers | View raw


On 01/08/2026 01.13, Maria Sophia wrote:
[...]

I'm under the impression there is some
confusion here.

De-noising algorithms, like BM3D or any
de-noising auto-encoder, de-noise just
one image.
There is no temporal noise involved, it
is only spatial, since the algorithms
see only one, single, image.

There are temporal de-noising algorithm
which could be applied to video sequences,
but this does not seem to be the case here.

On the other hand, PRNU will have some
spatial statistical properties, even if
it is fixed for a given sensor.

Now, assuming we have some PRNU from some
unrelated sensor (meaning we can generate
a spatial noise with same statistical
properties), it would be possible to
consider to apply this noise ("apply", not
"add") to a given image.

This means the effective PRNU will be the
combination ("combination", not "sum") of
two PRNUs, resulting in a new fingerprint,
different from the original one.

So, de-noising is not really needed, but it
might be helpful to reduce / remove / modify
the original PRNU, so that the applied one
will be more evident.

The point here is that the image content
will not be altered too much, so quality
will be somehow preserved.
Different than blurring or resizing.

If you do not like BM3D, you can look, as
mentioned above, into de-noising auto-encoders.
These will be even more aggressive in removing
the PRNU content (maybe with more damage to
the overall image).

Finally, consider the "simple" case of generative
algorithm (AI stuff, so to speak).
These could (YMMV) generate image *without* any
PRNU, similar or identical to the one taken
with the camera.
So, the fingerprint will be gone (maybe there will
be another one from the AI).

It seems to me there is a lot to explore way
beyond the simple image modification algorithms.

bye,

-- 

piergiorgio

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PSA Using Python Pillow to foil camera image PRNU fingerprinting Maria Sophia <mariasophia@comprehension.com> - 2026-07-29 22:22 -0700
  Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-07-30 08:06 +0000
    Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Maria Sophia <mariasophia@comprehension.com> - 2026-07-30 07:42 -0800
      Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-07-30 21:03 +0000
        Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Maria Sophia <mariasophia@comprehension.com> - 2026-07-31 14:10 -0800
          Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Maria Sophia <mariasophia@comprehension.com> - 2026-07-31 14:51 -0800
            Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Maria Sophia <mariasophia@comprehension.com> - 2026-07-31 15:02 -0800
      Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2026-07-31 09:35 +0200
        Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Maria Sophia <mariasophia@comprehension.com> - 2026-07-31 13:59 -0800
          Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-07-31 22:49 +0000
            Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Maria Sophia <mariasophia@comprehension.com> - 2026-07-31 15:13 -0800
              Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> - 2026-08-01 11:48 +0200
                Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Maria Sophia <mariasophia@comprehension.com> - 2026-08-01 09:42 -0800
                Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Maria Sophia <mariasophia@comprehension.com> - 2026-08-03 09:28 -0800
                Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Chris <ithinkiam@gmail.com> - 2026-08-02 17:48 +0000
                Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Maria Sophia <mariasophia@comprehension.com> - 2026-08-02 11:18 -0800
                Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-08-02 22:54 +0000
                Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Maria Sophia <mariasophia@comprehension.com> - 2026-08-03 09:20 -0800
                Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Chris <ithinkiam@gmail.com> - 2026-08-03 17:50 +0000
                Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting Maria Sophia <mariasophia@comprehension.com> - 2026-08-20 09:03 -0800
                Re: PSA Using Python Pillow to foil camera image PRNU fingerprinting danny burstein <dannyb@panix.com> - 2026-08-20 17:28 +0000
                How to increase your "Convincingness" [Anthropic AI Text Hacked] (Was: PSA Using Python Pillow to foil camera image PRNU fingerprinting) Mild Shock <janburse@fastmail.fm> - 2026-08-20 19:30 +0200

csiph-web