Matches in Nanopublications for { <http://purl.org/np/RA1f_LDHckqthMztlyHPe_pQ_Bfa59QZWIbH_BeTizUTM#step> ?p ?o ?g. }
Showing items 1 to 9 of
9
with 100 items per page.
- step type Step assertion.
- step type ScriptTask assertion.
- step label "awesome step to pixelize an image, with adjustable rate" 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 hasOutputVar out1 assertion.
- step hasInputVar rate assertion.
- step hasInputVar img assertion.
- step isStepOfPlan plan assertion.