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 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.
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.