Skip navigation
Currently Being Moderated

How to create a filter to do a bitmapdata compare and another to do a threshold?

Apr 25, 2012 9:33 PM

Tags: #compare #bitmapdata #threshold

I am new to PixelBender. I have looked at it many times in the last few years, but I can understand how it works.


I want to compare a large number of images and I would like to try PixelBender to create a filter that does the same thing as the

I think PB should be faster.


Also, I want to create a filter equivalent to the AS3 BitmapData threshold() method.


Any suggestions on how I can do those 2 filters?

  • Currently Being Moderated
    May 4, 2012 11:27 AM   in reply to Gil1

    I tried a few different formulations with the pixel bender toolkit and you're right that something is wonky.  I think the scaling in the toolkit might be the issue rather than the flash code itself.  It appears to treat the first and second images differently, which is a bug.


    Have you tried running your filter in a flash program, rather than via the toolkit?




    Mark as:
  • Currently Being Moderated
    May 4, 2012 1:23 PM   in reply to Gil1

    Can you post the actionscript you are using?  The Flash pathway in the PixelBender toolkit seems to be broken for this scenario, but I may be able to debug via your program.




    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points