Search:

Type: Posts; User: sezaru

Search: Search took 0.00 seconds.

  1. Re: How to get neighborhood pixels with shared memory

    Hello notzed, thanks for the reply, but unfortunely I can't figure out what you mean in your example, Could you please clarify this example for me ?

    I've tried somethings on my own too, but the...
  2. How to get neighborhood pixels with shared memory

    Hello Guys,

    I have some image manipulation algorithms that I have converted to OpenCL, the problem is that a lot of these algorithms uses masks, normally 3x3 masks, for example the sobel...
  3. Replies
    4
    Views
    1,657

    Re: how do work-groups affect performance?

    Hello there, sorry for asking this in your topic David, but I fount this multiple buffering a very nice technique, but I have a question about it, in David example he reads the image from memory and...
  4. Replies
    8
    Views
    2,105

    Re: Better way to get neighborhood on image2d_t?

    Ok, I'm so stupid... I found the problem, I simply forgot that read_imagef returns a value in the range [0.0... 1.0]... an simply 255 * read_imagef resolved the problem..

    Thanks a lot for the help...
  5. Replies
    8
    Views
    2,105

    Re: Better way to get neighborhood on image2d_t?

    what is happening is that I'm not sure if the read_imagef is returning the right pixel to me.
    I'm making a kernel to do anisotropic diffusion in opencl, I have an somehow working version using...
  6. Replies
    8
    Views
    2,105

    Re: Better way to get neighborhood on image2d_t?

    Sorry, I didn't got what you mean as "normal" memory buffer, I'm really new to opencl.
  7. Replies
    8
    Views
    2,105

    Re: Better way to get neighborhood on image2d_t?

    Yes but in the end the result will be the same and I think it will be a little slower with a loop, what I really want is some way to get the 3x3 neighborhood of the pixel without calling read_imagef...
  8. Replies
    8
    Views
    2,105

    Better way to get neighborhood on image2d_t?

    Hello guys, I have a kernel to manipulate a image, I'm using image2D to do it and I need to get the neighborhood pixels of the actual pixel, the way i figured out to do it was this way:


    float4...
  9. Replies
    0
    Views
    1,055

    Getting wrong values from image2d_

    Hello guys, I'm new to OpenCL and trying to write a program that will simply copy an image2d buffer to another one, the problem is that the values on the returned image are totally different from the...
Results 1 to 9 of 9