... | ... | @@ -517,7 +517,7 @@ The "embossimage" script is more a demonstration script than a general purpose s |
|
|
|
|
|
### The YVSChromaKey filter
|
|
|
|
|
|
As well as the built in Core Image filters I have added another filter for use with Moving Images. It is called YVSChromaKey and allows you to make parts of an image based on a selected color transparent. The filter has three inputs, a chroma key color "inputColor" which is defined as a CIVector, a distance number "inputDistance" which is distance in a color space within which the image is made fully transparent and a slope number "inputSlopeWidth" which is also a distance in a color space and this is the width of the slope. The smaller the width the steeper the slope.
|
|
|
As well as the built in Core Image filters I have added another filter for use with Moving Images. It is called YVSChromaKeyFilter and allows you to make parts of an image based on a selected color transparent. The filter has three inputs, a chroma key color "inputColor" which is defined as a CIVector, a distance number "inputDistance" which is distance in a color space within which the image is made fully transparent and a slope number "inputSlopeWidth" which is also a distance in a color space and this is the width of the slope. The smaller the width the steeper the slope.
|
|
|
|
|
|
cr = chroma color red component.
|
|
|
cg = chroma color green component.
|
... | ... | |