2014-12-25から1日間の記事一覧
Function Composition with CI Filters - NSScreencast Filterをfuncなどを使って実装 typealias Filter = CIImage -> CIImage func func sepia() -> Filter { func blur(radius: Double) -> Filter { func vortex(angle: Double) -> Filter { CIFilter(name…
Core Image - NSScreencast SepiaとBlurの効果を画像に適用 白黒画像の白さを立体表現に変換する例 周囲のpixelから計算 blur効果ができる仕組み Core Image Filter Reference let filter = CIFilter(name: "CISepiaTone", withInputParameters: failurable …