【问题标题】:Openseadragon get the original image rgb value from image cordinatesopenseadragon从图像坐标获取原始图像rgb值
【发布时间】:2022-11-19 05:56:25
【问题描述】:

我正在尝试显示图像的原始 RGB 值(未在 openseadragon 画布上呈现)。我得到了图像坐标。我不想再次获取图像。 OPenseadragon 使用 getTileSource 来渲染图像。

到目前为止,这是我的代码:

    new OpenSeaDragon.MouseTracker({
    moveHandler:(event)=>{
    var viewportPoint = this.viewer.pointFromPixal(event.position);
    var imagePoint = this.viewer.viewport.viewportToImageCoordinates(viewportPoint.x,viewportPoint.y);

//here from imagePoint I need to get rgb value of original image


    }
    })

【问题讨论】:

    标签: javascript openseadragon


    【解决方案1】:

    这个插件应该做你想做的事:https://github.com/picturae/openseadragonrgb

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-05-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-04-05
      • 1970-01-01
      • 1970-01-01
      • 2020-12-01
      相关资源
      最近更新 更多