Questions tagged [ami.js]

AMI Medical Imaging (AMI) is JavaScript library for medical imaging using threejs.

AMI is a threejs framework providing an easy-to-use API to visualize scientific data on the web. It is the successor to XTK.

15 questions
2
votes
2 answers

How to modify orientation of mgh/dicom/nifti file using nibabel

I have a hard time, figuring out a proper affine transformation for 3 different views i.e. coronal, axial and saggital, each having separate issues like below: 1: Axial color map get overlapped with the saggital original view. 2: Similarly Sagittal…
Jyotirmay
  • 1,533
  • 3
  • 21
  • 41
1
vote
1 answer

Combining AMI.js with XTK's volume rendering

I am currently working on my Bachelor thesis about displaying 3D medical data in the browser. Therefore I am writing an application that can display DICOM images and meshes. As far as I can see, the volume rendering of DICOMs is working better with…
AdLeu
  • 15
  • 3
1
vote
1 answer

Use mouse movement for change level/window in AMI Medical Imaging (AMI) JS ToolKit

I'm playing a bit with AMI Medical Imaging (AMI) JS ToolKit. Is there a way to move the windowing to a mouse event like right click & move? I know that it's possible to change window/level with the menus on the examples, but I would like to change…
0
votes
1 answer

XTK lesson 13 (ami example) - Removing the boundary lines in slices obtained from 2D volume rendering

I've implemented XTK lesson 13 from the AMI examples (this - https://fnndsc.github.io/ami/#xtk_lesson13) by passing a set of DICOM images. In the slices obtained, there are these colored dotted lines that I'm assuming is a boundary of some sort. I…
Zephyr
  • 1,612
  • 2
  • 13
  • 37
0
votes
1 answer

AMI js segmentation label map overlay class color is not getting displayed

I am referring this example. It is on vanilla javascript. Imported everything to as an angular provider service in angular 7.3.8 with AMI version 0.32.0 (three 0.99.0). Using the same test examples as in the link above. Original scan with…
Jyotirmay
  • 1,533
  • 3
  • 21
  • 41
0
votes
0 answers

Using stl with ami.js quadview leaves artifacts in 2D views

I am going over an example from ami.js https://github.com/FNNDSC/ami/blob/dev/examples/viewers_quadview/viewers_quadview.js to visualize a 2D slice of a 3D model of a bone overlayed as a segmentation mask over a 2D image of a corresponding CT…
0
votes
0 answers

providing smooth shading material

I am using ami.js for a brain research project. The objective is to load a brain model that is colored smooth shaded but here are the issues: a) The original stl model that I have, does not have the normals and it seems to be impossible to compute…
0
votes
0 answers

Displaying a DICOM dataset as 3D representation

I am trying to show a DICOM Series as a 3D representation. It worked with a different set of data but with the current one, the 3D image does not show up. The output values in the datastack of windowCenter and windowWidth are -964 and -664. I am…
AdLeu
  • 15
  • 3
0
votes
1 answer

DICOM Dataset not loading correct

I am trying to load a DICOM Series in all three directions (sagital, axial and coronal). The Dataset is oriented axial and displaying all the slices in axial orientation is working fine. But when displaying the sagital and coronal view, AMI.js only…
AdLeu
  • 15
  • 3
0
votes
0 answers

Loading DICOM from zip archive

I am trying to load DICOMs from a DICOM Server. Loading a single file with the URL is working fine. Now I want to load a whole series of DICOM Data. I get the data from the server with an HTTP-request as a zip archive. I have tried to unzip the…
AdLeu
  • 15
  • 3
0
votes
1 answer

How to use widgets AMI.js

In the example code for the widgets in AMI.js they get the WidgetsHandle from 'base/widgets/widgets.handle'. Is there a way to access the widgets when just using the AMI library without access to the whole repo? I've tried doing var wh = new…
brando
  • 293
  • 3
  • 12
0
votes
1 answer

Using XTK or AMI.js to display Freesurfer while/pial objects on T1.mgz

I'd like to recreate a web version of FreeSurfer pial/white surfaces overlaid on T1.mgz similar to the first freeview image at https://surfer.nmr.mgh.harvard.edu/fswiki/FsTutorial/PialEdits_freeview. Using XTK I can get something that hints at…
Ben Wagner
  • 37
  • 1
  • 5
0
votes
1 answer

Transfer Functions in xtk

How would I go about plugging in a transfer function to determine coloring and opacity in xtk based on pixel scalar intensity and / or gradient magnitude. This may be a separable 1d transfer Functions or a 2d transfer function. In addition to VTK,…
Alex Rothberg
  • 10,243
  • 13
  • 60
  • 120
-1
votes
2 answers

Memory keep growing if I load a new dicom file

Every time I upload a dicom file, the memory grow up. How can I clean the memory of the old ones
-1
votes
1 answer

Javascript Trying to run AMIjs examples in local it does not work

Hello and thank you for reading this. I would like to load the examples in local WebStorm IDE. In particular I am trying to load the loaders example: https://github.com/FNNDSC/ami/tree/dev/examples/viewers_upload The problem I get is the default…
Yone
  • 2,064
  • 5
  • 25
  • 56