Comments (8)
You can now specify 'positiveThreshold' and 'negativeThreshold' properties in Image objects.
from nsviewer.
Excellent! It works nicely, except for one thing. Is there a way to force the text input linked to the slider, e.g.
viewer.addSlider('pos-threshold', '.slider#pos-threshold', 'horizontal', 0, 1, 0, 0.01, null, '#pos-threshold-text');
<input class="slider-text" id="pos-threshold-text" />
<div class="slider layer_settings" id='pos-threshold'></div>
to update when the image loads?
from nsviewer.
I think I just fixed this in my last push. Try and see. If it still doesn't work, let me know. As a workaround, you can always do Viewer.selectLayer(0), which should activate the 0th layer and update the view accordingly.
from nsviewer.
hmm, it doesn't seem to work for me with the new nsviewer pull or with your
workaround (calling viewer.selectLayer(0)
right after
viewer.loadImages(images)
)
maybe I have the text box declared wrong? if I just nudge the slider, it
displays the right value.
from nsviewer.
in case it's useful for debugging, i'm serving my app here for the time
being: http://stanford.io/17mMW8t
On Thu, Aug 1, 2013 at 1:38 PM, Michael Waskom
[email protected]:
hmm, it doesn't seem to work for me with the new nsviewer pull or with
your workaround (callingviewer.selectLayer(0)
right after
viewer.loadImages(images)
)maybe I have the text box declared wrong? if I just nudge the slider, it
displays the right value.
from nsviewer.
Should work now.
from nsviewer.
still seems broken on my end :/. am i missing something?
On Thu, Aug 1, 2013 at 2:05 PM, Tal Yarkoni [email protected]:
Should work now.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-21969601
.
from nsviewer.
cool, seems to work now. maybe it was a caching issue? anyway, thanks!
On Thu, Aug 1, 2013 at 2:12 PM, Michael Waskom
[email protected]:
still seems broken on my end :/. am i missing something?
On Thu, Aug 1, 2013 at 2:05 PM, Tal Yarkoni [email protected]:
Should work now.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-21969601
.
from nsviewer.
Related Issues (20)
- Update image/scene parameters from object
- Add colorbrewer palettes
- Allow loading of images that aren't in MNI space HOT 10
- Link statistical images to 4D data and plot across time at selected voxel HOT 1
- nsviewer fails to display an image properly HOT 4
- current version is broken: example does not work
- De-fuzzing the fuzz HOT 3
- The example link in the README is broken
- Nifti size in nsviewer HOT 14
- Replace array-of-array volume representation with ndarrays HOT 1
- Pre-compute final color image and render only once HOT 3
- Package dependencies properly
- Possibly switch to custom nifti reader HOT 2
- Images not loading HOT 1
- Singleton pattern? HOT 1
- Layers in different colors HOT 2
- Loading progress indicator needed HOT 1
- Slider value doesn't reflect actual handle position
- Table of clusters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nsviewer.