User Profile
Collapse
-
are u know about how to convert 3D pointer to 1D pointer. Please send reply. -
suppose ur file name is spect.dat. first we study that image in program as follows
int *p;
p = sizeof(int) malloc(sizeof(i nt)*128*128*120 );
FILE *INPUT,*OUTPUT;
INPUT = fopen("spect.da t","rb");
OUTPUT = fopen("spectout put.dat","wb");
fread(p,sizeof( int)*1,1,INPUT) ;
fwrite(p,sizeof (int)*1,1,OUTPU T);
description;
line 2; suppose our image...Leave a comment:
-
No activity results to display
Show More
Leave a comment: