GithubHelp home page GithubHelp logo

RWLS not working about leap HOT 4 CLOSED

stephoog avatar stephoog commented on May 30, 2024
RWLS not working

from leap.

Comments (4)

kylechampley avatar kylechampley commented on May 30, 2024

It would be helpful to have a little more information about this error. Could you send me the following:

  1. The screen output of leapct.print_parameters()
  2. The source of the data
  3. The scaling of the data (min/ max) values
  4. Do any of the other reconstruction algorithms return an expected result?

from leap.

stephoog avatar stephoog commented on May 30, 2024

The data is simulated medical CT. Yes FBP and LS reconstructions looks good. My screen output:
RWLS iteration 1 of 10
lambda = 0.0
invalid step size; quitting!

from leap.

kylechampley avatar kylechampley commented on May 30, 2024

OK, well, then, it must be that the weights are messing things up. It would be helpful if you sent me the output of leapct.print_parameters(). In any case, make sure the detector pixel sizes and reconstruction voxel sizes are specified in mm.

If you are simulating by forward projecting a voxelized volume, make sure the units of the voxel values are in mm^-1. Water should be around 0.02. If you see values above 1000, these are in Hounsfield units and need to be scaled by 1/50000 to put them in approximate mm^-1 units.

Here is why this matters. If the values in the volume are too high, then the values in the forward simulation will be too high and then weights in RWLS are set to exp(-g) by default and exp(-LARGE) = 0. So this will zero out everything. Remember this is a quantitative algorithm that requires that the weights model the noise in the data, so if it is off, the reconstruction won't work.

from leap.

stephoog avatar stephoog commented on May 30, 2024

That did it thanks!

from leap.

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.