Re: NSCollectionView and drag tolerance

2009-11-03 Thread Raphael Sebbe
ist. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/raphael.sebbe%40gmail.com > > This email sent to raphael.se...@gmail.com > -- Raphael Sebbe Creaceed — Creative i

Re: Drawing to two CALayers at once (or pretend to)?

2010-12-27 Thread Raphael Sebbe
to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/raphael.sebbe%40gmail.com > > This email sent to raphael.se...@gmail.com > -- Raphael Sebbe Cr

Re: Very basic Bindings question

2008-09-24 Thread Raphael Sebbe
Hi, here is how accessors should be defined. Watch the case too. file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/Compliant.html HTH Raphael On Wed, Sep 24, 2008 at 1

Re: [Ann] DMG Canvas

2008-04-23 Thread Raphael Sebbe
seems fine, cannot try it though:bzip2: (stdin): trailing garbage after EOF ignored the dmg won't mount. Is it me ? Raphael On Tue, Apr 22, 2008 at 11:58 PM, Ricky Sharp <[EMAIL PROTECTED]> wrote: > > On Apr 22, 2008, at 2:00 AM, Seth Willits wrote: > > Off topic, I admit, but y'all being fell

Re: NSBitmapImageRep bitmapData contains all zeroes?

2008-04-25 Thread Raphael Sebbe
Hi, how do you "convert" CIImage to NSBitmapImageRep ? Raphael On Fri, Apr 25, 2008 at 4:34 PM, Nick Forge <[EMAIL PROTECTED]> wrote: > I am working on a Computer Vision project that uses real-time image > processing. I am grabbing frames using QTKit, then converting the resulting > CVImageBuffe

Re: Blob Detection with Core Image

2008-05-06 Thread Raphael Sebbe
I understand, processing is made on CPU anyway. The overhead you get is because you duplicate (or redraw) the image before processing it. I believe you actually get a CVImageBufferRef from QTKit, not a CIImage, which resides in memory (not VRAM, as it comes from a camera anyway). You could get acc

CATiledLayer synchronization problem

2009-02-27 Thread Raphael Sebbe
Hi the list, Using CATiledLayer lately, which works great except for one thing. :::Main Thread::: [tiledLayer setNeedsDisplay] [model change] [tiledLayer setNeedsDisplay]; // not all tiles have been drawn at this point :::Tiled Layer Thread::: [delegate drawLayer...] Invoking second setNee

Re: Mirror...rorriM

2008-10-08 Thread Raphael Sebbe
Yes Apple did so. CIAffineTransform. Raphael On Thu, Oct 9, 2008 at 5:09 AM, M Pulis <[EMAIL PROTECTED]> wrote: > Anyone developed a mirror Image Unit? > > Just the kernel code and ROI would be enough. Would rather not re-invent > what seems to be a wheel someone may already have written (like Pi

Re: When does Cocoa fall apart? (Run loops)

2008-10-22 Thread Raphael Sebbe
in the latter, are you in a secondary thread? This could explain your problem.Otherwise, I did not experience that lately. Best, Raphael On Wed, Oct 22, 2008 at 6:05 AM, Chris Idou <[EMAIL PROTECTED]> wrote: > > I noticed with the below discussed isEnabled bindings problem that if I do: > > [ob

Re: Signature Recognition in Cocoa

2008-11-03 Thread Raphael Sebbe
If you have access to the temporal sequence of events (not just final image), DTW (Dynamic Time Warping) could be an easy approach. You would have to choose features (pressure, location, speed, acc) with respect to time, then record a few "templates" for the reference signature. The output of the D

Re: Custom view controller

2008-11-05 Thread Raphael Sebbe
Binding to the file's owner has the side effect of retaining it. Owner owns the view, the view owns the owner through binding -> this is a retain cycle. Another thing that may interest you is that top-level objects in a nib should be explicitly released when no NSWindowController is used to load t

Re: Forcing garbage collection, freeing up memory, thrashing

2008-11-05 Thread Raphael Sebbe
Hi, Just in case: did you invoke -[super finalize] in your own objects' -finalize? Raphael On Wed, Nov 5, 2008 at 1:20 AM, Bill Bumgarner <[EMAIL PROTECTED]> wrote: > On Nov 4, 2008, at 3:51 PM, Sean McBride wrote: > >> Thanks very much for your reply Bill. >> >> I'm afraid one of us is misunder

Re: Garbage collection and root objects

2008-11-28 Thread Raphael Sebbe
Hi, what makes you think the document is becoming invalid? You don't have to mark it in any way, if the document is open, it is stored in the documentController which is itself hooked by some GC root. Can you give more information? Raphael On Fri, Nov 28, 2008 at 3:56 PM, Thomas Davie <[EMAIL P

Re: CIImage resize optimisation

2009-04-14 Thread Raphael Sebbe
Hi, well if you look at the entire pipeline, it may well be something like this: yuv->resize to 640x480->RGB->GL texture upload->lanczos filtering to 320->(either on screen, or bus reading for file writing) You may have 2 resize ops and a GPU upload (and download?) which are all expansive. I can