Closed fyziktom closed 1 year 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.
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.
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.