Matches in Nanopublications for { ?s ?p ?o <http://purl.org/np/RA1KjnWKJ3k0F6qbA8_dGVWVbRW39pRxZ_wrCQFJeNY90#assertion>. }
Showing items 1 to 21 of
21
with 100 items per page.
- rate type Variable assertion.
- LinguisticSystem type ComputerLanguage assertion.
- img type Variable assertion.
- step type ScriptTask assertion.
- step type Step assertion.
- out1 type Variable assertion.
- rate label "rate" assertion.
- LinguisticSystem label "python" assertion.
- img label "img" assertion.
- step label "awesome step to pixelize an image, with adjustable rate" assertion.
- out1 label "out1" assertion.
- rate comment "None" assertion.
- img comment "None" assertion.
- out1 comment "None" assertion.
- LinguisticSystem versionInfo "3.7.9.final.0" assertion.
- LinguisticSystem seeAlso Q28865 assertion.
- step description "@is_fairstep(label='awesome step to pixelize an image, with adjustable rate') # Give it your own name: def my_awesome_adjustable_pixelization(img, rate): newx = int(rate * img.size[0]) newy = int(rate * img.size[1]) imgSmall = img.resize((newx,newy),resample=Image.BILINEAR) result = imgSmall.resize(img.size,Image.NEAREST) return result " assertion.
- step language LinguisticSystem assertion.
- step hasInputVar rate assertion.
- step hasInputVar img assertion.
- step hasOutputVar out1 assertion.