Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

image.h File Reference

#include <stdio.h>
#include <string>
#include "memory.h"
#include <Magick++.h>
#include <gtk/gtk.h>

Go to the source code of this file.

Compounds

struct  COLOR
class  ColorImage
struct  filter_exception
class  GrayImage

Defines

#define MAP_SIZE   256

Functions

void PixbufDestroy (guchar *pixels, gpointer data)
void new_window (GtkWidget *image, char *name)
bool is_imagefile (string FileName)


Define Documentation

#define MAP_SIZE   256
 

used in creating a histogram it is 2^sizeof(unsigned char)


Function Documentation

bool is_imagefile string    FileName
 

checks to see if the name of the file corresponds with that of an image file, simply checks the extension fo the file

Parameters:
FileName  the name of the file to check
Returns:
true if FileName corresponds to an image file name else false

void new_window GtkWidget *    image,
char *    name
 

used primarily for debugging, places a new window with the image displayed in it

Parameters:
image  the image to be displayed, this is usually produced through the toGTK() member of GrayImage or ColorImage
name  the name of the window

void PixbufDestroy guchar *    pixels,
gpointer    data
 

this function is used to delete the pixel data of all the GTK Images that are produced by the toGTK functions

Parameters:
pixels  the pixles to be destroied
data  this is unused and ignored but is needed to conforme to GdkPixbufDestroyNotify


Generated on Wed Apr 23 10:42:34 2003 for BioFilter by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002