http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#Head http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0 http://www.nanopub.org/nschema#hasAssertion http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#assertion http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0 http://www.nanopub.org/nschema#hasProvenance http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#provenance http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0 http://www.nanopub.org/nschema#hasPublicationInfo http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#pubInfo http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0 http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://www.nanopub.org/nschema#Nanopublication http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#assertion http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#LinguisticSystem http://www.w3.org/1999/02/22-rdf-syntax-ns#type https://schema.org/ComputerLanguage http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#LinguisticSystem http://www.w3.org/2000/01/rdf-schema#label python http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#LinguisticSystem http://www.w3.org/2000/01/rdf-schema#seeAlso https://www.wikidata.org/wiki/Q28865 http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#LinguisticSystem http://www.w3.org/2002/07/owl#versionInfo 3.7.9.final.0 http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#image http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/net/p-plan#Variable http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#image http://www.w3.org/2000/01/rdf-schema#comment None http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#image http://www.w3.org/2000/01/rdf-schema#label image http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#out1 http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/net/p-plan#Variable http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#out1 http://www.w3.org/2000/01/rdf-schema#comment None http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#out1 http://www.w3.org/2000/01/rdf-schema#label out1 http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#ratio http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/net/p-plan#Variable http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#ratio http://www.w3.org/2000/01/rdf-schema#comment None http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#ratio http://www.w3.org/2000/01/rdf-schema#label ratio http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#step http://purl.org/dc/terms/description @is_fairstep(label='contrast image by factor') def contrast_image(image, ratio): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(ratio) return new_image http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#step http://purl.org/dc/terms/language http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#LinguisticSystem http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#step http://purl.org/net/p-plan#hasInputVar http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#image http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#step http://purl.org/net/p-plan#hasInputVar http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#ratio http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#step http://purl.org/net/p-plan#hasOutputVar http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#out1 http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#step http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dkm.fbk.eu/index.php/BPMN2_Ontology#ScriptTask http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#step http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://purl.org/net/p-plan#Step http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#step http://www.w3.org/2000/01/rdf-schema#label contrast image by factor http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#provenance http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#assertion http://www.w3.org/ns/prov#generatedAtTime 2021-06-14T16:22:48.951087 http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#pubInfo http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#assertion http://www.w3.org/ns/prov#wasDerivedFrom http://purl.org/np/RAY1W7VRGwNznJp18etfmPczbkQlvFRK8mSVj8x-jCtl8 http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#sig http://purl.org/nanopub/x/hasAlgorithm RSA http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#sig http://purl.org/nanopub/x/hasPublicKey MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCPAyJFCA2/PdKLTXBCgKMLwE6LPIGMm9gINqjvPvOQVp2oZ0ZqB0v7Y/b7FqF90XUvbztM+GW5dsmMQUeuF+fty/5f2udsUnfHRmJQKiHxPNk9hdHwW5+1Tegh9dhwyPjJDWnGq36d+2j/EDIXqNiLI4xru5NY4G0c4FcS8YQRCQIDAQAB http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#sig http://purl.org/nanopub/x/hasSignature Zw6eHAplnWLuOKuxLKJ8D/eH/LSdfgp+4eOFImTWi1uz9ZxiXu8dsAWt7bpraoQawR3miEGsYEeLazW5kW0ESwABlaxYKc9d2XdTjK2JQH6MLX3U7rU+RqEv5Xztl8C0r4A1TM1MZwWN7+IJiWOlmT4mZXn8cAp9kkOQcA5cYrg= http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#sig http://purl.org/nanopub/x/hasSignatureTarget http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0 http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0 http://purl.org/nanopub/x/introduces http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0#step http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0 http://www.w3.org/ns/prov#generatedAtTime 2021-06-14T16:22:48.951087 http://purl.org/np/RAclh1IZNXIhaqnuzD--XTd12ZaKvFGaTP2outJ2giIA0 http://www.w3.org/ns/prov#wasAttributedTo https://orcid.org/0000-0000-0000-0000