From: nicolas Date: Wed, 27 Oct 2010 13:21:30 +0000 (+0000) Subject: link to left polar decomposition in the ClampUpAxes comments X-Git-Tag: 7.0.1-0~8611 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f170e5f8b1f9642c4e3499392d4acf4e684f08a6;p=imagemagick link to left polar decomposition in the ClampUpAxes comments --- diff --git a/magick/resample.c b/magick/resample.c index 48070b33a..5516c0210 100644 --- a/magick/resample.c +++ b/magick/resample.c @@ -1334,10 +1334,17 @@ static inline void ClampUpAxes(const double dux, * of radius r in output space is an ellipse which contains, at * least, a disc of radius r. (Make this hold for any r>0.) * - * METHOD: Find the singular values and (unit) left singular vectors - * of Jinv, clampling up the singular values to 1, and multiplying - * the unit left singular vectors by the new singular values in - * order to get the minor and major ellipse axis vectors. + * SUMMARY OF THE METHOD: Compute the non-unitary factor of the left + * polar decomposition of the linear transformation defining the + * ellipse and make sure that both its columns have norm at least 1. + * Because rotations and reflexions map disks to themselves, it is + * not necessary to compute the other factor of the polar + * decomposition. + * + * DETAILS: Find the singular values and (unit) left singular + * vectors of Jinv, clampling up the singular values to 1, and + * multiplying the unit left singular vectors by the new singular + * values in order to get the minor and major ellipse axis vectors. * * Inputs: *