• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Background CIFilter processing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Background CIFilter processing?


  • Subject: Re: Background CIFilter processing?
  • From: Tamas Nagy <email@hidden>
  • Date: Wed, 05 Nov 2014 07:55:09 +0100

Great, you’re welcome!

Tamas

> On 05 Nov 2014, at 05:55, Carl Hoefs <email@hidden> wrote:
>
> Thanks for the pointers, Tamas! Got it working by using [NSCIImageRep imageRepWithCIImage:] and then [NSImage addRepresentation:]
>
> -Carl
>
> On Nov 3, 2014, at 2:18 PM, Tamas Nagy <email@hidden <mailto:email@hidden>> wrote:
>
>> Well, no Video Input patch is exists with CIFilters, maybe you are talking about Quartz Composer?
>>
>> Anyway, you will need an OpenGL context for the CIFilters, but that should not be a problem - just don’t forget to set the NSOpenGLPFAOffScreen attribute when you will create your NSOpenGLContext instance. Or you can use a CG context too - but that depends on where your image data come from.
>>
>>> On 03 Nov 2014, at 21:48, Carl Hoefs <email@hidden <mailto:email@hidden>> wrote:
>>>
>>> Awesome!
>>>
>>> The only general restriction would be in using something like the Video Input patch, correct? As far as I can tell, that patch needs to render somewhere in real time or it outputs nothing. But my application is only for processing image data in memory.
>>>
>>> -Carl
>>>
>>> On Nov 3, 2014, at 1:37 PM, Tamas Nagy <email@hidden <mailto:email@hidden>> wrote:
>>>
>>>> No, CIFIlters should work fine in background processes.
>>>>
>>>>> On 03 Nov 2014, at 21:29, Carl Hoefs <email@hidden <mailto:email@hidden>> wrote:
>>>>>
>>>>> I’m developing a background daemon server process (Cocoa, OSX 10.10) that will process (analyze, segment, classify) an image sent to it on demand, and then send the processed image back to the client. For some operations, CIFilters would be ideal to use. However, CIFilters require the QuartzCore framework. Doesn't that also imply access to or ownership of the screen or GUI to render? If so, is there an alternate way to implement a background image processor?
>>>>>
>>>>> -Carl
>>>>>
>>>>> _______________________________________________
>>>>>
>>>>> Cocoa-dev mailing list (email@hidden <mailto:email@hidden>)
>>>>>
>>>>> Please do not post admin requests or moderator comments to the list.
>>>>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com <http://lists.apple.com/>
>>>>>
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>
>>>>> This email sent to email@hidden <mailto:email@hidden>
>>>>
>>>
>>
>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Background CIFilter processing? (From: Carl Hoefs <email@hidden>)
 >Re: Background CIFilter processing? (From: Tamas Nagy <email@hidden>)
 >Re: Background CIFilter processing? (From: Carl Hoefs <email@hidden>)
 >Re: Background CIFilter processing? (From: Tamas Nagy <email@hidden>)
 >Re: Background CIFilter processing? (From: Carl Hoefs <email@hidden>)

  • Prev by Date: dispatch_source does not work
  • Next by Date: Re: dispatch_source does not work
  • Previous by thread: Re: Background CIFilter processing?
  • Next by thread: Weird crash in -[NSSearchField setRecentSearches:]
  • Index(es):
    • Date
    • Thread