anybody?
Type: Posts; User: vkoo
anybody?
^^ thanks for your advice..i'll look into it
anyone else? does anyone have experience with openCV?
right now i have this in openCV:
IplImage* myimage = cvCreateImage(cvSize(width,width),...
Hi,
I have an array of pixel data which i want to display. How should I go by doing this? The pixel data (an image frame...about 262144 bytes) has a resolution of 512 by 512 displaying at 255...
thsi is awesome...thank you so much cactus_hugger and Zlatko...you guys have really showed patience in explaining my problem to me
thank you so much! it works now!
thanks Zaltko...i appreciate all your efforts already! i'll be around...i'm EST too
is that the hex of the rar file?
for the OCT_512_512_64.IMG file, i have:
4F43545F496D6167 6573446174615F5F
4000000000020000 0002000040060000
0100000000040000 28000400101B0000 ...
actually, your suggestion with declaring just a long and not long* was one of the first things I've used when writing this part of the program. But it returns the same thing (in this case, 0)
for...
thanks for your help!
here is my latest main:
int main(int argc, char* argv[])
{
if(!InitCUDA()) {
return 0;
}
true true...thanks i've fixed that...but my long integer is just reading the wrong numbers and throwing random numbers back at me...
oh ic...that's right...that makes a lot more sense but it still doesn't work...i'm still having problems:
int main(int argc, char* argv[])
{
if(!InitCUDA()) {
return 0;
}
char*...
i just thought that previously if i'm reading in a long type...i read in a long type and save it to the address of a long variable
i'm just clueless why this doesn't work..it's not like it has a...
so i want:
long* temp;
temp = (long*)malloc(sizeof(long));
fread(temp, sizeof(temp), 1, file);
to read in a 4 byte long integer then? i'm trying that right now...it's still wrong so i...
the sizeof(long)*4 is just telling fread() to read 4 bytes at a time. so: fread(test, sizeof(long)*4 , 1, file) means it will read 1 block of 4 bytes once...unless i'm confused with this part....
hi all,
I'm having trouble reading a long integer from a binary file. The long int is 4 bytes long.
i have, for example:
byte_t bytes_read;
long temp;