Fixed README.md

This commit is contained in:
vanitasvitae 2015-04-12 00:30:25 +02:00
parent 94993a907f
commit d074516884

View file

@ -1,6 +1,6 @@
# 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 -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.
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.