• 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
CIMaskToAlpha will not give 'outputImage"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CIMaskToAlpha will not give 'outputImage"


  • Subject: CIMaskToAlpha will not give 'outputImage"
  • From: Kieren Eaton <email@hidden>
  • Date: Fri, 14 Apr 2006 16:31:26 +0800

Hi

I have been trying to chain some CIfilters together and have hit a wall.
It seems that chaining most filters 'outputImage' to the next ones 'inputImage' works fine except for CIMaskToAlpha.

it seems that when used as a standalone filter everything works as stated but when trying to get the 'outputImage' all i get is a null return which then breaks the next filter in the chain?

I have tried the same input images with several other filters (hue, exposure, edges and edgework) and all will chain perfectly together without the maskToAlpha.  When it is added everything breaks :(

I am working with essentially color images converted to grayscale (hence the mask to alpha) from a video input and so this is an integral part of the filtering process.

I have made the filter that I want in Quartz composer and the mask to alpha works a treat there.  Due to the way in which QC is outputted into an openGL window I have opted to convert the entire chain to CIFilters and so came across this issue.
BTW I know this is probably not the easiest way to do this (I already have a fully functioning app using the QC code) but it is more for my personal learning experience with cocoa and CI, plus I need to get the output into a quicktime movie.

Any ideas  or workarounds (to convert a color image back to grayscale without quality loss) would be a real help.

Thanx

Kieren
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Running out of process VM
  • Next by Date: Append bytes to a file
  • Previous by thread: Re: Binding NSTextField to NSURL
  • Next by thread: Append bytes to a file
  • Index(es):
    • Date
    • Thread