Coder Social home page Coder Social logo

hyperspectraltoolbox's People

Contributors

davidkun avatar sivertba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hyperspectraltoolbox's Issues

Errors in demo functions under Octave

Hi there, my env is Debian 8 x64, Octave 4.0.0.

Just cloned and loaded paths, as you suggest in Readme file. But both demos fail, sadly.

hyperDemo()

error: add_breakpoint: unable to find the requested function

hyperDemo2()

error: fgetl: invalid stream number = -1
error: called from
hyperReadAvirisSpc at line 19 column 9
hyperDemo2 at line 30 column 9
launch.m at line 7 column 1

hypermnf

how can i implement hypermnf in demo? I have done:
%% Resample AVIRIS image
[h, w, p] = size(M);
M2d = hyperConvert2d(M);
M = hyperMnf(M2d, h, w);
.......
but returns error :
Error using eig
Input to EIG must not contain NaN or Inf.

Error in eigs/fullEig (line 1086)
[V,D] = eig(eigInputs{:});

Error in eigs (line 102)
fullEig(nargout);

Error in hyperMnf (line 48)
[A, mu] = eigs(tmp, p);

Error in hyperDemo2 (line 54)
M = hyperMnf(M2d, h, w);

Error using dot

Hello, thank you for sharing the hyperSam mapper function.

When I tried using it, I get the error below.
Error using dot
A and B must be the same size
Error in SAM
angleAB(k) = acos(dot(tmp, B) / (norm(B) * norm(tmp)));

A is a 1x144 vector and B is 13x144 vector. Is there anyway to get around using the dot command for two vectors of different sizes? Thank you.

Performance issue

Hi,

thank you very much for your work, it's really helpful!

I have found a few lines, where performance could be increased. In hyperCem a foor loop is used whereas you could use a vectorized form:

results = target'_Rinv_M/tmp;

Again, thank you!

Regards
hofa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.