<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<base href="x-msg://1754/">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
I agree that it would be best to have all pan sharpening algorithms together if possible. New ones should be addable as new classes or methods in the existing module. Note that I did employ parallel processing to the extent possible. It might be possible to
 apply this kind of processing to other sharpening algorithms. 
<div><br>
</div>
<div>Michael<br>
<div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; orphans: 2; text-indent: 0px; widows: 2; border-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">______________________________</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">C. Michael Barton </span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Director, Center for Social Dynamics & Complexity</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Professor of Anthropology, School of Human Evolution & Social Change</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<span class="Apple-style-span" style="font-size: 12px; font-family: Helvetica; ">Arizona State University</span></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Tempe, AZ  85287-2402</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">USA</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; "><br>
</span></font></div>
<div><font class="Apple-style-span" face="Helvetica" size="3" style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="font-size: 12px; ">voice:<span class="Apple-converted-space"> </span><span class="Apple-tab-span" style="white-space: pre; ">
</span>480-965-6262 (SHESC), 480-965-8130/</span></font><span style="font-size: 12px; ">727-9746</span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "> (CSDC)</span></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)</span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; ">www: <span class="Apple-tab-span" style="white-space: pre; ">
</span><a href="http://csdc.asu.edu">http://csdc.asu.edu</a>, <a href="http://shesc.asu.edu">
http://shesc.asu.edu</a></span></font></div>
<div style="color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<font class="Apple-style-span" face="Helvetica" size="3"><span class="Apple-style-span" style="font-size: 12px; "><span class="Apple-tab-span" style="white-space: pre; "></span><a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a></span></font></div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
<br>
<div>
<div>On Nov 15, 2013, at 8:20 AM, Nikos Alexandris <<a href="mailto:nik@nikosalexandris.net">nik@nikosalexandris.net</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-family: 'Droid Sans Mono'; font-size: 9pt; ">
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">Moritz Lennert wrote:</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">..</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> I just did a quick test:</div>
<p style="white-space: pre-wrap; margin: 0px; text-indent: 0px; "> </p>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> pan in:</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> mean: 31.813</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> standard deviation: 3.75447</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> </div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> ms in:</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> mean: 15.2307</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> standard deviation: 3.55858</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> </div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> pan out:</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> mean: 15.6117</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> standard deviation: 3.23408</div>
<p style="white-space: pre-wrap; margin: 0px; text-indent: 0px; "> </p>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> So for this example, mean seems to have been adjusted, but stddev not.</div>
<p style="white-space: pre-wrap; margin: 0px; text-indent: 0px; "> </p>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">Thanks. Looks not to be the exact same here too.</div>
<p style="white-space: pre-wrap; margin: 0px; text-indent: 0px; "> </p>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> > > > ? Would it be desired to get the HPFA algorithm integrated in</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> > > > i.pansharpen?</div>
<p style="white-space: pre-wrap; margin: 0px; text-indent: 0px; "> </p>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> > > Yes. I think that if we have a generic module such as i.pansharpen, it</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> > > would be preferable to have all pansharpening methods in that one</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> > > module.</div>
<p style="white-space: pre-wrap; margin: 0px; text-indent: 0px; "> </p>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> > There is one "difference" in that HPFA treats all bands to be sharpened</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> > separately. And, in this manner, it can be (mis-)used to sharpen any</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> > low-res band. For example, WorldView-2 products have 8 multi-spectral</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> > bands. Hence the "not red= green= blue=" design so far from my side.</div>
<p style="white-space: pre-wrap; margin: 0px; text-indent: 0px; "> </p>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> i.pansharpen does not imply rgb either (although the description of the</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> ms* parameters does suggest that. You can obviously use any ms bands you</div>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">> want.</div>
<p style="white-space: pre-wrap; margin: 0px; text-indent: 0px; "> </p>
<div style="white-space: pre-wrap; margin: 0px; text-indent: 0px; ">Yes, I know. I just wanted to avoid this r= g= b= logic. Maybe I am wrong and perhaps it is better, indeed, to follow the common path.</div>
<p style="white-space: pre-wrap; margin: 0px; text-indent: 0px; "> </p>
</div>
</blockquote>
</div>
<br>
</div>
</body>
</html>