FNNDSC / FNNDSC/ami

How to get the rawData with a minMax value?

Open
#400 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
745
Forks
212
PR merge metrics
No merged PRs in 30d

Description

#### Description
Hello, I'm trying to get the bones of a CT, I know I can change the threshold and it will change the stack.minMax value and it will affect to the 2d render, but I want to change the 3d render in order to export that values a get just the bones.

This is the values I want to export:
![image](https://user-images.githubusercontent.com/17741571/70341886-342e7200-1854-11ea-93e2-05075d5b4a3d.png)

However when I load the volume, it doesn´t have a threshold property and the only way to get the bones are changing the windowWidth and the windowCenter:

![image](https://user-images.githubusercontent.com/17741571/70342029-84a5cf80-1854-11ea-83d9-dc9fbdda6587.png)

to this:

![image](https://user-images.githubusercontent.com/17741571/70342105-a901ac00-1854-11ea-8a67-375c16e7ec2c.png)

So my question is:

**How can I get just the bones in the volume and export that values?**

Because I want to transform that values into a mesh using marchingcubes.
Thank you.

#### Browsers Affected
- [x] All
- [ ] Chrome
- [ ] Firefox
- [ ] Edge
- [ ] Safari 9
- [ ] Safari 8
- [ ] IE 11

### Versions
- AMI: v0.32.0
- THREEJS: v107

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.