fyziktom / VirtualEconomyFramework

Framework for economy applications
https://veframework.com/
MIT License
24 stars 7 forks source link

FEATURE - NFT Xray class #101

Closed fyziktom closed 1 year ago

fyziktom commented 2 years ago

This NFT class will allow to store and load the parameters of some captured X-ray image. First applications will be in the industry, but it will be possible to use it to store medical images also.

I think this system is better way than DICONDE, especially in the cases where you need to share images globally, use them for training AI, etc.

Based on my knowledge of X-ray inspection I will design in this issue first stage of some common container for information around.

Future versions of this class should consider also storage for SNR and other parameters as it is described in ASTM and other normative frameworks.

fyziktom commented 2 years ago

Some progress from today :)

Here are the first XrayImageNFT and related XrayNFT.

The XrayNFT carry information about the device which captured the XrayImageNFT.

You can test it in TestVEDriversLite. In this test just input the txhash (989ac66c840e7d2518ef90712bf5cb95eb577eec09c55bab9be50fca7c5001fa) and it will load the XrayImageNFT and then XrayNFT. For Xray ImageNFT the test will load the Preview Image data and Image data from the IPFS. These functions are new and added to CommonNFT as virtual functions.

image

The TestVEDriversLite contains the tests for create json file with prepared tags for both new NFTs and then Mint NFT based on the file template with the data.

fyziktom commented 1 year ago

Nyní je k dispozici celé demo aplikace pro správu RTG snímků. Jedná se BDP App. Není tam dodělané editování snímků (filtrace apod.). Nicméně to by bylo vhodné řešit v rámci samostatné issue.