Combining Sketch and Tone for Pencil Drawing Production


C. W. Lu, L. Xu, J. Y. Jia, Combining Sketch and Tone for Pencil Drawing Production, NPAR (2012) Best Paper

reimplementation


摘要

组合色调与线条结构(combining the tone and stroke structures)

铅笔画先验信息(prior knowledge on pencil drawing)

1 引言

铅笔画合成(pencil drawing synthesis)方法:(1)二维图像渲染(2D image-based rendering);三维模型渲染(3D model-based rendering)。

素描(sketch):缺乏细节的速写作品(a quickly finished work without a lot of details),用于描绘整体构图(global shape)和主要轮廓(main contours);影线(hatching):在相应区域中用平行暗线条描绘色调或阴影(tone or shading)。


本文提出一种二阶段线条、色调管理(a two-stage system with important stroke and tone management):

(1)素描(sketch):采用卷积框架线条生成(put stroke generation into a convolution framework)获取素描特征(capture the essential characteristics of pencil sketch)、模拟笔尖快速移动(simulate rapid nib movement in drawing)

(2)影线(hatching):引入色调模式(tonal patterns)(没有主方向的密集线条(dense pencil strokes without dominant directions)),防止产生伪影(artifacts);提出参数直方图模型用于色调调整(parametric histogram models are proposed to adjust the tone)

(3)全局最优指数模型(exponential model with global optimization):色调调整、改善重纹理区域(heavily textured regions)和物体轮廓的渲染效果(object contours)

将该方法应用于彩色图像的亮度通道(luminance channel)可生成彩铅素描(color pencil drawing)。

2 相关工作

以往工作一般是根据局部结构确定线条和影线的方向(determines orientation of strokes and hatches based on local structures),但在高纹理或噪声区域中(highly textured or noisy regions),该方法并不稳定(unstable)。

3 模型

本文提出的基于图像的铅笔素描方法(Fig. (2))包括两个步骤:(1)线条生成(pencil stroke generation);(2)色调绘制(pencil tone drawing)。

线条表达场景构图(general structures of the scene);色调侧重(focus)形状(shapes)和阴影(shadow,)。后者用于增强全局光照(depict global illumination)、阴影区域(accentuate shading and dark regions)的表现力。

3.1 线条(Line Drawing with Strokes)

在素描中,线条(stroke)的属性包括:线宽(thickness)、起伏(wiggliness)、明暗(brightness);线条通常结束于弯曲点(points of curvature)或交叉点(junctions)且几乎没有连续长曲线。


分类(classification)

输入图像灰度图(grayscale)的梯度(gradient)为:

G=((∂xI)2+(∂yI)2)12(1)\mathbf{G} = \left( (\partial_{x} \mathbf{I})^{2} + (\partial_{y} \mathbf{I})^{2} \right)^{\frac{1}{2}} \tag {1}G=((∂x​I)2+(∂y​I)2)21​(1)

其中,I\mathbf{I}I为灰度图(grayscale input);∂x\partial_{x}∂x​、∂y\partial_{y}∂y​表示梯度算子(gradient operators),可通过前向差分(forward difference)计算。实际图像(natural image)的梯度图(gradient map)通常是有噪的且不包含用于线条生成的连续边缘(continuous edges immediately ready for stroke generation)。

线条方向估计(the estimation of line direction for each pixel)

(1)选择间隔为45°45 \degree45°的8个参考方向(eight reference directions at 45 degrees apart),记为线段(line segments){Li},i∈{1,…,8}\left\{ \mathscr{L}_{i} \right\}, \ i \in \left\{ 1, \dots, 8 \right\}{Li​}, i∈{1,…,8}。某个方向的响应图(the response map for a certain direction)为:

Gi=Li∗G(2)\mathbf{G}_{i} = \mathscr{L}_{i} * \mathbf{G} \tag {2}Gi​=Li​∗G(2)

其中,Li\mathscr{L}_{i}Li​为第iii上方向的线段,并表示成卷积核形式(convolution kernel);线段长度取值(经验值(empirically))为输入图像长(宽)的130\frac{1}{30}301​;∗*∗表示卷积算子(convolution operator),计算梯度在各方向上投影,构造滤波器响应图Gi\mathbf{G}_{i}Gi​(groups gradient magnitudes along direction iii to form the filter response map Gi\mathbf{G}_{i}Gi​)。

分类(classification):按梯度在所有方向上投影的最大值对梯度分类(classification is performed by selecting the maximum value among the responses in all directions),

Ci={G(p)if arg max⁡iGi=i0otherwise(3)\mathbf{C}_{i} = \begin{cases} \mathbf{G}(p) & \text{if }\argmax_{i} \mathbf{G}_{i} = i \\ 0 & \text{otherwise} \end{cases} \tag {3}Ci​=⎩⎨⎧​G(p)0​if iargmax​Gi​=iotherwise​(3)

其中,ppp为像素索引;Ci\mathbf{C}_{i}Ci​为方向iii的幅度图(magnitude map),如Fig. (4),且满足∑i=18Ci=G\sum_{i = 1}^{8} \mathbf{C}_{i} = \mathbf{G}∑i=18​Ci​=G。分类策略的鲁棒性高(very robust against different types of noise),对噪声不敏感(no matter whether the gradient of the current pixel is noise contaminated or not)。

■■

原文Eq. (3)为

Ci={G(p)if arg min⁡iGi=i0otherwise\mathbf{C}_{i} = \begin{cases} \mathbf{G}(p) & \text{if }\argmin_{i} \mathbf{G}_{i} = i \\ 0 & \text{otherwise} \end{cases}Ci​=⎩⎨⎧​G(p)0​if iargmin​Gi​=iotherwise​

有误

线条生成(line shaping)

给定集合Ci\mathbf{C}_{i}Ci​,在各像素点处,线条生成表示为:

S′=∑i=18Li∗Ci\mathbf{S}^{\prime} = \sum_{i = 1}^{8} \mathscr{L}_{i} * \mathbf{C}_{i}S′=i=1∑8​Li​∗Ci​

沿给定方向进行卷积平滑,能够连接原始梯度图中不相连的边缘像素(convolution aggregates nearby pixels along direction Li\mathscr{L}_{i}Li​, which links edge pixels that are even not connected in the original gradient map)。S′\mathbf{S}^{\prime}S′经逆向处理并归一化后得到输出线条图(pencil stroke map)S\mathbf{S}S(inverting pixel values and mapping them to [0,1][0, 1][0,1])。


讨论(discussion)

生成线条时,该方法考虑了边缘形状和邻域像素(edge shape and neighborhood pixel support),能够准确捕捉素描特征(sketch nature)。

  • 卷积能够沿长线条在交叉点处的端点(the convolution step extends the ends of two lines at the junction point)。由于定向卷积只考虑直线上的像素(directional convolution only aggregates pixels along strictly straight lines),因此只有原始边缘图(the original edge map)中的长直线(long straight lines)才会被延长

  • 由于直线中心区域的像素受两侧像素的影响,因此线条中心区域的笔墨比两端更重(pixels at the center of a long line would receive pixel values from both sides, which make the line center darker than the ends)。

  • 通过连接原始边缘图中不相连的像素,模仿人类画线过程,提高鲁棒性(link pixels that are not necessarily connected in the original edge map when nearby pixels are mostly aligned along the straight line, imitating human line drawing process and resisting noise)。


由于自然图像的纹理区域可能包含大量细节(natural images contain many textured surfaces with fine details),导致其梯度图中存在大量噪声(Fig. (7)),本文所提方法能够有效处理有噪梯度图。

3.2 色调(Tone Drawing)

影线(hatching),即稠密线条(dense strokes),用于表现阴影(shadow, shading)和较暗物体。本节给出一种纹理渲染(render pencil texture)方案。

色调图生成(tone map generation)

首先,根据原始灰度输入的信息,确定各像素色调值(determine the tone value for each pixel leveraging information in the original grayscale input)。

本文提出一种参数模型用于拟合素描的色调分布(a parametric model to fit tone distributions of pencil sketch)。自然图像的色调通常变化明显(highly variable tones),而素描色调直方图(a sketch tone histogram)服从特定定模式(certain patterns)。这是因为素描有两种基本色调:(1)高光区域(bright regions);(2)阴影区域(heavy strokes)。在两种基本色调之间是过渡区域,用于丰富画面层次感(mild tone strokes are produced to enrich the layer information)。


基于模型的色调转移(model-based tone transfer)

拟合色调分布(target tone distribution)参数模型(a parametric model):

p(v)=1Z∑i=13wipi(v)(4)p(v) = \frac{1}{Z} \sum_{i = 1}^{3} w_{i} p_{i}(v) \tag {4}p(v)=Z1​i=1∑3​wi​pi​(v)(4)

其中,vvv表示色调值(tone value);p(v)p(v)p(v)表示像素色调取值为vvv时的概率;ZZZ为归一化因子,∫01p(v)dv=1\int_{0}^{1} p(v) dv = 1∫01​p(v)dv=1;pi(v)p_{i}(v)pi​(v)表示铅笔画的三个色调层(tonal layer);权值wiw_{i}wi​与各层像素数量相关(the weights coarsely corresponding to the number of pixels in each tonal layer)。此外,色调值需做归一化处理(scale the values into the range [0,1][0, 1][0,1] to cancel out illumination difference in computing the distributions)。


由Fig. (9)可知,高光层和阴影层均有峰值存在,而过渡层呈均匀分布(the bright and dark layers have obvious peaks while the mild tone layer does not correspond to a unique peak)。因此,本文用拉普拉斯分布(Laplacian distribution)■单边拉普拉斯分布、指数分布■对高光层建模,其峰值(with its peak at the brightest value)为255(归一化后为1)

p1={1σbe−1−vσb,if v≤10,otherwise(5)p_{1} = \begin{cases} \frac{1}{\sigma_{b}} e^{- \frac{1 - v}{\sigma_{b}}}, & \ \text{if } v \leq 1 \\ 0, & \ \text{otherwise} \end{cases} \tag {5}p1​={σb​1​e−σb​1−v​,0,​ if v≤1 otherwise​(5)

其中,σb\sigma_{b}σb​为分布的尺度(the scale of the distribution);用均匀分布(uniform distribution)对过渡层(mild tone layer)建模

p2={1ub−ua,if ua≤v≤ub0,otherwise(6)p_{2} = \begin{cases} \frac{1}{u_{b} - u_{a}}, & \ \text{if } u_{a} \leq v \leq u_{b} \\ 0, & \ \text{otherwise} \end{cases} \tag {6}p2​={ub​−ua​1​,0,​ if ua​≤v≤ub​ otherwise​(6)

其中,uau_{a}ua​、ubu_{b}ub​分别为分布范围的上、下界;用高斯分布对阴影层建模

p3(v)=12πσde−(v−μd)22σd2(7)p_{3}(v) = \frac{1}{\sqrt{2 \pi} \sigma_{d}} e^{- \frac{(v - \mu_{d})^{2}}{2 \sigma_{d}^{2}}} \tag {7}p3​(v)=2π​σd​1​e−2σd2​(v−μd​)2​(7)

其中,μd\mu_{d}μd​为深色线条(dark strokes)均值,σd\sigma_{d}σd​为尺度参数。

■■

原文Eq. (7)为

p3(v)=12πσde−(v−μd)22σd2p_{3}(v) = \frac{1}{\sqrt{2 \pi \sigma_{d}}} e^{- \frac{(v - \mu_{d})^{2}}{2 \sigma_{d}^{2}}}p3​(v)=2πσd​​1​e−2σd2​(v−μd​)2​

有误

参数学习(parameter learning)


对输入灰度图I\mathbf{I}I轻微高斯平滑(slightly Gaussian smoothed)。设定各层的色调门限(the bright and dark tone layers are manually indicated with threshold of intensities and the remaining pixels are in the mild-tone layer),权值www取决于各层中的像素数量(the number of pixels in each layer decides weights);使用最大似然估计(Maximum Likelihood Estimation,MLE)计算各层参数。各层的均值(mean)和标准差(standard deviation)分别记为mmm、sss,则各层参数的解析解(closed-form)分别为:

σb=1N∑i=1N∣xi−1∣ua=mm−3sm,ub=mm+3smμd=md,σd=sd\begin{aligned} & \sigma_{b} = \frac{1}{N} \sum_{i = 1}^{N} |x_{i} - 1| \\ & u_{a} = m_{m} - \sqrt{3} s_{m}, u_{b} = m_{m} + \sqrt{3} s_{m} \\ & \mu_{d} = m_{d}, \sigma_{d} = s_{d} \end{aligned}​σb​=N1​i=1∑N​∣xi​−1∣ua​=mm​−3​sm​,ub​=mm​+3​sm​μd​=md​,σd​=sd​​

其中,xix_{i}xi​为像素值(pixel value);NNN为该层所含像素个数。

■■

xi∈[0,1]x_{i} \in [0, 1]xi​∈[0,1]

(1)p1(v)p_{1} (v)p1​(v),xi∈Xx_{i} \in \mathcal{X}xi​∈X,X={x1,⋯,xN}\mathcal{X} = \{ x_{1}, \cdots, x_{N} \}X={x1​,⋯,xN​}表示高光层所有像素的集合

σb∗=arg max⁡σbp(X;σb)=arg max⁡σb∏i=1Np(xi;σb)=arg max⁡σb∑i=1Nlog⁡p(xi;σb)=arg max⁡σb∑i=1N(−log⁡σb−1−xiσb)\begin{aligned} \sigma_{b}^{\ast} & = \argmax_{\sigma_{b}} p(\mathcal{X}; \sigma_{b}) \\ & = \argmax_{\sigma_{b}} \prod_{i = 1}^{N} p(x_{i}; \sigma_{b}) \\ & = \argmax_{\sigma_{b}} \sum_{i = 1}^{N} \log p(x_{i}; \sigma_{b}) \\ & = \argmax_{\sigma_{b}} \sum_{i = 1}^{N} \left( - \log \sigma_{b} - \frac{1 - x_{i}}{\sigma_{b}} \right) \\ \end{aligned}σb∗​​=σb​argmax​p(X;σb​)=σb​argmax​i=1∏N​p(xi​;σb​)=σb​argmax​i=1∑N​logp(xi​;σb​)=σb​argmax​i=1∑N​(−logσb​−σb​1−xi​​)​

令∂p∂σb=0\frac{\partial p}{\partial \sigma_{b}} = 0∂σb​∂p​=0,则

∑i=1N(−1σb+1−xiσb2)=0⇓σb∗=1N∑i=1N(1−xi)\begin{aligned} & \sum_{i = 1}^{N} \left( - \frac{1}{\sigma_{b}} + \frac{1 - x_{i}}{\sigma_{b}^{2}} \right) = 0 \\ & \Downarrow \\ & \sigma_{b}^{\ast} = \frac{1}{N} \sum_{i = 1}^{N} (1 - x_{i}) \end{aligned}​i=1∑N​(−σb​1​+σb2​1−xi​​)=0⇓σb∗​=N1​i=1∑N​(1−xi​)​

(2)p2(v)p_{2} (v)p2​(v),xi∈Xx_{i} \in \mathcal{X}xi​∈X,X={x1,⋯,xN}\mathcal{X} = \{ x_{1}, \cdots, x_{N} \}X={x1​,⋯,xN​}表示过渡层所有像素的集合,对uau_{a}ua​、ubu_{b}ub​进行区间估计

ua=mm−3sm,ub=mm+3smu_{a} = m_{m} - \sqrt{3} s_{m}, u_{b} = m_{m} + \sqrt{3} s_{m}ua​=mm​−3​sm​,ub​=mm​+3​sm​

(3)p3(v)p_{3} (v)p3​(v),xi∈Xx_{i} \in \mathcal{X}xi​∈X,X={x1,⋯,xN}\mathcal{X} = \{ x_{1}, \cdots, x_{N} \}X={x1​,⋯,xN​}表示阴影层所有像素的集合

μd=md,σd=sd\mu_{d} = m_{d}, \sigma_{d} = s_{d}μd​=md​,σd​=sd​


■w1w_{1}w1​、w3w_{3}w3​写反了■

根据参数模型p1p_{1}p1​、p2p_{2}p2​、p3p_{3}p3​,分别在三个子层上对输入图像直方图匹配,并将结果合并(based on the parametric p1p_{1}p1​, p2p_{2}p2​, and p3p_{3}p3​, for each new input image, we adjust the tone maps using simple histogram matching in all the three layers and superpose them again),如Fig. (11)。输出结果记为J\mathbf{J}J。


纹理渲染(pencil texture rendering)

色调纹理是指没有明显方向的线条图样,只表示色调信息(tonal texture refers to pencil patterns without obvious direction, which reveal only the tone information)。本文利用色调图(tone maps)学习手绘色调图样(tonal patterns),如图12所示。


人工手绘色调纹理是在同一位置反复绘制(in human drawing, tonal pencil texture is generated by repeatedly drawing at the same place),本文使用多层线条(multiplication of strokes)模拟这一过程,其输出表示为指数组合(exponential combination)Hβ(x)(x)≈J(x)\mathbf{H}^{\mathbf{\beta} (x)} (x) \approx \mathbf{J} (x)Hβ(x)(x)≈J(x)(或β(x)log⁡H(x)≈log⁡J(x)\mathbf{\beta} (x) \log \mathbf{H} (x) \approx \log \mathbf{J} (x)β(x)logH(x)≈logJ(x)),即为拟合J\mathbf{J}J的局部色调,将H\mathbf{H}H反复绘制β\mathbf{\beta}β次(drawing pattern H\mathbf{H}H β\mathbf{\beta}β times to approximate the local tone in J\mathbf{J}J),如Fig. (12)。

此外,β\mathbf{\beta}β必需满足局部平滑(locally smooth),可通过最小化方程(8)求解:

β∗=arg min⁡β∥βlog⁡H−log⁡J(x)∥22+λ∥∇β∥22(8)\mathbf{\beta}^{\ast} = \argmin_{\mathbf{\beta}} \| \mathbf{\beta} \log \mathbf{H} - \log \mathbf{J} (x) \|_{2}^{2} + \lambda \| \nabla \mathbf{\beta} \|_{2}^{2} \tag {8}β∗=βargmin​∥βlogH−logJ(x)∥22​+λ∥∇β∥22​(8)

其中,λ\lambdaλ取0.20.20.2。方程(8)可转化为标准线性方程(a standard linear equation),用共轭梯度法(conjugate gradient)求解。

■■

方程(8)中的矩阵乘法为Hadamard积(按元素相乘,element-wise,∘\circ∘);结构风险项∥∇β∥22\| \nabla \mathbf{\beta} \|_{2}^{2}∥∇β∥22​的作用是限制β\mathbf{\beta}β的梯度,使其局部平滑。令

L(β)=∥β∘log⁡H−log⁡J∥22+λ∥∇β∥22\mathcal{L} (\mathbf{\beta}) = \| \mathbf{\beta} \circ \log \mathbf{H} - \log \mathbf{J} \|_{2}^{2} + \lambda \| \nabla \mathbf{\beta} \|_{2}^{2}L(β)=∥β∘logH−logJ∥22​+λ∥∇β∥22​

β∗=arg min⁡βL(β)\mathbf{\beta}^{\ast} = \argmin_{\mathbf{\beta}} \mathcal{L} (\mathbf{\beta})β∗=βargmin​L(β)

将β\mathbf{\beta}β、H\mathbf{H}H、J\mathbf{J}J展平成列向量,β\mathbf{\beta}β的梯度:

∇β=(∂∂xβ∂∂yβ)=(DxβDyβ)\nabla \mathbf{\beta} = \begin{pmatrix} \frac{\partial}{\partial x} \mathbf{\beta} \\ \frac{\partial}{\partial y} \mathbf{\beta} \end{pmatrix} = \begin{pmatrix} \mathbf{D}_{x} \mathbf{\beta} \\ \mathbf{D}_{y} \mathbf{\beta} \end{pmatrix}∇β=(∂x∂​β∂y∂​β​)=(Dx​βDy​β​)

其中,Dx\mathbf{D}_{x}Dx​、Dy\mathbf{D}_{y}Dy​表示前向差分。

∥∇β∥22=(DxβDyβ)(DxβDyβ)=βTDxTDxβ+βTDyTDyβ=βT(DxTDx+DyTDy)β\| \nabla \mathbf{\beta} \|_{2}^{2} = \begin{pmatrix} \mathbf{D}_{x} \mathbf{\beta} & \mathbf{D}_{y} \mathbf{\beta} \end{pmatrix} \begin{pmatrix} \mathbf{D}_{x} \mathbf{\beta} \\ \mathbf{D}_{y} \mathbf{\beta} \end{pmatrix} = \mathbf{\beta}^{\text{T}} \mathbf{D}_{x}^{\text{T}} \mathbf{D}_{x} \mathbf{\beta} + \mathbf{\beta}^{\text{T}} \mathbf{D}_{y}^{\text{T}} \mathbf{D}_{y} \mathbf{\beta} = \mathbf{\beta}^{\text{T}} \left( \mathbf{D}_{x}^{\text{T}} \mathbf{D}_{x} + \mathbf{D}_{y}^{\text{T}} \mathbf{D}_{y} \right) \mathbf{\beta}∥∇β∥22​=(Dx​β​Dy​β​)(Dx​βDy​β​)=βTDxT​Dx​β+βTDyT​Dy​β=βT(DxT​Dx​+DyT​Dy​)β

其中,DxT\mathbf{D}_{x}^{\text{T}}DxT​、DyT\mathbf{D}_{y}^{\text{T}}DyT​表示后向差分;DxTDx+DyTDy\mathbf{D}_{x}^{\text{T}} \mathbf{D}_{x} + \mathbf{D}_{y}^{\text{T}} \mathbf{D}_{y}DxT​Dx​+DyT​Dy​表示五点空间同性拉普拉斯矩阵。令L(β)\mathcal{L} (\mathbf{\beta})L(β)关于β\mathbf{\beta}β的导数为零,则

∂L(β)∂β=log⁡H∘(β∘log⁡H−log⁡J)+λ(DxTDx+DyTDy)β=0⇓[log⁡H∘log⁡H+λ(DxTDx+DyTDy)]β=log⁡H∘log⁡J\begin{aligned} & \frac{\partial \mathcal{L} (\mathbf{\beta})}{\partial \mathbf{\beta}} = \log \mathbf{H} \circ \left( \mathbf{\beta} \circ \log \mathbf{H} - \log \mathbf{J} \right) + \lambda \left( \mathbf{D}_{x}^{\text{T}} \mathbf{D}_{x} + \mathbf{D}_{y}^{\text{T}} \mathbf{D}_{y} \right) \mathbf{\beta} = 0 \\ & \Downarrow \\ & \left[ \log \mathbf{H} \circ \log \mathbf{H} + \lambda \left( \mathbf{D}_{x}^{\text{T}} \mathbf{D}_{x} + \mathbf{D}_{y}^{\text{T}} \mathbf{D}_{y} \right) \right] \mathbf{\beta} = \log \mathbf{H} \circ \log \mathbf{J} \end{aligned}​∂β∂L(β)​=logH∘(β∘logH−logJ)+λ(DxT​Dx​+DyT​Dy​)β=0⇓[logH∘logH+λ(DxT​Dx​+DyT​Dy​)]β=logH∘logJ​

最终铅笔纹理图(final pencil texture map)为:

T=Hβ∗(9)\mathbf{T} = \mathbf{H}^{\beta^{\ast}} \tag {9}T=Hβ∗(9)

3.3 框架(Overall Framework)

将铅笔线条S\mathbf{S}S与色调纹理T\mathbf{T}T按像素相乘,计算最终输出:

R=S⋅T(10)\mathbf{R} = \mathbf{S} \cdot \mathbf{T} \tag {10}R=S⋅T(10)

3.4 彩铅(Color Pencil Drawing)

彩铅素描:将生成的灰度铅笔素描(the generated grayscale pencil sketch)R\mathbf{R}R作为彩色图像亮度通道(the brightness layer),即YUV色彩空间中的Y通道,然后将YUV空间映射到RGB空间。

4 实验






5 结论

6 致谢

文献阅读 - Combining Sketch and Tone for Pencil Drawing Production相关推荐

  1. Combining Sketch and Tone for Pencil Drawing Production 论文阅读(1)

    结合笔画和色调的铅笔素描生成 简介:这篇论文的作者是Cewu Lu .Li Xu. Jiaya Jia等人,来自香港中文大学计算机科学与工程系.介绍了如何使用笔画和色调生成一副类似人类手绘素描画.它的 ...

  2. 基于《Combining Sketch and Tone for Pencil Drawing Production》的图像铅笔画算法的实现

    一,借鉴: 本文借鉴了CSDN博主风吹夏天对此论文算法的理解:风吹夏天的图像铅笔画算法,以及香港中文大学Cewu Lu等人写的该论文的主页.原文作者和博主风吹夏天都给过代码,但是代码不全.我仔细看了原 ...

  3. 关于Cewu Lu论文《Combing Sketch and Tone for Pencil Drawing Production》铅笔画算法复现

    前情提要 其实图像转铅笔画算法说起来算是老生常谈了,但是其实很多时候用它也不清楚原理是什么,所以这里来探讨一下.由于卢策吾老师这一篇论文基本上算是奠定了铅笔画的基础,以及博主本人觉得卢老师非常厉害,, ...

  4. 条件随机场(Conditional random fields,CRFs)文献阅读指南

    与最大熵模型相似,条件随机场(Conditional random fields,CRFs)是一种机器学习模型,在自然语言处理的许多领域(如词性标注.中文分词.命名实体识别等)都有比较好的应用效果.条 ...

  5. 文献阅读005【精读】

    Markov Weight Fields for Face Sketch Synthesis 相关知识点:马尔可夫随机场(MRF) 1. Introduction 画像合成方法:MRF(Markov ...

  6. 【转载】关于文献阅读和科研选题

    本文转载自程明明老师博客:https://mmcheng.net/paperreading/ ‎ 对于论文的阅读和研究脉络的梳理很清晰,特别是在于找研究方向的建议上:从开山文献开始,会到当事人的角度去 ...

  7. 四位科研牛人介绍的文献阅读经验

     每天保持读至少2-3 篇的文献的习惯.读文献有不同的读法,但最重要的自己总结概括这篇文献到底说了什么,否则就是白读,读的时候好像什么都明白,一合上就什么都不知道,这是读文献的大忌,既浪费时间,最 ...

  8. 最大熵模型(Maximum Entropy Model)文献阅读指南

    最大熵模型(Maximum Entropy Model)是一种机器学习方法,在自然语言处理的许多领域(如词性标注.中文分词.句子边界识别.浅层句法分析及文本分类等)都有比较好的应用效果.张乐博士的最大 ...

  9. 文献阅读疑问(202010)

    学习笔记,仅供参考 文章目录 文献阅读疑问 Unsupervised Deep Embedding for Clustering Analysis 文献阅读疑问 Unsupervised Deep E ...

最新文章

  1. 堆、栈、方法区、静态代码块---Java
  2. 一种小型后台管理系统通用开发框架中的Cache缓存设计
  3. springboot整合JWT使用
  4. 注册.NET Framework
  5. ResourceDictionary主题资源替换(二) :编译期间,替换主题资源
  6. Google Protobuf 开发指南
  7. apktool(android app逆向)
  8. 线性表部分知识点小结
  9. mysql mapinfo_MapInfo常见数据格式
  10. 视频播放的时候不拦截OK键
  11. python绘制每日的时序图_GitHub - wavous/Python-100-Days: Python - 100天从新手到大师
  12. Surrogate mother是代孕妈妈,那么,Surrogate parent呢?
  13. 一些常用的免费接口,再也不怕找不到免费API了
  14. 职业规划以兴趣为导向,而不是盲目跟风
  15. PLSQL创建表空间的方法
  16. npm node升级到最新版本
  17. C - Recursive sequence (矩阵ksm)
  18. 数据结构课程设计之项目三---算术表达式求解
  19. Matlab与FPGA图像处理系列——基于FPGA的实时边缘检测系统设计,sobel边缘检测流水线实现
  20. 美赛2022年O奖经验分享(一)

热门文章

  1. python爬虫——正则表达式
  2. excel 中vb组合框_Excel数据验证组合框代码
  3. 使用VSCode插件CodeRunner一键编译运行Java
  4. 抓取2021百科知识竞赛题库和答案
  5. Latex脚注加超链接
  6. 机器学习笔记 - 特征向量和特征值
  7. 美国犹他大学计算机专业怎么样,2018美国计算机工程专业排名一览表
  8. 经典的W2kXP添加删除硬件
  9. 【RPO技巧拓展】————5、RPO攻击初探
  10. 搭建腾讯云通用文字识别General OCR项目及代码部署图文教程