[GRASS-user] Spectral Unmixing
Mohammed Rashad
mohammedrashadkm at gmail.com
Wed Nov 28 12:11:42 PST 2012
It will be nice if i get a working version of source and GRASS rather than
partial updates of addon.
Partial updates had some errors and cannot be rectified unless until the
entire algorithm is known.
If by any chance you can give me the old version with "meschach" i could
find the bug and port it to latest grass
BTW, in GRASS5 v_get(1) returns what?
eg found in source
startvector =* v_get(*A->cols); /* length: no. of spectra */
A_tilde = *m_get*(A->rows+1, A->cols); /* memory allocation */
*mv_mlt(*A_tilde, startvector, A_times_startvector);
*v_sub*(A_times_startvector, b_gamma, errorvector);
*sm_mlt*(mu, A_tilde_trans, A_tilde_trans_mu);
*mv_mlt*(A_tilde_trans_mu, errorvector, temp);
*v_sub*(startvector,temp,startvector); /* update
startvector */
Could you recall what these functions and a brief of what it does will help
atleast
mv_mlt() v_sub() sm_mlt()
On Thu, Nov 29, 2012 at 1:16 AM, Mohammed Rashad <mohammedrashadkm at gmail.com
> wrote:
> I had compiled and run i.spec.unmix for grass 6.3 but output is not correct
>
> So could you tell me which version of GRASS5 works with i.spec.unmix?
>
>
>
> On Wed, Nov 28, 2012 at 8:07 AM, Mohammed Rashad <
> mohammedrashadkm at gmail.com> wrote:
>
>> fine.
>>
>> If i give input map and the corresponding output map from i.spec.unmix.
>> can you evaluate?
>>
>> Also do you see any problem in my selection of input maps?
>>
>> which are available in grass sample dataset (nc_spm_08) landat (mapset)
>>
>>
>> On Wed, Nov 28, 2012 at 2:26 AM, Markus Neteler <neteler at osgeo.org>wrote:
>>
>>> Hi Rashad,
>>>
>>> On Tue, Nov 27, 2012 at 9:11 PM, Mohammed Rashad
>>> <mohammedrashadkm at gmail.com> wrote:
>>> >
>>> > Hi Markus,
>>> >
>>> > These is the error i got from spectral unmixing module
>>>
>>> maybe I was not clear: the module is currently non functional
>>> and needs to be updated and modernized. I write it in 1998/99
>>> as part of my master thesis for GRASS 5.
>>>
>>> >
>>> > GRASS 6.3.1svn (nc_spm_08):~ > i.spec.unmix
>>> ...
>>>
>>> The 6.3 version which I sent to use was partially updated by
>>> Brad Douglas (if I recall correctly) to GRASS 6 but not in a
>>> complete stage. So the order would be
>>>
>>> - get it running in 6.3 as you try;
>>> - while keeping GRASS 7 in mind (jump over 6.4) which may
>>> simplify some code structures.
>>>
>>> The update "train" was:
>>> * GRASS 5: i.spec.unmix: working with MESHACH numerical libs
>>> (http://www.netlib.org/c/meschach/readme)
>>> * GRASS 6.3: attempt to rewrite the MESHACH support to LAPACK
>>> support since the MESHACH library wasn't clear.
>>> This remained unfinished by me.
>>> * Someone (Brad?) took over to complete this but didn't fully finish.
>>> This version you are trying right now.
>>>
>>> Now we are at GRASS 7 and it is time to get i.spec.unmix up and
>>> running :)
>>>
>>> Best,
>>> Markus
>>>
>>
>>
>>
>> --
>> Regards,
>> Rashad
>>
>>
>
>
> --
> Regards,
> Rashad
>
>
--
Regards,
Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20121129/da72fc65/attachment.html>
More information about the grass-user
mailing list