Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void convolution (image*img){
- int x=img->sizeX;
- int y=img->sizeY;
- pixel** newTab = (pixel**)malloc(sizeof(pixel)*y); // on alloue une nouvelle matrice de même dimensions
- for (int i=0; i<x;i++){
- newTab[i]=(pixel*)malloc(sizeof(pixel)*x);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement