1. 程式人生 > >CoreImage中濾鏡filter的屬性

CoreImage中濾鏡filter的屬性

"Affine Clamp" = "AffineClamp"; "Affine Tile" = "AffineTile"; "Bars Swipe" = "棒狀滑動 (Bars Swipe)"; "Bars Swipe Transition" = "棒狀滑動過渡轉場 (Bars Swipe Transition)"; "Bloom" = "盛開 (Bloom)"; "Box" = "方框模糊 (Box)"; "Box Blur" = "方框模糊 (Box Blur)"; "Bump" = "凹凸 (Bump)"; "Bump Distortion" = "凹凸變形 (Bump Distortion)"; "Bump Distortion Linear" = "線性凹凸變形 (Bump Distortion Linear)"; "Bump Linear" = "線性凹凸
 (Bump Linear)"; "Checkerboard" = "棋盤 (Checkerboard)"; "Checkerboard Generator" = "棋盤產生器 (Checkerboard Generator)"; "Circle Splash" = "環繞飛濺 (Circle Splash)"; "Circle Splash Distortion" ="環繞飛濺變形 (Circle Splash Distortion)"; "Circular Screen" ="Circular Screen"; "Circular Wrap" = "環形旋轉
 (Circular Wrap)"; "Circular Wrap Distortion" ="環形旋轉變形 (Circular Wrap Distortion)"; "Clouds" = "雲狀 (Clouds)"; "Clouds Generator" = "雲產生器"; "CMYK Halftone" = "CMYK 網點 (CMYK Halftone)"; "Color Map" = "色彩表 (Color Map)"; "Color Monochrome" = "單色處理 (Color Monochrome)"; "Color Posterize" = "色調分離
 (Color Posterize)"; "Color Removal" = "去色處理 (Color Removal)"; "Comic Effect" = "漫畫效果 (Comic Effect)"; "Constant Color" = "常數顏色 (Constant Color)"; "Constant Color Generator" ="常數顏色產生器 (Constant Color Generator)"; "Copy Machine" = "影印機 (Copy Machine)"; "Copy Machine Transition" ="影印機過渡轉換 (Copy Machine Transition)"; "Crystallize" = "結晶化 (Crystallize)"; "Displacement" = "置換 (Displacement)"; "Displacement Distort" = "置換變形 (Displacement Distort)"; "Dot Screen" = "點畫面 (Dot Screen)"; "Edge Work" = "EdgeWork"; "Edges" = "尋找邊緣 (Edges)"; "Eightfold Reflected" = "八倍反射 (Eightfold Reflected)"; "Eightfold Reflected Tile" ="八倍反射瓷磚 (Eightfold Reflected Tile)"; "False Color" = "假色 (False Color)"; "Flash" = "閃爍 (Flash)"; "Flash Transition" = "閃爍過渡轉換 (Flash Transition)"; "Fourfold Reflected" = "四倍反射 (Fourfold Reflected)"; "Fourfold Reflected Tile" ="四倍反射瓷磚 (Fourfold Reflected Tile)"; "Fourfold Rotated" = "四倍旋轉 (Fourfold Rotated)"; "Fourfold Rotated Tile" = "四倍旋轉磁轉 (Fourfold Rotated Tile)"; "Fourfold Translated" = "四倍翻轉 (Fourfold Translated)"; "Fourfold Translated Tile" ="四倍翻轉瓷磚 (Fourfold Translated Tile)"; "Gamma Adjust" = "Gamma 值調整 (Gamma Adjust)"; "Gaussian" = "高斯模糊 (Gaussian)"; "Gaussian Blur" = "高斯模糊 (Gaussian Blur)"; "Glass" = "玻璃 (Glass)"; "Glass Distortion" = "玻璃變形 (Glass Distortion)"; "Glass Lozenge" = "GlassLozenge"; "Glide Reflected" = "網格反射 (Glide Reflected)"; "Glide Reflected Tile" = "網格反射瓷磚 (Glide Reflected Tile)"; "Gloom" = "幽暗 (Gloom)"; "Gray Replacement" = "灰色置換 (Gray Replacement)"; "Hatched Screen" = "HatchedScreen"; "Height Field From Mask" ="Height Field From Mask"; "Hexagonal Pixellate" ="Hexagonal Pixellate"; "Hole" = "Hole"; "Hole Distortion" = "HoleDistortion"; "Image" = "Image"; "Kaleidoscope" ="Kaleidoscope"; "Lenticular Halo" ="Lenticular Halo"; "Lenticular Halo Generator" ="Lenticular Halo Generator"; "Line Overlay" = "LineOverlay"; "Line Screen" = "線壯畫面 (Line Screen)"; "Mask to Alpha" = "Mask toAlpha"; "Median" = "中和 (Median)"; "Mod" = "Mod"; "Mod Transition" = "ModTransition"; "Motion" = "動態模糊 (Motion)"; "Motion Blur" = "動態模糊 (Motion Blur)"; "Noise" = "雜訊 (Noise)"; "Noise Reduction" = "減少雜訊 (Noise Reduction)"; "Op" = "Op"; "Op Tile" = "Op Tile"; "Page Curl" = "捲頁 (Page Curl)"; "Page Curl Transition" = "捲頁過渡轉換 (Page Curl Transition)"; "Parallelogram" = "平行四邊形 (Parallelogram)"; "Parallelogram Tile" = "平行四邊形瓷磚 (Parallelogram Tile)"; "Perspective" = "透視 (Perspective)"; "Perspective Tile" = "透視瓷磚 (Perspective Tile)"; "Pinch" = "旋轉 (Pinch)"; "Pinch Distortion" = "旋轉變形 (Pinch Distortion)"; "Pixellate" = "畫素化 (Pixellate)"; "Pointillize" = "點狀化 (Pointillize)"; "Primary Color" = "主要顏色"; "Random" = "隨機 (Random)"; "Random Generator" = "隨機產生 (Random Generator)"; "Ripple" = "波紋 (Ripple)"; "Ripple Transition" = "波紋過渡轉換 (Ripple Transition)"; "Secondary Color" = "第二顏色"; "Sepia Tone" = "深褐色調 (Sepia Tone)"; "Shaded Material" = "ShadedMaterial"; "Sharpen" = "銳利化 (Sharpen)"; "Sixfold Reflected" = "六倍反射 (Sixfold Reflected)"; "Sixfold Reflected Tile" = "六倍反射瓷磚 (Sixfold Reflected Tile)"; "Sixfold Rotated" = "六倍旋轉 (Sixfold Rotated)"; "Sixfold Rotated Tile" = "六倍旋轉瓷磚 (Sixfold Rotated Tile)"; "Spot Color" = "SpotColor"; "Spot Light" = "SpotLight"; "Star Shine" = "星輝 (Star Shine)"; "Star Shine Generator" = "星輝產生器 (Star Shine Generator)"; "Striation Radius" ="Striation Radius"; "Stripes" = "條紋 (Stripes)"; "Stripes Generator" = "條紋產生器 (Stripes Generator)"; "Sunbeams" = "陽光 (Sunbeams)"; "Sunbeams Generator" = "陽光產生器 (Sunbeams Generator)"; "Swipe" = "滑動 (Swipe)"; "Swipe Transition" = "滑動過渡轉換 (Swipe Transition)"; "Threshold" ="Threshold"; "Time" = "Time"; "Torus Lens" = "環形鏡頭 (Torus Lens)"; "Torus Lens Distortion" = "環形鏡頭變形 (Torus Lens Distortion)"; "Triangle" = "三角形 (Triangle)"; "Triangle Tile" = "三角形瓷磚 (Triangle Tile)"; "Twelvefold Reflected" = "十二倍反射 (Twelvefold Reflected)"; "Twelvefold Reflected Tile" ="十二倍反射瓷磚 (Twelvefold Reflected Tile)"; "Twirl" = "扭轉 (Twirl)"; "Twirl Distortion" = "扭轉變形 (Twirl Distortion)"; "Unsharpen Mask" = "遮色片銳利化 (Unsharpen Mask)"; "Untitled Filter" ="Untitled Filter"; "Vortex" = "漩渦 (Vortex)"; "Vortex Distortion" = "漩渦變形 (Vortex Distortion)"; "Zoom" = "放射模糊 (Zoom)"; "Zoom Blur" = "放射性模糊 (Zoom Blur)";

2013-07-19 17:07:53.819 TESTDEMO[15071:c07] CIAdditionCompositing -------->:

2013-07-19 17:07:53.821 TESTDEMO[15071:c07] {

    CIAttributeFilterCategories =     (

        CICategoryCompositeOperation,

        CICategoryVideo,

        CICategoryStillImage,

        CICategoryInterlaced,

        CICategoryNonSquarePixels,

        CICategoryHighDynamicRange,

        CICategoryBuiltIn

    );

    CIAttributeFilterDisplayName = Addition;

    CIAttributeFilterName = CIAdditionCompositing;

    inputBackgroundImage =     {

        CIAttributeClass = CIImage;

        CIAttributeType = CIAttributeTypeImage;

    };

    inputImage =     {

        CIAttributeClass = CIImage;

        CIAttributeType = CIAttributeTypeImage;

    };

}

2013-07-19 17:07:53.821 TESTDEMO[15071:c07] CIAffineClamp -------->:

2013-07-19 17:07:53.822 TESTDEMO[15071:c07] {

    CIAttributeFilterCategories =     (

        CICategoryTileEffect,

        CICategoryVideo,

        CICategoryStillImage,

        CICategoryBuiltIn

    );

    CIAttributeFilterDisplayName = "Affine Clamp";

    CIAttributeFilterName = CIAffineClamp;

    inputImage =     {

        CIAttributeClass = CIImage;

        CIAttributeType = CIAttributeTypeImage;

    };

    inputTransform =     {

        CIAttributeClass = NSValue;

        CIAttributeDefault = "CGAffineTransform: {{0.40000001, 0, 0, 0.40000001}, {0, 0}}";

        CIAttributeIdentity = "CGAffineTransform: {{1, 0, 0, 1}, {0, 0}}";

    };

}

2013-07-19 17:07:53.823 TESTDEMO[15071:c07] CIAffineTile -------->:

2013-07-19 17:07:53.823 TESTDEMO[15071:c07] {

    CIAttributeFilterCategories =     (

        CICategoryTileEffect,

        CICategoryVideo,

        CICategoryStillImage,

        CICategoryBuiltIn

    );

    CIAttributeFilterDisplayName = "Affine Tile";

    CIAttributeFilterName = CIAffineTile;

    inputImage =     {

        CIAttributeClass = CIImage;

        CIAttributeType = CIAttributeTypeImage;

    };

    inputTransform =     {

        CIAttributeClass = NSValue;

        CIAttributeDefault = "CGAffineTransform: {{0.40000001, 0, 0, 0.40000001}, {0, 0}}";

        CIAttributeIdentity = "CGAffineTransform: {{1, 0, 0, 1}, {0, 0}}";

    };

}

2013-07-19 17:07:53.824 TESTDEMO[15071:c07] CIAffineTransform -------->:

2013-07-19 17:07:53.825 TESTDEMO[15071:c07] {

    CIAttributeFilterCategories =     (

        CICategoryGeometryAdjustment,

        CICategoryVideo,

        CICategoryStillImage,

        CICategoryBuiltIn

    );

    CIAttributeFilterDisplayName = "Affine Transform";

    CIAttributeFilterName = CIAffineTransform;

    inputImage =     {

        CIAttributeClass = CIImage;

        CIAttributeType = CIAttributeTypeImage;

    };

    inputTransform =     {

        CIAttributeClass = NSValue;

        CIAttributeDefault = "CGAffineTransform: {{1, 0, 0, 1}, {0, 0}}";

        CIAttributeIdentity = "CGAffineTransform: {{1, 0, 0, 1}, {0, 0}}";

        CIAttributeType = CIAttributeTypeTransform;

    };

}

2013-07-19 17:07:53.825 TESTDEMO[15071:c07] CIBarsSwipeTransition -------->:

2013-07-19 17:07:53.826 TESTDEMO[15071:c07] {

    CIAttributeFilterCategories =     (

        CICategoryTransition,

        CICategoryVideo,

        CICategoryStillImage,

        CICategoryBuiltIn

    );

    CIAttributeFilterDisplayName = "Bars Swipe Transition";

    CIAttributeFilterName = CIBarsSwipeTransition;

    inputAngle =     {

        CIAttributeClass = NSNumber;

        CIAttributeDefault = "3.141592653589793";

        CIAttributeSliderMax = "6.283185307179586";

        CIAttributeSliderMin = 0;

        CIAttributeType = CIAttributeTypeAngle;

    };

    inputBarOffset =     {

        CIAttributeClass = NSNumber;

        CIAttributeDefault = 10;

        CIAttributeMin = 1;

        CIAttributeSliderMax = 100;

        CIAttributeSliderMin = 1;

        CIAttributeType = CIAttributeTypeScalar;

    };

    inputImage =     {

        CIAttributeClass = CIImage;

        CIAttributeType = CIAttributeTypeImage;

    };

    inputTargetImage =     {

        CIAttributeClass = CIImage;

        CIAttributeType = CIAttributeTypeImage;

    };

    inputTime =     {

        CIAttributeClass = NSNumber;

        CIAttributeDefault = 0;

        CIAttributeMax = 1;

        CIAttributeMin = 0;

        CIAttributeSliderMax = 1;

        CIAttributeSliderMin = 0;

        CIAttributeType = CIAttributeTypeTime;

    };

    inputWidth =     {

        CIAttributeClass = NSNumber;

        CIAttributeDefault = 30;

        CIAttributeMin = 2;

        CIAttributeSliderMax = 300;

        CIAttributeSliderMin = 2;

        CIAttributeType = CIAttributeTypeDistance;

    };

}

2013-07-19 17:07:53.827 TESTDEMO[15071:c07] CIBlendWithMask -------->:

2013-07-19 17:07:53.827 TESTDEMO[15071:c07] {

    CIAttributeFilterCategories =     (

        CICategoryStylize,

        CICategoryVideo,

        CICategoryStillImage,

        CICategoryBuiltIn

    );

    CIAttributeFilterDisplayName = "Blend With Mask";

    CIAttributeFilterName = CIBlendWithMask;

    inputBackgroundImage =     {

        CIAttributeClass = CIImage;

        CIAttributeType = CIAttributeTypeImage;

    };

    inputImage =     {

        CIAttributeClass = CIImage;

        CIAttributeType = CIAttributeTypeImage;

    };

    inputMaskImage =     {

        CIAttributeClass = CIImage;

        CIAttributeType = CIAttributeTypeImage;

    };

}

2013-07-19 17:07:53.828 TESTDEMO[15071:c07] CIBloom -------->:

2013-07-19 17:07:53.829 TESTDEMO[15071:c07] {

    CIAttributeFilterCategories =     (

        CICategoryStylize,

        CICategoryVideo,

        CICategoryStillImage,

        CICategoryBuiltIn

    );

    CIAttributeFilterDisplayName = Bloom;

    CIAttributeFilterName = CIBloom;

    inputImage =     {

        CIAttributeClass = CIImage;

        CIAttributeType = CIAttributeTypeImage;

    };

    inputIntensity =     {

        CIAttributeClass = NSNumber;

        CIAttributeDefault = 1;

        CIAttributeIdentity = 0;

        CIAttributeMin = 0;

        CIAttributeSliderMax = 1;

        CIAttributeSliderMin = 0;

        CIAttributeType = CIAttributeTypeScalar;

    };

    inputRadius =     {

        CIAttributeClass = NSNumber;

        CIAttributeDefault = 10;

        CIAttributeIdentity = 0;

        CIAttributeMin = 0;

        CIAttributeSliderMax = 100;

        CIAttributeSliderMin = 0;

        CIAttributeType = CIAttributeTypeDistance;

    };

}

2013-07-19 17:07:53.830 TESTDEMO[15071:c07] CIBumpDistortion -------->:

2013-07-19 17:07:53.830 TESTDEMO[15071:c07] {

    CIAttributeFilterCategories =     (

        CICategoryDistortionEffect,

        CICategoryVideo,

        CICategoryStillImage,

        CICategoryBuiltIn

    );

    CIAttributeFilterDisplayName = "Bump Distortion";

    CIAttributeFilterName = CIBumpDistortion;

    inputCenter =     {

        CIAttributeClass = CIVector;

        CIAttributeDefault = "[150 150]";

        CIAttributeType = CIAttributeTypePosition;

    };

    inputImage =     {

        CIAttributeClass = CIImage;

        CIAttributeType = CIAttributeTypeImage;

    };

    inputRadius =     {

        CIAttributeClass = NSNumber;

        CIAttributeDefault = 300;

        CIAttributeIdentity = 300;

        CIAttributeMin = 0;

        CIAttributeSliderMax = 600;

        CIAttributeSliderMin = 0;

        CIAttributeType = CIAttributeTypeDistance;

    };

    inputScale =     {

        CIAttributeClass = NSNumber;

        CIAttributeDefault = "0.5";

        CIAttributeIdentity = 0;

        CIAttributeMin = "-1";

        CIAttributeSliderMax = 1;

        CIAttributeSliderMin = "-1";

        CIAttributeType = CIAttributeTypeScalar;

    };

}

2013-07-19 17:07:53.831 TESTDEMO[15071:c07] CIBumpDistortionLinear -------->:

2013-07-19 17:07:53.832 TESTDEMO[15071:c07] {

    CIAttributeFilterCategories =     (

        CICategoryDistortionEffect,

        CICategoryVideo,

        CICategoryStillImage,

相關推薦

CoreImagefilter屬性

"Affine Clamp" = "AffineClamp"; "Affine Tile" = "AffineTile"; "Bars Swipe" = "棒狀滑動 (Bars Swipe)"; "Bars Swipe Transition" = "棒狀滑動過渡轉場 (Bars Sw

css3的filter屬性

filter屬性定義了元素(通常是<img>)的可視效果,例如:模糊與飽和度。 none 預設值,沒有效果 blur(px) 給影象設定高斯模糊,值越大越模糊。預設值為0 brightness(%) 給圖片應用一種線性乘

HTML5----CSS3圖片(filter)特效

拖動 ner hot war str term min jquer onchange 支持Chrome: 暫不支持瀏覽器:FF,IE... 希望後者努力 效果圖: CSS: <style type="text/css"> @-webkit-key

CSS技巧收集——毛玻璃效果(深入理解filter

   * {    margin: 0px;    padding: 0px;   }      html,   body {    font-size: 19px;    font-family: 'Verdana', 'Arial';    color: rgba(0, 0, 0, 0.8);    wi

CSS3filter: blur,使圖片或背景模糊(毛玻璃)

CSS毛玻璃效果可以通過filter: blur()實現,類似PS高斯模糊,圖片和背景都可以使用;但在移動端,會造成卡頓,不建議在移動端使用; CSS: .blur{ -webkit-filter: blur(5px); -moz-filter: blur(5px);

FFMPEG 最簡filter使用例項(實現視訊縮放,裁剪,水印等)

    FFMPEG官網給出了FFMPEG 濾鏡使用的例項,它是將視訊中的畫素點替換成字元,然後從終端輸出。我在該例項的基礎上稍微的做了修改,使它能夠儲存濾鏡處理過後的檔案。在上程式碼之前先明白幾個概念:     Filter:代表單個filter     FilterPa

iOS的使用(二)組合

iOS中濾鏡的使用(二) 濾鏡組合 首先 要載入圖片並轉化為CIImage CIImage *ciImage = [[CIImage alloc] initWithImage:[UIImage imageNamed:@"IMG_0160

CoreImage 的模糊

最好 make category emf down 句柄 效果 effective connect 1.CoreImage 中的模糊濾鏡 1.1CoreImage是蘋果用來簡化圖片處理的框架 1.2CIImage、CIFilter與CIContext三者聯系

CSS3 filter屬性小專案——圖片高斯模糊、高亮、對比度、灰度、色調、色彩旋轉、透明、飽和、褐色調整

學到了CSS3的filter屬性,心血來潮做了個filter濾鏡組工具,可以多重給自己的圖片新增濾鏡。 拿走不謝,別忘了更改對應的路徑名。 程式碼如下 html部分 <!DOCTYPE html> <html> <head>

cssfilter和jsfilter方法

filter是濾鏡,就是將某些東西過濾出來。   ▍css中的filter 運用於對影象進行相關處理(就像P圖一樣,改變圖片的顏色、飽和度等屬性),詳細解析可參考菜鳥教程。   ▍js中的filter filter()函式是Array物件的一個方法。和

IECSS-filter小知識大全

前言前段時間在做一個專題的時候用到了opacity不透明度屬性,因為設計圖上是半透明背景,白色文字有時候我們很習慣的用到不透明屬性opacity來增加層次感或者增加使用者體驗,但因這個屬性是css3屬性,不相容IE8及其以下版本。一般要儘可能少用一些瀏覽私有屬性-web

css3 filter

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title></title> <style> d

一些WPF特效——Effect Library

預覽 -s 基本 發的 詳細 div dem -h demo 原文:一些WPF中的濾鏡特效——Effect LibraryWPF支持類似PhotoShop的濾鏡功能,稱之為Effect。在.Net 4.0中,WPF就廢棄了對BitMapEffect的支持,轉向使用支持GPU

Filter:revealtrans 效果

 任意位置插入圖片  <img src="images/ban1.jpg" width="660" height="309" style="FILTER: revealTrans(Duration=2, Transition=23)" name=slide />  

FFmpeg(四):視訊 -- subtitles

subtitles 描述: 該濾鏡呼叫libass庫,講字幕添新增到輸入視訊中。如果要使用該濾鏡,需要在編譯FFmpeg時使用--enable-libass配置項。這個濾鏡需要配合使用 libavcodec和libavformat將輸入的字幕檔案轉換為ASS(ASS格式見

CSS圖象)[轉載]

6、光暈     光暈將目標的可視象素周圍用作者選定的顏色形成漸變放射的效果。漸變放射的距離也由作者選定。 Filter:Glow(Color=Hex color, Strength-trength of the glow)

css3屬性 詳解

  -webkit-filter是css3的一個屬性,Webkit率先支援了這幾個功能,感覺效果很不錯。下面咱們就學習一下filter這個屬性吧。 現在規範中支援的效果有: grayscale 灰度               值為0-1之間的小數 sepia 褐色         值為0-1之間的小數sa

[Swift通天遁地]四、網路和執行緒-(10)處理圖片:壓縮、縮放、圓角、CoreImage、快取

本文將演示在第三方類庫中,用來處理圖片的一些強大功能。 首先確保在專案中已經安裝了所需的第三方庫。 點選【Podfile】,檢視安裝配置檔案。 1 platform :ios, ’12.0’ 2 use_frameworks! 3 4 target 'DemoApp' do 5

iOS CoreImage 圖片處理效果

前言 現在很多的APP當中選擇圖片都會帶有圖片處理效果,一些類似於美圖,PS的功能,其實在iOS中系統內部也有這樣一個框架,在Xcode7.0之前的版本需要手動去匯入這個框架,7.0之後系統已經自動幫我們匯入了這個框架。我們想要處理圖片直接就可以在方法裡面去實

css: CSS3 filter() 的使用

CSS3 filter(濾鏡) 屬性 filter 屬性定義了元素(通常是)的可視效果(例如:模糊與飽和度)。 定義和使用 預設值 none 繼承 no 動畫支援 是。詳細可查閱 CSS 動畫