View in #cornerstone3d on Slack
@Ali_Habibi: Hi!
Is there a method called pixelToCanvas
in Cornerstone that can convert pixel coordinates to coordinates on the canvas?
How can I use it?
@Syed_Pasha: this was in legacy cornerstone. it got replaced with something else.
FYI:
https://github.com/cornerstonejs/cornerstone3D/issues/245
#245 Is there an api related to canvasToPixel and pixelToCanvas?
you basically have these now:
cornerstone.utilities.worldToImageCoords
cornerstone.utilities.imageToWorldCoords
@Ali_Habibi: thanks Pasha