Lubomir Bourdev

Show:

What's happening?

  • Christian Henning is now a GIL author

    I am happy to announce that we have invited Christian Henning to join the GIL project as an official GIL author. Although many people have contributed to GIL over the years, very few have done as much as Christian. One of his major projects is a rewrite of gil::io which is currently awaiting boost review. Christian, thank you for all your past contributions and we are looking forward to...

    2009-10-19 04:46:28 UTC in Adobe Source Libraries

  • Followup: RE: Another problem whit any_image

    resize_view changes resamples the image to different dimensions. It does not do anything else, such as color conversion. It requires that both images are compatible (sample color space and channel types). In your case out_image is gray8 and you are reading from disk another image type. You need to convert it to gray8 first.

    2009-07-17 16:33:34 UTC in Adobe Source Libraries

  • Followup: RE: any_image_view

    The correct solution is listed in your list. any_image<supported_img_types>::view_t av1 = view(a); // OK any_image<supported_img_types>::const_view_t cav1 = const_view(a); // OK This is how to get any_view from any_image. What am I missing? Lubomir.

    2009-07-16 07:33:47 UTC in Adobe Source Libraries

  • Followup: RE: rotation not working

    I tried it and it worked fine for me. Are you sure you are looking at the output image?.

    2009-06-30 21:13:05 UTC in Adobe Source Libraries

  • Followup: RE: Color conversion

    Hi, The way to resolve your problem is to look at the APIs for the view transformation functions. They tell you the returned types. Lubomir.

    2009-06-29 18:19:16 UTC in Adobe Source Libraries

  • Followup: RE: Need help with GIL

    Greg, You don't want to use rgb8_image_t. You want to use rgb8_view_t: row_bytes = width*3; rgb8_view_t v = interleaved_view(width,height,(rgb8_pixel_t*)data, row_bytes);.

    2009-06-29 07:34:42 UTC in Adobe Source Libraries

  • Followup: RE: modifyin mandelbrot example to get some color

    Charles, Try changing: typedef gray8_pixel_t value_type; to typedef rgb8_pixel_t value_type; And operator() should now return an RGB value: From: return value_type((bits8)(pow(t,0.2)*255)); it should now be: return value_type((bits8)(pow(t,0.2)*255, GREEN, BLUE)); (replace GREEN and BLUE with whatever you want there) rgb8 stands for 24 bit RGB pixel...

    2009-06-29 07:31:22 UTC in Adobe Source Libraries

  • Followup: RE: View conversion...

    You want to cast the values of the channels to float? So if it is uint8 you want the result to be from 0.0f to 255.0f? There is no built-in operation for this. You can just do explicit loop to do that, or you can make your own color conversion to perform a cast instead of linearly convert the channels. See the design guide on how to make your own color conversion. Lubomir.

    2009-06-29 07:26:42 UTC in Adobe Source Libraries

  • Followup: RE: rotated90ccw_view

    Hi, You should be able to treat rotated view just like any other view. The only catch is that some view transformation functions (including rotated90ccw_view) return a different view type so unless you pass directly to a function that takes a templated view, you must specify the view type in your return variable (until the "auto" keyword becomes widely used). The best way to know...

    2009-06-29 07:19:13 UTC in Adobe Source Libraries

  • Followup: RE: Slow copy_and_convert_pixels to wxImage

    Hi Che, Can you post your color conversion code before GIL? Also unless you compile in release mode (optimizations=on) GIL tends to run slower than manually written code. Lubomir.

    2009-06-29 07:09:11 UTC in Adobe Source Libraries

About Me

  • 2007-01-02 (3 years ago)
  • 1681262
  • lbourdev (My Site)
  • Lubomir Bourdev

Send me a message