From 8de67e1ce1a20ba1fc8a04df501e7d3e7f5a363a Mon Sep 17 00:00:00 2001 From: vanitasvitae Date: Sun, 12 Apr 2015 00:32:43 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cb1d2aa..53e999f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # DepthMapNeedle DepthMapNeedle is a java tool to inject or extract depth information in form of depthmaps from photos shot using Google Cameras Blur function. -This is a command line tool. Simply extract depth information as a png file by typing 'java -jar DepthMapNeedle -e IMAGE.jpg'. The depthmap will be stored in the same location as the image as 'IMAGE_d.png'. +This is a command line tool. Simply extract depth information as a png file by typing 'java -jar DepthMapNeedle.jar -e IMAGE.jpg'. The depthmap will be stored in the same location as the image as 'IMAGE_d.png'. In the same way you can extract the unblurred source image by replacing the '-e' with '-s'. -But the best part is, that you can modify the extracted depthmap in the image manipulation program of your choice and then replace the old depthmap in the image. +But the best part is, that you can modify the extracted depthmap in the image manipulation program of your choice and then replace the old depthmap in the image. Type 'java -jar DepthMapNeedle.jar -i MODIFIEDDEPTHMAP.png IMAGE.jpg'. This can be handy in case the original depthmap has some imperfections. Simply extract the depthmap, manipulate it and inject the fixed depthmap back into the image. Now all you have to do is rerender the image in the google camera.