The API header files are given here.
You are supposed to include this header file in your source and follow
this API. Implement the API exactly as given. In case you feel there
are inconsistencies in the API report the same immediately.
If you have trouble figuring out the comments in the
API, here is a doxygen
generated documentation of the same.
Put all your source in a dtImage.cc file. If you do not
want to put everything in one source file, use the given header file
as a wrapper over your headers.
Make sure that you conform to the most current version
of this API. Last API Revision done on : 4 Sep, 2:25 pm
This version of DipTools works using
ImageMagick. ImageMagick is to be used only for reading, writing and
displaying the images. Do NOT image transform functions from
ImageMagick.
ImageMagick is installed on all the intel cluster machines.
The documentation for ImageMagick may be found in /usr/share/doc/ of your machines.
The Library -
Use ar to generate a libdiptools.a library. Here is one way to do it -
ar -r -ps libdiptools.a $(OBJS)
where $(OBJS) is a collection of all your *.o files. Read the ar man page to understand that command.
Another option is to use ld with the -shared option to make shared libraries.
Read the ld man page to figure out how to do this.
The Frontend
Use Ncurses to develop simple frontend application for your library.
The frontend should allow the user to load images and access all the functions in the API.
Do not mangle the API in any way. It will be tested
with a test application and if the application does not run marks will
be deducted.
Your code must work in Fedora Core 2 Linux,
which is installed on all the intel lab machines.
Make sure your code does not generate compile time errors or warnings.
Complie using the -Wall option.
You must use Makefiles for compilation. Compilation
errors will be penalized heavily. If you do not know how to use makefiles
read Make documentation here.
Coding on Windows, OS X etc. is forbidden !!
Do NOT code in C. The API is in C++ - learn to use the language !!
Report
Make a html report of the results of various functions
you implement illustrating their effects on various images.
CS783 : Digital Image Processing Course , Semester I : 2004-2005,
Department of Computer Science and Engineering, IIT Delhi.