projects
/
debian
/
gnuradio
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'upstream' into dfsg-orig
[debian/gnuradio]
/
gr-radar-mono
/
src
/
utils
/
echo_image.m
diff --git a/gr-radar-mono/src/utils/echo_image.m
b/gr-radar-mono/src/utils/echo_image.m
new file mode 100644
(file)
index 0000000..
2e066ae
--- /dev/null
+++ b/
gr-radar-mono/src/utils/echo_image.m
@@ -0,0
+1,6
@@
+function echo_image(filename, data)
+ d = abs(data);
+ d = d-min(min(d));
+ d = d/(max(max(d)))*255;
+ pngwrite(filename, d, d, d, ones(size(d)));
+endfunction
\ No newline at end of file