Sunday, November 3, 2013

转载 Photoshop制作彩色素描人像效果

此教程为ps之家原创作品,如需转载请注明出处!http://www.3987.com/ps/photoshop/587.html
通过验证,NB!

素描人像效果有一种很独特的美感,今天我们就来将美女照片处理成素描的效果。当然,我们选择的照片,最好是头发占的比例较大的图片,因为头发最能体现出线条,而且不会让五官太过抢眼导致效果很怪异。
效果图
Photoshop制作彩色素描人像效果效果图
原图
Photoshop制作彩色素描人像效果原图

1:首先打开照片,复制出一个背景副本,然后执行调整-去色,变成黑白。
Photoshop制作彩色素描人像效果教程图-1
2:再复制一个黑白的副本图层出来。
Photoshop制作彩色素描人像效果教程图-2
3:将复制出来的黑白副本按Ctrl+I反相,然后将图层混合模式设置为颜色减淡。
Photoshop制作彩色素描人像效果教程图-3
4:设置了混合模式为颜色减淡之后,我们看见的画面是白色的。执行滤镜-其他-最小值,半径为2像素。
Photoshop制作彩色素描人像效果教程图-4
5:合并两个黑白图层,再复制出一个背景副本,放置于黑白图层的上方,将图层混合模式设置为亮光,不透明度43%。
Photoshop制作彩色素描人像效果教程图-5
6:按Shift+Ctrl+Alt+E盖印出一个图层,新建一个调整图层“色相/饱和度”,将饱和度降低为-20。
Photoshop制作彩色素描人像效果教程图-6
7:再新建一个“色彩平衡”调整图层,根据自己喜欢的调子调整一下。
Photoshop制作彩色素描人像效果教程图-7
8:再盖印出一个图层,执行调整-曲线,将图片拉暗一点。
Photoshop制作彩色素描人像效果教程图-8
9:再执行调整-色阶,分别设置80、1.5、225,让图片黑白更分明一些。
Photoshop制作彩色素描人像效果教程图-9
到此,最终效果就完成了。
Photoshop制作彩色素描人像效果教程图-最终效果图

Monday, October 28, 2013

The easy way to make link in linux


UI

1. right click the dirctory -> make link
2. cut & paste

Command

$ ln -s <real_dir> <shortcut>

Sunday, July 21, 2013

Adobe Premiere CS6 installation error (solved)


Installation error:
Exit Code: 34

-------------------------------------- Summary --------------------------------------

 - 1 fatal error(s), 0 error(s), 0 warning(s)



FATAL: Payload '{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.98.0' information not found in Media_db.

-

Solution:
Delete the .db files in “C:\Program Files (x86)\Common Files\Adobe\caps”

Wednesday, July 10, 2013

Kernel function

Source from wiki: 

Kernel functions in common use[edit]

Several types of kernel functions are commonly used: uniform, triangle, Epanechnikov, quartic (biweight), tricube, triweight, Gaussian, and cosine.
In the table below, 1{…} is the indicator function.
Kernel Functions, K(u)\textstyle \int u^2K(u)du\textstyle \int K^2(u)du
UniformK(u) = \frac12 \,\mathbf{1}_{\{|u|\leq1\}}Kernel uniform.svg  \frac13  \frac12
TriangularK(u) = (1-|u|) \,\mathbf{1}_{\{|u|\leq1\}}Kernel triangle.svg  \frac{1}{6}  \frac{2}{3}
EpanechnikovK(u) = \frac{3}{4}(1-u^2) \,\mathbf{1}_{\{|u|\leq1\}}Kernel epanechnikov.svg  \frac{1}{5}  \frac{3}{5}
Quartic
(biweight)
K(u) = \frac{15}{16}(1-u^2)^2 \,\mathbf{1}_{\{|u|\leq1\}}Kernel quartic.svg  \frac{1}{7}  \frac{5}{7}
TriweightK(u) = \frac{35}{32}(1-u^2)^3 \,\mathbf{1}_{\{|u|\leq1\}}Kernel triweight.svg  \frac{1}{9}  \frac{350}{429}
TricubeK(u) = \frac{70}{81}(1- {\left| u \right|}^3)^3 \,\mathbf{1}_{\{|u|\leq1\}}Kernel tricube.svg  \frac{35}{243}  \frac{175}{247}
GaussianK(u) = \frac{1}{\sqrt{2\pi}}e^{-\frac{1}{2}u^2}Kernel exponential.svg  1\,  \frac{1}{2\sqrt\pi}
CosineK(u) = \frac{\pi}{4}\cos\left(\frac{\pi}{2}u\right) \mathbf{1}_{\{|u|\leq1\}}Kernel cosine.svg  1-\frac{8}{\pi^2}  \frac{\pi^2}{16}

All of the above Kernels in a Common Coordinate System[edit]

All of the above kernels in a common coordinate system