Perspective Distortion Compensation



Hi,

Currently input profile calibration can fail because a target has even
the slightest perspective distortion. Argyll can compensate for that
within reason.

This patch should enable perspective distortion compensation.

Regards,
Pascal de Bruijn
From d9971682e227b960f95cbc9cbe35090b32f0039b Mon Sep 17 00:00:00 2001
From: Pascal de Bruijn <pmjdebruijn pcode nl>
Date: Fri, 12 Feb 2010 22:56:52 +0100
Subject: [PATCH] have scanin compensate for perspective distortion

---
 src/gcm-calibrate-argyll.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gcm-calibrate-argyll.c b/src/gcm-calibrate-argyll.c
index 3bfb99d..6b40b80 100644
--- a/src/gcm-calibrate-argyll.c
+++ b/src/gcm-calibrate-argyll.c
@@ -865,6 +865,8 @@ gcm_calibrate_argyll_device_measure (GcmCalibrateArgyll *calibrate_argyll, GErro
 
 	/* setup the command */
 	g_ptr_array_add (array, g_strdup ("-v9"));
+	g_ptr_array_add (array, g_strdup ("-p"));
+	g_ptr_array_add (array, g_strdup ("-a"));
 	g_ptr_array_add (array, g_strdup (filename));
 	g_ptr_array_add (array, g_strdup ("scanin.cht"));
 	g_ptr_array_add (array, g_strdup ("scanin-ref.txt"));
-- 
1.6.3.3



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]