答案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}