[ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#pubInfo", "@graph": [ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCD0/NXW4aH07lWeqN00hKVsQFT8IArmlwRKAY8IFGV9ijOcjMkxlyXUp3v6tin5/cC4/HgVcv8mEPdCTbIFbnyLf1KmEgLvWs7SE7wIpQFhG79ptwaH3AVfP+BxIZyCXpTIGAV3Fu56yNEyn4nZZELS03O20D9WXDVD7le3RKzUQIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "cEQtWUqdA6Ex+AF8xU/p+iglQw3ofN2oBDgGccIa9YEtXJds0jmJrzrvQwmlcscXnF0LcH69tgqbBjhafWw3omtAYFI5Txvq+wfJHqpXhhA8Jub5EjXEAdLLWmMAZKp+eSBVXtwZdhjfd27+TeUx09+gbcnVpt3ABtz8qy8c2fo=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ" } ] }, { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ", "http://purl.org/nanopub/x/introduces": [ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#step" } ], "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T14:21:57.447680", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0000-0000-0000" } ] } ] }, { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#provenance", "@graph": [ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#assertion", "http://www.w3.org/ns/prov#generatedAtTime": [ { "@value": "2021-06-14T14:21:57.447680", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ] } ] }, { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#Head", "@graph": [ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#pubInfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#assertion", "@graph": [ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#LinguisticSystem", "@type": [ "https://schema.org/ComputerLanguage" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "python" } ], "http://www.w3.org/2000/01/rdf-schema#seeAlso": [ { "@id": "https://www.wikidata.org/wiki/Q28865" } ], "http://www.w3.org/2002/07/owl#versionInfo": [ { "@value": "3.7.9.final.0" } ] }, { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#back", "@type": [ "http://purl.org/net/p-plan#Variable" ], "http://www.w3.org/2000/01/rdf-schema#comment": [ { "@value": "None" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "back" } ] }, { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#front", "@type": [ "http://purl.org/net/p-plan#Variable" ], "http://www.w3.org/2000/01/rdf-schema#comment": [ { "@value": "None" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "front" } ] }, { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#out1", "@type": [ "http://purl.org/net/p-plan#Variable" ], "http://www.w3.org/2000/01/rdf-schema#comment": [ { "@value": "None" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "out1" } ] }, { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#step", "http://purl.org/dc/terms/description": [ { "@value": "@is_fairstep(label='Blend and adjust the constrast of the final image')\ndef dodge(front,back): \n result=front*255/(255-back) \n result[result>255]=255 \n result[back==255]=255 \n return result.astype('uint8')\n" } ], "http://purl.org/dc/terms/language": [ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#LinguisticSystem" } ], "http://purl.org/net/p-plan#hasInputVar": [ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#back" }, { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#front" } ], "http://purl.org/net/p-plan#hasOutputVar": [ { "@id": "http://purl.org/np/RAiZA4C_h4VUgXkhlcXQaRgBiVCiiFa-oCPQbr9_15BRQ#out1" } ], "@type": [ "http://dkm.fbk.eu/index.php/BPMN2_Ontology#ScriptTask", "http://purl.org/net/p-plan#Step" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Blend and adjust the constrast of the final image" } ] } ] } ]