hey guys,can anyone tell me what is image processing,
how to do it using C.
IN KSHITIJ 2007 held at IIT kgp a que by INFOSYS is asked,
they hav given an image then cut in different orientation ,put in a
abstract(unordered) manner & asked to jumble it using C
PROGRAMMING to get the real image.
Image processing in C is easy. Basically
void processimage(unsigned char *rgb, int width, int height)
{
/* code goes here - eg to make image black call memset */
}
There is no standard library for displaying images, but plenty of
platform-specific ones. You can also write the image as a BMP or, if
adventurous, GIF, TIFF or JPEG.
In your case you need to do Fourier transforms to find joins that don't
produce a high-frequency spike, caused by the mismatch. There is plenty of C
code on the net that does this sort of thing, but it really become an
algorithms rather than a C question.
Because image processing tends to be processor-intensive, C is the language
of choice. You might like to look at BASICdraw, however, on my website. This
allows some simple image processing in BASIC. Theoretically you could do a
fast Fourier transform with it, but really that would be stretching it too
far.