This commit is contained in:
kbecke23 2018-05-16 12:41:01 +02:00
commit de8120d4c3
2 changed files with 51 additions and 0 deletions

BIN
src/ansi_c_implementation/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -0,0 +1,51 @@
<!DOCTYPE html>
<html>
<head>
NLMSvariants | Graphical Output || click font to hide graph
<h2><font face="arial" id="1" color="black" onclick="clicksvg(this)">Image Samples</font> |
<font face="arial" id="2" color="green" onclick="clicksvg(this)">Local Mean</font> |
<font face="arial" id="3" color="blue" onclick="clicksvg(this)">Direct predecessor</font> |
<font face="arial" id="4" color="red" onclick="clicksvg(this)">Differential predecessor</font></h2>
<script>
function clicksvg(e){
id = e.id
graph = document.getElementById("svg_" + id);
if(graph.style.visibility == "hidden" || !graph.style.visibility){
graph.style.visibility = "visible";
}else{
graph.style.visibility = "hidden";
}
}
</script>
</head>
<body bgcolor="#efefef">
<svg height="1200" viewBox="100 50 400 -400" width="3000" version="1.1"
xmlns="http://www.w3.org/2000/svg">
<desc>NLMSvariants output graph
</desc>
<defs>
<pattern id="smallGrid" width="10" height="10" patternUnits="userSpaceOnUse">
<path d="M 10 0 L 0 0 0 10" fill="none" stroke="gray" stroke-width="0.5"></path>
</pattern>
<pattern id="grid10" width="100" height="100" patternUnits="userSpaceOnUse">
<rect width="100" height="100" fill="url(#smallGrid)"></rect>
<path d="M 100 0 L 0 0 0 100" fill="none" stroke="gray" stroke-width="1"></path>
</pattern>
</defs>
<rect fill="white" height="800" width="3000" y="0"></rect>
<rect fill="url(#grid10)" height="800" width="3000" y="0"></rect>
<g transform="translate(0,0) scale(1, 1)">
<line class="l1 s-black " stroke="black" x1="-200" x2="3000" y1="400" y2="400"></line>
<line class="l1 s-black " stroke="black" x1="50" x2="50" y1="-200" y2="800"></line>
</g>
<g transform="translate(50, 400) scale(1,-1)">
<path d="M0 0
<text class="t36 t-mid bold f-black" x="40" y="40">+ +</text>
<text class="t36 t-mid bold f-black" x="-40" y="40">- +</text>
<text class="t36 t-mid bold f-black" x="40" y="-40">+ -</text>
<text class="t36 t-mid bold f-black" x="-40" y="-40">- -</text>
</g>
</svg>
</body>
<html>