From 8e763d0232bff13b812dd65ac62a2a8eb725288e Mon Sep 17 00:00:00 2001 From: Kerautret <bertrand.kerautret@univ-lyon2.fr> Date: Thu, 27 Dec 2018 01:08:19 +0100 Subject: [PATCH] Demo: fix script bg --- Code/Seg/IPOLdemo/Scripts/displaySegmentsInteract.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Code/Seg/IPOLdemo/Scripts/displaySegmentsInteract.sh b/Code/Seg/IPOLdemo/Scripts/displaySegmentsInteract.sh index 4c8dfd8..0deb51c 100755 --- a/Code/Seg/IPOLdemo/Scripts/displaySegmentsInteract.sh +++ b/Code/Seg/IPOLdemo/Scripts/displaySegmentsInteract.sh @@ -10,10 +10,11 @@ OUT_FILE_BASENAME=$4 +convert +contrast +contrast +contrast +contrast +contrast -modulate 160,100,100 -type grayscale -depth 8 ${BG_IMAGE} inputBG.png -displayLineSegments -i ${LINE_FILE} --customLineColor 50 50 250 --backgroundImage ${BG_IMAGE} -o ${OUT_FILE_BASENAME}.fig -s ${INPUT_LINESEED} --customLineColorSec 250 50 50 --customPointColor 50 250 50 --lineWidth 2 --lineWidthSec 2 --noDisplayEndPoints +displayLineSegments -i ${LINE_FILE} --customLineColor 50 50 250 --backgroundImage inputBG.png -o ${OUT_FILE_BASENAME}.fig -s ${INPUT_LINESEED} --customLineColorSec 250 50 50 --customPointColor 50 250 50 --lineWidth 2 --lineWidthSec 2 --noDisplayEndPoints fig2dev -L eps ${OUT_FILE_BASENAME}.fig ${OUT_FILE_BASENAME}.eps convert -background \#FFFFFF -flatten ${OUT_FILE_BASENAME}.eps -geometry 512x ${OUT_FILE_BASENAME}.png -displaySet2dPts -i segmentsPoints.dat -o ${OUT_FILE_BASENAME}Pts.fig --backgroundImage ${BG_IMAGE} +displaySet2dPts -i segmentsPoints.dat -o ${OUT_FILE_BASENAME}Pts.fig --backgroundImage inputBG.png fig2dev -L eps ${OUT_FILE_BASENAME}Pts.fig ${OUT_FILE_BASENAME}Pts.eps convert -background \#FFFFFF -flatten ${OUT_FILE_BASENAME}Pts.eps -geometry 512x ${OUT_FILE_BASENAME}Pts.png -- GitLab