Saturday, January 7, 2012

Convolutive Filters Using ActionScript 3.0 ( DIP )

Hi guys,
Preview: Convolutive Filters ( DIP ) Using Flash AS3.0
Here is a little utility to test various filters convolved over an image. I was inspired from my degree course work , Digital Image Processing . I always loved image processing techniques and wanted to do my final year project in DIP field , but could noot :( . So I spent a good amount of time on making some "testing" tool , though making GUI swallowed most of the time :P
So when studying Arthematic Filters in DIP , there are some filters,Masks or Windows ,which,when convolved over Input image, gives amazing ouput image results . I have given values for some Filters ( 3x3 matrix ) to be applied on Input Image. I found these values from my course book and from The Internet .You can define your own filter Matrix values to be applied on input image and see how it turns out.



How To Use
  • Browse Image and select any JPG or PNG file , Bitmap ( .BMP ) files are not supported in Flash.
  • Select Pre-defined filters to apply immediately on the image
  • Customise 3x3 matrix  values , and then click Apply Filter to convolve your filter over the image
  •  Divisor: The result of convolution will be divided by this divisor number .
  • Bias: This value is added to the division result. This is useful if result may be negative. Bias value can be negative. 
  • Invert Processed Image: If checked,the image after convolving with Filter will be inverted.
  • Blending: The orignal image is redrawn with the convolution output image(Normal or Inverted) , No or following blend modes:
  1. Difference
  2. Invert
  3. Multiply
  4. Overlay
  5. Subtract
  6. Add
  • You can download the final image , as displayed on canvas , as PNG file .

    And don't forget to post comments if u are Willing ...
    Enjoy . . .
You need FlashPlayer 10.2(minimum) or newer verion to run this utility.

Goto To Online App



No comments:

Post a Comment