Image Processing using Cocoa: newbee question

2013-03-14 Thread Lars Sonchocky-Helldorf
to look for when planing to do some image data processing using Cocoa assuming that I need random access at all the data (mainly to diffuse some quantization error to nearby pixels)? thanks, Lars ___ Cocoa-dev mailing list (Cocoa-dev

Re: Image Processing using Cocoa: newbee question

2013-03-14 Thread Jeffrey Robert Kelley
. So what would be the appropriate stuff to look for when planing to do some image data processing using Cocoa assuming that I need random access at all the data (mainly to diffuse some quantization error to nearby pixels)? thanks, Lars

Re: Image processing in Cocoa

2008-09-26 Thread Helder da Rocha
Since you can't use NSImage, you could try Core Image. You can do all that with CGImage in your restricted environment. You can use a bitmap or layer context and then later render it on whatever view you wish. There is a good Core Graphics Quartz tutorial at

Re: Image processing in Cocoa

2008-09-25 Thread Christian Giordano
Hi Helder, I found this post that can be really helpful when I will have to do my pixel operations: http://www.rodgutierrez.com/blog/2008/07/how-to-create-a-rgba-cgimagere.html I still have to find how to draw an CGImageRef in another one regardless the current context, I'm still wondering if

Re: Image processing in Cocoa

2008-09-25 Thread Christian Giordano
I think I found what to do. I need to create a bitmap context from the bitmap and drawing there. It makes sense that everything drawn is handled by contexts of course, I'm just a bit concerned about performances. Thanks, chr On Thu, Sep 25, 2008 at 7:35 AM, Christian Giordano [EMAIL PROTECTED]

Re: Image processing in Cocoa

2008-09-25 Thread David Duncan
On Sep 25, 2008, at 3:52 AM, Christian Giordano wrote: I think I found what to do. I need to create a bitmap context from the bitmap and drawing there. It makes sense that everything drawn is handled by contexts of course, I'm just a bit concerned about performances. Internally NSImage will

Image processing in Cocoa

2008-09-24 Thread Christian Giordano
Hi guys, is there some good tutorial around about how to manipulate bitmaps in Cocoa? I would be interested on: - copy portion of image over another with a mask (this should be pretty straight forward with quartz2d) - apply threshold - apply effects like blur Not sure if some of this, like the

Re: Image processing in Cocoa

2008-09-24 Thread Mike Abdullah
On 24 Sep 2008, at 10:50, Christian Giordano wrote: Hi guys, is there some good tutorial around about how to manipulate bitmaps in Cocoa? I would be interested on: - copy portion of image over another with a mask (this should be pretty straight forward with quartz2d) [[NSImage alloc]

Re: Image processing in Cocoa

2008-09-24 Thread Christian Giordano
Thanks Mike, I can't use NSImage (guess why) but a subset. Btw, the problem I have is that I have a view which contains an image. I would like to draw in the image, not in the container view so I need to provide to the draw method the image context. Is this a good approach or all the drawing