Questions tagged [papaya]

An open-source, pure JavaScript medical research image viewer supporting DICOM and NIFTI formats.

An open-source, pure JavaScript medical research image viewer supporting DICOM and NIFTI formats. More information can be found at https://github.com/rii-mango/Papaya

16 questions
2
votes
1 answer

How to receive/convert arrayBuffer from response data in Meteor

I have a router like as below: Router.route("/public/dicom/:dataid/:filename", function () { var filePath = this.params.dataid + "/" + this.params.filename; var basePath = process.env.HOME; var filename = basePath + "/public/dicom/" +…
devcfz
  • 31
  • 4
2
votes
1 answer

make pagination in papaya dicom viewer slices using javascript

i'm using papaya API from github In this papaya dicom viewer, I want to integrate few things. One is pagination. if i try to edit this API, I'm getting error What i want:- In the papaya viewer NEXT, PREV is working fine but I want to make On click…
2
votes
1 answer

Papaya DICOM image viewer - swap main slice

I am using papaya to view DICOM images. I want to swap the main slices to view the sagittal and coronal views of the images. This is my code. But I get an error saying this.canvas not defined. What am I doing wrong? Here's my code:
chrisrhyno2003
  • 3,906
  • 8
  • 53
  • 102
2
votes
1 answer

Papaya viewer - command to view next slice

I am using papaya to view DICOM images. http://ric.uthscsa.edu/mango/papaya.html I wanted to know how can I move to the next slice using the keyboard keys. Since all the command is embedded on the javascript file, is there a specific function I…
chrisrhyno2003
  • 3,906
  • 8
  • 53
  • 102
1
vote
0 answers

Papaya viewer - how to import and use in React.js?

I've been tasked with implementing Papaya viewer in a React frontend, and it's my first time working with it. It might sound silly, but I can't figure out how to import it and get it to run in React. I've installed it from NPM (NPM Link) and tried…
1
vote
1 answer

How can I create a surface file using multiple DICOM files in JavaScript using Papaya?

I am trying to do volume rendering using one of the open source project. I want to create a surface file from my DICOM images. I know this is possible by using mango viewer exe; but I want to do it using javascript. Please help me.
Nikhil Ghuse
  • 1,258
  • 14
  • 31
1
vote
1 answer

DICOM viewer - highlight a specific area

I am using papaya to view a DICOM image. I want to highlight a specific region of the image when a user drags over a region. I was trying to use Jcrop plugin, but it does not seem to work. Is there a fix in doing that? Or does the papaya viewer have…
chrisrhyno2003
  • 3,906
  • 8
  • 53
  • 102
0
votes
0 answers

Downloading a file in nii.gz (NIFTI) format from AWS S3 in Express/React app (Papaya viewer)

I have an image in NIfTI (nii.gz) format stored in an S3 bucket. I want to display this in my React frontend using Papaya viewer, sending it via a Node/Express backend. How do I download the file and send it across? I can use the getObject method,…
0
votes
1 answer

Is there any possibility to view jpeg images in papaya Dicom viewer?

I want to view the JPEG images in papaya Dicom viewer (Only main view). Because I need xy position and xy coordinates have same like DCM images. Is it possible in papaya Dicom viewer?
Ashok Charu
  • 274
  • 2
  • 23
0
votes
1 answer

How to remove ordering the slices according to metadata

I'm using papaya js for viewing medical images. My problem :- Papaya js automatically ordering the slices according to metadata. Ex: My array format like this below, params['images'] = ['3.dcm','5.dcm','2.dcm','4.dcm','1.dcm']; In my viewer i can…
Ashok Charu
  • 274
  • 2
  • 23
0
votes
1 answer

Papaya Dicom viewer slices are showing reverse order

I'm creating the viewer for medical images. In papaya array loading like this, var dcmImages = [[ "MR.1.2.840.113619.2.244.3596.11861950.26703.1468828230.740", "MR.1.2.840.113619.2.244.3596.11861950.26703.1468828230.741", …
Ashok P
  • 35
  • 1
  • 9
0
votes
1 answer

how to use pan tool in papaya viewer

Hi there I have tried to implement PAN Tool for papaya viewer but no luck, I came up with these two functions papaya.viewer.Viewer.prototype.setCurrentPanLocation = function (xLoc, yLoc, sliceDirection) { and…
Nikhil Ghuse
  • 1,258
  • 14
  • 31
0
votes
1 answer

how to manage zoom and length handle in papaya

What I want to do is 1) I want to draw a length on image and want to add handle to edit it. 2) When I want to zoom the image the drawn length should match the zoom level. ctx.beginPath(); ctx.moveTo(linearr[i].x1, linearr[i].y1); …
Nikhil Ghuse
  • 1,258
  • 14
  • 31
0
votes
2 answers

papaya DICOM viewer, moving slice not working, When it's same

I have an array that contains list DICOM slices. var data =…
Ashok Charu
  • 274
  • 2
  • 23
0
votes
1 answer

DICOM viewer - viewing segmented images

Hi I am using Papaya to view DICOM images. I have a segmented set of DICOM images whose segmented structures I can view using this software called dicomplyer( http://www.dicompyler.com/). I can see the segmented structures on that software by…
chrisrhyno2003
  • 3,906
  • 8
  • 53
  • 102
1
2