tiwizz's recent timeline updates
tiwizz

tiwizz

V2EX member #377310, joined on 2019-01-14 11:22:11 +08:00
tiwizz's recent replies
直接 wezterm ,然后 ssh ,命令能记就记,记不住写笔记。
Mar 18, 2024
Replied to a topic by miaowo 问与答 年纪轻轻患了癌症,关于未来有点迷茫了
加油!保持好的心态。
@ChenSino 额,或者直接就 canvas 上同时绘制图像和你的模型结果。
@ChenSino 模型结果最好不要放回 dicom 里面,这个是前端工作干的事情啊。react jsx 例如这样: <div id="content" style={{ width: '800px', height: '600px', }} ref={imgRef}>
<img
id="image-content"
src={`data:image/png;base64,${imgbase64}`}
/>
<canvas ref={canvasDrawRef} width="800px" height="600px" />
</div>
在 canvas 层里面描绘你的结果,img 仍然是你解析的 dicom 图像。只要注意 canvas img 大小变化同步。
@ChenSino gdcm 可能还需要注意一下 GetPhotometricInterpretation(),即数据格式是不是"YBR_FULL",需要转 rgb 这类的。
建议使用 gdcm 来解析 dcm 文件,这个是多帧的。https://stackoverflow.com/questions/45193995/how-to-read-multi-frame-dicom-files-using-gdcm ,好像答案是 c#的,转一下就可以了吧,api 都一样。事实上都是分两层的吧,结果放在图像层上一层 canva 显示。
Aug 3, 2022
Replied to a topic by julyedu 推广 免费送 30 张七月在线 VIP 卡
感谢。兑换。
领了,感谢。非常的可以
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5242 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 01:27 · PVG 09:27 · LAX 18:27 · JFK 21:27
♥ Do have faith in what you're doing.