Giter Club home page Giter Club logo

kslice's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

pieper

kslice's Issues

Clean up code

I commented out certain functions whose presence is unnecessary. PK, search for comments in the project 'PKDelete' and either uncomment the function (if its essential) or delete the section

UIVol and UIArray are not sync'd

UIVol and UIArray are not sync'd necessarily, leads to bizarre effects when trying to switch between 2d/3d or uk at a point

range_UIVol = self.UIVol.GetScalarRange()
range_UIArr = [self.UIarray.min(),self.UIarray.max()]

print the ranges:

''''
Accumulate User Input! [252, 189, 73]Axial (Red)
modified by user, kslice bot is running
min,max of UIVol and UIArr = (-1.0, 0.0); [-6.0, 0.0], sign(uk)= -1
''''

flawed assumption; modfied happens in many situations, not necessarily drawing

This block has a flawed assumption; modfied happens in many situations, not necessarily drawing! Eg: switch modules, resize window, etc.

'''''
#put a listener on label, so we know when user has drawn
labelImg=self.labelNode.GetImageData()
self.ladMod_tag=labelImg.AddObserver("ModifiedEvent", self.labModByUser)
self.labelImg=labelImg
'''''

finding user input provided from time t_k to t_k+1

We want to wait for user to finish his brushstroke (rather than looking at each brush circle at a time for instance) to compute the nex user input. To what event should the observer respond for this to occur?

Calling Modified() on vtkImageData

We were told to call modify 2x (once in python after changes, once in vtkKSlice in runUpdate() function) this results in observers listening to Modified events being called twice. thus the call in runUpdate() has been commented out (will this break anything down the road?). Look at function labModByUser() in python code, is this the correct way to discriminate between events when label was modified by user vs when the active contour changed the label (necessary to know this for using a cached level set vs re-initializing it)?

relative paths in cmake

Why is it necessary to copy vtkKSlice.cpp(h) to the Logic directory, why don't relative paths (commented out) work?

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.