Hi, i need to read an Image from user to a matrix in my C program. I will create a new convolution matrix, using this.
The problem is, i can't define the matrix before read the image. I don't know about C language.. any help is welcome![]()
Hi, i need to read an Image from user to a matrix in my C program. I will create a new convolution matrix, using this.
The problem is, i can't define the matrix before read the image. I don't know about C language.. any help is welcome![]()
cscience.org
gobolinux.org
Gobolinux user: 00101100
So, which bit are you having trouble with exactly? Post some code (with code tags) so we can see how far you've got.
![]()
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
He doesn't know C... hmmm...kinda sounds like HW actually
Away.
matrix = malloc( sizeof( type ) * size_x * size_y );
Presto change-o!
Quzah.
Hope is the first step on the road to disappointment.