Search:

Type: Posts; User: vkoo

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    3,987

    anybody?

    anybody?
  2. Replies
    5
    Views
    3,987

    ^^ thanks for your advice..i'll look into it ...

    ^^ 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),...
  3. Replies
    5
    Views
    3,987

    how to display pixel data

    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...
  4. Replies
    25
    Views
    8,777

    thsi is awesome...thank you so much...

    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!
  5. Replies
    25
    Views
    8,777

    thanks Zaltko...i appreciate all your efforts...

    thanks Zaltko...i appreciate all your efforts already! i'll be around...i'm EST too
  6. Replies
    25
    Views
    8,777

    is that the hex of the rar file? for the...

    is that the hex of the rar file?

    for the OCT_512_512_64.IMG file, i have:

    4F43545F496D6167 6573446174615F5F
    4000000000020000 0002000040060000
    0100000000040000 28000400101B0000 ...
  7. Replies
    25
    Views
    8,777

    actually, your suggestion with declaring just a...

    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...
  8. Replies
    25
    Views
    8,777

    thanks for your help! here is my latest main:...

    thanks for your help!

    here is my latest main:


    int main(int argc, char* argv[])
    {
    if(!InitCUDA()) {
    return 0;
    }
  9. Replies
    25
    Views
    8,777

    true true...thanks i've fixed that...but my long...

    true true...thanks i've fixed that...but my long integer is just reading the wrong numbers and throwing random numbers back at me...
  10. Replies
    25
    Views
    8,777

    oh ic...that's right...that makes a lot more...

    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*...
  11. Replies
    25
    Views
    8,777

    i just thought that previously if i'm reading in...

    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...
  12. Replies
    25
    Views
    8,777

    so i want: long* temp; temp =...

    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...
  13. Replies
    25
    Views
    8,777

    the sizeof(long)*4 is just telling fread() to...

    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....
  14. Replies
    25
    Views
    8,777

    reading long integer from binary file

    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;
Results 1 to 14 of 14