Code Monkey home page Code Monkey logo

Comments (5)

mohakpatel avatar mohakpatel commented on July 27, 2024

Hi Ronald,
What was the new subset size that you prescribed in the main file?

Best,
Mohak

from fidvc.

ragyei avatar ragyei commented on July 27, 2024

Hi Mohak,
The subset size im using is 32 by 32 by 32 since i want better resolution for my strains and i get the consistent error that reads

Subscript indices must either be real positive integers or logicals.

Error in checkConvergenceSSD (line 76)
dSSE = diff(SSE(idx)); % calculate difference

Error in IDVC (line 60)
[converged01, SSE(i-1) , sSize(i,:), sSpacing(i,:)] = checkConvergenceSSD(I,SSE,sSize,sSpacing,convergenceCrit);

Error in funIDVC (line 65)
[u_, cc{i-1}, dm] = IDVC(I,sSize0,u_);

Error in exampleRunFileSmallest (line 75)
[u, cc, dm] = funIDVC(filename, sSize, incORcum);

from fidvc.

therewasnootherusername avatar therewasnootherusername commented on July 27, 2024

I have the same error with the subset size of 32 x 32 x 32.

from fidvc.

mohakpatel avatar mohakpatel commented on July 27, 2024

That is odd. I'm having a look at it. Will let you know about it.

from fidvc.

mohakpatel avatar mohakpatel commented on July 27, 2024

Hi Ronald,

Thanks for pointing this issue. We found a bug in our code which caused this error. We just fixed it and have shipped a new release which takes care of this issue. You should now be able to use subset size of [32,32,32]. Once again, thanks for pointing out about issue which allowed us to fix it.

One thing that will be useful to know is that FIDVC follows refinement of window size. This means that you can start with a bigger window size (ex [128,128,64]), and then the code iteratively solves for displacement field while refining the window size. This goes on till window size has been reduced to [32,32,32] and the convergence criteria has been met. So you don't need to start with window size of [32,32,32], you will get to it during refinement. Moreover, it's a good idea to start with bigger window size in beginning, so that you don't loose any large deformations.

I hope this helps.

Best,
Mohak

from fidvc.

Related Issues (20)

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.