用乳胶绘画

用乳胶绘画

我是 Latex 的新手,我想问一下,我是否可以直接用 Latex 绘制下面的图片?如果可以,有人可以帮我吗?

在此处输入图片描述

答案1

替代方案是tikz

在此处输入图片描述

\documentclass[tikz, border=3mm]{standalone}
\usetikzlibrary{positioning,
                shadows,
                shapes,
                }
\begin{document}
    \begin{tikzpicture}[
    node distance = 0pt,
shorten <>/.style = {shorten >=#1, shorten <=#1},
       box/.style = {%
            minimum height=12mm, text width=24mm, align=center,
            draw,  semithick, fill=white, outer sep=0pt,
            drop shadow},%
       sum/.style={%
            circle, draw, fill=white, drop shadow,
            minimum size=6mm, inner sep=0pt, outer sep=0pt,
            node contents={\huge$+$}},
         A/.style = {single arrow, draw, minimum height=8mm,
                     single arrow head extend=1mm,
                     shape border rotate=#1, fill=white, outer sep=0pt,
                     node contents={}},
                    ]
\node (n1) [A=0,label=left:{$f(x,y)$}];
\node (n2) [box,right=of n1] {Degradation\\ function\\$H$};
\node (n3) [A=0,right=of n2];
\node (n4) [sum,right=of n3];
\node (n5) [A=0,label=right:{$g(x,y)$},
            right=of n4];
\node (n6) [A=90,label=right:{$\eta(x,y)$},
            below=of n4];
            right=of n4,
    \end{tikzpicture}
\end{document}

答案2

使用短代码来实现此目的的一种方法pstricks

\documentclass[svgnames, border=20pt] {standalone}
\usepackage{amssymb, amsfonts, relsize}
\usepackage{pst-blur, pst-arrow, pstricks-add}
\usepackage[usestackEOL]{stackengine}
 \usepackage{auto-pst-pdf}

\begin{document}

\psset{ linejoin=1, nodesep=3pt, framesep=6pt, shadowcolor=DarkSlateGray, shadowangle=-30, blur}

$ \displaystyle \begin{psmatrix}[emnode=p, colsep=1.6cm]
        \psDefBoxNodes{In}{f(x, y)\enspace} & \hspace*{-1cm}
        \psDefBoxNodes{Deg}{\psshadowbox{\Centerstack{Degradation\rule{0pt}{3ex}\\function\\$H$}}}
        & \psDefBoxNodes{Circ}{\pscirclebox[shadow=true]{\mbox{\large\bfseries+}}}
        & \pnode[0,2.9pt]{Out}
        %%%
        \pnode[0,1pt](Deg:Cl){Din}
        \pnode[-2pt,2pt](Deg:Cr){Dout}
        \pnode[0pt, -5ex](Circ:bC){Noise}
        \uput[r](Noise){\Centerstack{Noise\\$η(x, y)$}}%
        \uput{6pt}[-20](Circ:tr){g(x, y)}
        \psBigArrow[doublesep=1.1mm](In:Cr)(Din)
        \psBigArrow[doublesep=1.1mm](Dout)(Circ:Cl )
        \psBigArrow[doublesep=1.1mm](Noise)(Circ:bC)
        \psBigArrow[doublesep=1.1mm](Circ:Cr)(Out)
    \end{psmatrix} $

\end{document} 

在此处输入图片描述

相关内容