Comments (3)
Application can read Dicom files from specified URL location. There are some important notes to provide correct file naming, access, etc.
How to create your own Dicom files dataset
-
Prepare folder with Dicom (*.dcm) files in some local folder on your workstation. For example: D:/med3web/data/dicom/lungs It is important to have ONLY *.dcm files inside this folder
-
Run command
dir *.dcm /b > file_list.txt
This command will add "file_list.txt" file with all *.dcm files listing inside.
- Create special file, named ".htaccess" and write following content in it:
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Headers "Content-Type"
Header set Access-Control-Allow-Methods "GET"
-
Copy your local folder (containing *.dcm, .htaccess, file_lists.txt files) into your web server. For example on location: www.mysite.org/med3web/data/lungs
-
Check correct URL and access possibility for just created folder. Enter in url line:
www.mysite.org/med3web/data/lungs/file_list.txt
You should see *.dcm file listing in browser window.
- Run Med3Web application, hosted on your server (dont use virtual server) and select "File -> Open by URL". Enter url
www.mysite.org/med3web/data/lungs
into Input URL text field and press "Load" button. It is important to remove trailing slash from your URL folder name.
If everything fine (your server work correctly) you will see in console window (console window can be open by pressing F12 in Chrome browser) following messages:
Dicom folder os loaded
Loaded file list. NNN files will be loaded. 1st file in list = XXXX.dcm
Loading ratio = 0
Loading ratio = 0.02
Loading ratio = 0.04
...
from mriviewer.
thx.
your tricks make it work now.
from mriviewer.
Is it able to open a zip file?
from mriviewer.
Related Issues (20)
- Arbitrary drawing on images HOT 1
- Unable to install or test HOT 8
- 3 axis view at same screen and can move each view with separate slider HOT 1
- Cant install or run HOT 2
- npm i .... HOT 2
- open from device HOT 3
- Make it accept files from url in any format and not just .dcm files.
- How to integrate with my existing organization's app?
- No issue template HOT 1
- No code of conduct
- No contribution guide
- No License
- UI is not modern HOT 5
- Make filters even more performative
- Request: documentation on running a version on one's own server HOT 1
- Appending files instead of replacing when I select another files HOT 1
- Usage of med3web as an external library HOT 5
- Failed to compile. Error in ./src/demo/engine/loaders/LoaderDicom.js HOT 2
- Error opening dcm files HOT 3
- Load specific files from url HOT 2
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 mriviewer.