From e7e685780b9080c30c37881483e4a51a9268acb9 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sun, 4 Oct 2020 09:03:32 +0000 Subject: [PATCH] - also store edges as file git-svn-id: http://moon:8086/svn/matlab/trunk@144 801c6759-fa7c-4059-a304-17956f83a07c --- chromakey/chromakey.m | 1 + 1 file changed, 1 insertion(+) diff --git a/chromakey/chromakey.m b/chromakey/chromakey.m index 21bd38a..58132fd 100644 --- a/chromakey/chromakey.m +++ b/chromakey/chromakey.m @@ -56,6 +56,7 @@ final = max(0, intermediate - k_ds_matte.*edges.*ref_rgb); imshow(final); title("final") imwrite(intermediate, 'intermediate.png','png','alpha', matte); +imwrite(edges, 'edges.png','png'); imwrite(final, 'final.png','png','alpha', matte); imwrite(matte, 'alpha.png','png');