I have a patch that adds an RMS Difference method to the PIL.
Let me know if there is any interest in this. I originally wrote this to
help implement a video stabilization filter. You could also use
this to quantify how much a lossy compression algorithm distorts
an image relative to some other com
How can I set the absolute white or black level of an image?
I want all pixels above or below a certain value clipped.
For example, I want all pixels brighter than 200 to be set to 255
(assuming an 8-bit gray-scale image).
It seems like ImageOps.autocontrast(image, cutoff=0) is close
to what I wan
I'm adding a difference_rms(im1, im2) method to ImageChops.
It's fast and works with 1-bit BW, 8-bit gray, and 24-bit color.
I plan to post patches to this group when I'm done testing.
I have gotten only a little bit familiar with the C code. My concern
at this point is the proper way to raise exce
Is there a mechanism for submitting patches?
I added a method to return the average difference between
two images as a single scalar value. This is useful for
calculating motion offsets and detecting scene changes.
Yours,
Noah
___
Image-SIG maillist -