commit 44183c3da6987386829d8e9e2a50b8a62508d503
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Sun Jul 23 21:36:58 2017 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Sun Jul 23 21:36:58 2017 +0200
Fix blind-primary-key
Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
diff --git a/TODO b/TODO
index 6e37c53..ec222b4 100644
--- a/TODO
+++ b/TODO
_AT_@ -1,12 +1,3 @@
-This command should not noticeably change the image:
-
- RGB="$(./blind-colour-srgb -ld1 1 0 0) $(./blind-colour-srgb -ld1 0 1 0) $(./blind-colour-srgb -ld1 0 0 1)"
- ./blind-from-image < in.png | ./blind-affine-colour -al <(./blind-colour-matrix $RGB) | \
- ./blind-affine-colour -al <(./blind-colour-matrix $RGB | ./blind-invert-matrix -ae) | \
- ./blind-to-image | convert - out.png
-
-
-
blind-transform affine transformation by matrix multiplication, -[xy] for tiling, -s for
improve quality on downscaling (pixels' neighbours must not change)
blind-apply-map remap pixels (distortion) using the X and Y values, -[xy] for tiling, -s for
diff --git a/blind-primary-key b/blind-primary-key
index d298af5..f1288af 100755
--- a/blind-primary-key
+++ b/blind-primary-key
_AT_@ -72,12 +72,14 @@ else
blind-affine-colour -al \
<(blind-colour-matrix -F "$pixfmt" $zflag -- "$_AT_" | \
blind-tee \
- >(blind-invert-matrix -ae | \blind-to-named -a blind-${pid}-invmat) | \
+ >(blind-invert-matrix -e | \blind-to-named -a blind-${pid}-invmat) | \
blind-repeat inf -)
}
unconvert () {
blind-affine-colour -al \
- <(blind-from-named -a blind-${pid}-invmat blind-repeat inf -)
+ <(blind-from-named -a blind-${pid}-invmat \
+ ./blind-arithm -xyz max <(./blind-single-colour -w 3 -h 3 1) | \
+ blind-repeat inf -)
}
fi
Received on Sun Jul 23 2017 - 21:55:24 CEST
This archive was generated by hypermail 2.3.0
: Sun Jul 23 2017 - 22:01:41 CEST