Adam wrote:
>
Im lookin for a code in C wchich would handle the subject, I searched
all the web and didnt find nothing. I need to make a lap-mpi wersion of
the opening and closing. I need only the code for dilation and erosion
- for my class i nedd to implement it into an lap-mpi wersion. my
proffessor said I would find the code for opening and closing a bitmap
on the net but i just cant find any, so im asking you guys if anyone
could slip it here i would be moust thankfull.
#include <stdio.h>
void bitmap(void *bitmaptr) {
if (!bitmaptr) puts("Code for bitmap here");
}
void erosion(void *erosionp) {
bitmap(erosionp);
puts("code for erosion here");
}
void dilation(void *dilation) {
erosion(dilation);
puts("Baby is not yet ready");
}
int main(void) {
dilation(NULL);
return 0;
}
Should compile and run immediately. Meets all the specifications.
--
"The power of the Executive to cast a man into prison without
formulating any charge known to the law, and particularly to
deny him the judgement of his peers, is in the highest degree
odious and is the foundation of all totalitarian government
whether Nazi or Communist." -- W. Churchill, Nov 21, 1943