graphics filters

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
samaelek
Forum Newbie
Posts: 2
Joined: Wed Aug 01, 2007 7:13 am

graphics filters

Post by samaelek »

Hello,
I have a program to write which is supposed to perform image adjustment for
medical/diagnostic purposes, and I have a problem with a number of filters
I need to use:

- image despeckle filters: median, high- and low-pass
- morphological transformations: erosion, dilatation
- White Top Hat
- negative
- binarization

Does anyone know where I could take a look at algorithms like that, as I
need at least some hints that would help me finish the program. Ideally,
maybe they're available to download somewhere.

Thanks in advance. :)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Most of those use convolution matrices for the image manipulation, with some various algorithmic operators thrown in.
samaelek
Forum Newbie
Posts: 2
Joined: Wed Aug 01, 2007 7:13 am

Post by samaelek »

Thank you - though I was actually hoping for some more practical examples of those filters and their application. I already know that this matrix is used there; what I really need are the algorithms or examples of such filters as those I need (mentioned in the first post) that I could look at to code my own, or to use in coding mine.
programmingjeff
Forum Commoner
Posts: 26
Joined: Fri Jan 05, 2007 10:56 am

Post by programmingjeff »

Take a look at the phpThumb library for some of your transformations. It may save you from having to manually code some of the transformations.

http://phpthumb.sourceforge.net/demo/de ... o.demo.php
Post Reply