Matches in Nanopublications for { ?s <http://purl.org/dc/terms/description> ?o ?g. }
- plan description "@is_fairworkflow(label='My Workflow') def my_workflow(in1, in2, in3): """ A simple addition, subtraction, multiplication workflow """ t1 = add(in1, in2) t2 = sub(in1, in2) t3 = mul(weird(t1, in3), t2) return t3 " assertion.
- step description "@is_fairstep(label='A strange step with little use') def weird(a: float, b:float) -> float: """A weird function""" return a * 2 + b * 4 " assertion.
- step description "@is_fairstep(label='Multiplication') def mul(a: float, b: float) -> float: """Multiplying numbers.""" return a * b " assertion.
- step description "@is_fairstep(label='A strange step with little use') def weird(a: float, b:float) -> float: """A weird function""" return a * 2 + b * 4 " assertion.
- step description "@is_fairstep(label='Multiplication') def mul(a: float, b: float) -> float: """Multiplying numbers.""" return a * b " assertion.
- plan description "@is_fairworkflow(label='My Workflow') def my_workflow(in1, in2, in3): """ A simple addition, subtraction, multiplication workflow """ t1 = add(in1, in2) t2 = sub(in1, in2) t3 = mul(weird(t1, in3), t2) return t3 " assertion.
- step description "@is_fairstep(label='Subtraction') def sub(a: float, b: float) -> float: """Subtracting numbers.""" return a - b " assertion.
- step description "@is_fairstep(label='Addition') def add(a:float, b:float) -> float: """Adding up numbers!""" return a + b " assertion.
- step description "@is_fairstep(label='Subtraction') def sub(a: float, b: float) -> float: """Subtracting numbers.""" return a - b " assertion.
- plan description "@is_fairworkflow(label='My Workflow') def my_workflow(in1, in2, in3): """ A simple addition, subtraction, multiplication workflow """ t1 = add(in1, in2) t2 = sub(in1, in2) t3 = mul(weird(t1, in3), t2) return t3 " assertion.
- step description "@is_fairstep(label='A strange step with little use') def weird(a: float, b:float) -> float: """A weird function""" return a * 2 + b * 4 " assertion.
- step description "@is_fairstep(label='Multiplication') def mul(a: float, b: float) -> float: """Multiplying numbers.""" return a * b " assertion.
- step description "@is_fairstep(label='Addition') def add(a:float, b:float) -> float: """Adding up numbers!""" return a + b " assertion.
- step description "@is_fairstep(label='Subtraction') def sub(a: float, b: float) -> float: """Subtracting numbers.""" return a - b " assertion.
- plan description "@is_fairworkflow(label='My Workflow') def my_workflow(in1, in2, in3): """ A simple addition, subtraction, multiplication workflow """ t1 = add(in1, in2) t2 = sub(in1, in2) t3 = mul(weird(t1, in3), t2) return t3 " assertion.
- step description "@is_fairstep(label='Subtraction') def sub(a: float, b: float) -> float: """Subtracting numbers.""" return a - b " assertion.
- step description "@is_fairstep(label='A strange step with little use') def weird(a: float, b:float) -> float: """A weird function""" return a * 2 + b * 4 " assertion.
- plan description "@is_fairworkflow(label='My Workflow') def my_workflow(in1, in2, in3): """ A simple addition, subtraction, multiplication workflow """ t1 = add(in1, in2) t2 = sub(in1, in2) t3 = mul(weird(t1, in3), t2) return t3 " assertion.
- step description "@is_fairstep(label='Addition') def add(a:float, b:float) -> float: """Adding up numbers!""" return a + b " assertion.
- step description "@is_fairstep(label='Multiplication') def mul(a: float, b: float) -> float: """Multiplying numbers.""" return a * b " assertion.
- step description "@is_fairstep(label='Rotating an image represented as a string by 180 degrees') def rotate_image(imgstr:str) -> str: imgIn = Image.open(io.BytesIO(imgstr)) imgOut = imgIn.transpose(Image.ROTATE_180) imgOutStr = io.BytesIO() imgOut.save(imgOutStr, format="png") return imgOutStr.getvalue() " assertion.
- step description "@is_fairstep(label='Rotating an image represented as a string by 180 degrees') def rotate_image(imgstr:str) -> str: imgIn = Image.open(io.BytesIO(imgstr)) imgOut = imgIn.transpose(Image.ROTATE_180) imgOutStr = io.BytesIO() imgOut.save(imgOutStr, format="png") return imgOutStr.getvalue() " assertion.
- step description "@is_fairstep(label='Addition') def add(a:float, b:float) -> float: """Adding up numbers!""" return a + b " assertion.
- step description "@is_fairstep(label='Multiplication') def mul(a: float, b: float) -> float: """Multiplying numbers.""" return a * b " assertion.
- step description "@is_fairstep(label='Subtraction') def sub(a: float, b: float) -> float: """Subtracting numbers.""" return a - b " assertion.
- step description "@is_fairstep(label='A strange step with little use') def weird(a: float, b:float) -> float: """A weird function""" return a * 2 + b * 4 " assertion.
- plan description "@is_fairworkflow(label='My Workflow') def my_workflow(in1, in2, in3): """ A simple addition, subtraction, multiplication workflow """ t1 = add(in1, in2) t2 = sub(in1, in2) t3 = mul(weird(t1, in3), t2) return t3 " assertion.
- step description "@is_fairstep(label='Addition') def add(a:float, b:float) -> float: """Adding up numbers!""" return a + b " assertion.
- step description "This step returns an addition and a subtraction of its inputs" assertion.
- plan description "Isolation of Human PBMCs DOI: 10.21769/BioProtoc.323" assertion.
- plan description "In vitro Culture of Human PBMCs DOI: 10.21769/BioProtoc.322" assertion.
- plan description "A Simple and Rapid System for DNA and RNA Isolation from Diverse Plants Using Handmade Kit DOI: 10.21203/rs.2.1347/v2" assertion.
- plan description "A simple, rapid and very efficient protocol for DNA isolation from mosquito species DOI: 10.1038/protex.2013.007" assertion.
- plan description "DNA extraction from resin producing Boswellia tree DOI: 10.21203/rs.2.1645/v2" assertion.
- plan description "Isolation of Genomic DNA from Mycobacterium Species DOI: 10.21769/BioProtoc.1751" assertion.
- plan description "Isolation of Human PBMCs DOI: 10.21769/BioProtoc.323" assertion.
- plan description "A Simple and Rapid System for DNA and RNA Isolation from Diverse Plants Using Handmade Kit DOI: 10.21203/rs.2.1347/v2 " assertion.
- plan description "A Simple and Rapid System for DNA and RNA Isolation from Diverse Plants Using Handmade Kit DOI: 10.21203/rs.2.1347/v2" assertion.
- step description "@is_fairstep(label='Subtraction') def sub(a: float, b: float) -> float: """Subtracting numbers.""" return a - b " assertion.
- step description "@is_fairstep(label='Addition') def add(a:float, b:float) -> float: """Adding up numbers!""" return a + b " assertion.
- step description "@is_fairstep(label='Multiplication') def mul(a: float, b: float) -> float: """Multiplying numbers.""" return a * b " assertion.
- plan description "@is_fairworkflow(label='My Workflow') def my_workflow(in1, in2, in3): """ A simple addition, subtraction, multiplication workflow """ t1 = add(in1, in2) t2 = sub(in1, in2) t3 = mul(weird(t1, in3), t2) return t3 " assertion.
- step description "@is_fairstep(label='Subtraction') def sub(a: float, b: float) -> float: """Subtracting numbers.""" return a - b " assertion.
- step description "@is_fairstep(label='A strange step with little use') def weird(a: float, b:float) -> float: """A weird function""" return a * 2 + b * 4 " assertion.
- plan description "@is_fairworkflow(label='My Workflow') def my_workflow(in1, in2, in3): """ A simple addition, subtraction, multiplication workflow """ t1 = add(in1, in2) t2 = sub(in1, in2) t3 = mul(weird(t1, in3), t2) return t3 " assertion.
- step description "@is_fairstep(label='A strange step with little use') def weird(a: float, b:float) -> float: """A weird function""" return a * 2 + b * 4 " assertion.
- step description "@is_fairstep(label='Multiplication') def mul(a: float, b: float) -> float: """Multiplying numbers.""" return a * b " assertion.
- step description "@is_fairstep(label='Addition', is_script_task=True) def add(x: float, y: float) -> float: """Adding up numbers.""" return x + y " assertion.
- step description "@is_fairstep(label='Addition') def add(a:float, b:float) -> float: """Adding up numbers!""" return a + b " assertion.
- step description "@is_fairstep(label='Subtraction') def sub(a: float, b: float) -> float: """Subtracting numbers.""" return a - b " assertion.
- plan description "@is_fairworkflow(label='My Workflow') def my_workflow(in1, in2, in3): """ A simple addition, subtraction, multiplication workflow """ t1 = add(in1, in2) t2 = sub(in1, in2) t3 = mul(weird(t1, in3), t2) return t3 " assertion.
- plan description "A simple, rapid and very efficient protocol for DNA isolation from mosquito species DOI: 10.1038/protex.2013.007" assertion.
- plan description "Isolation of Genomic DNA from Mycobacterium Species DOI: 10.21769/BioProtoc.1751" assertion.
- plan description "Isolation of Human PBMCs DOI: 10.21769/BioProtoc.323" assertion.
- plan description "A simple, rapid and very efficient protocol for DNA isolation from mosquito species DOI: 10.1038/protex.2013.007" assertion.
- plan description "DNA extraction from resin producing Boswellia tree DOI: 10.21203/rs.2.1645/v2" assertion.
- plan description "RNA Isolation and Northern Blot Analysis DOI: 10.21769/BioProtoc.1077" assertion.
- step description "@is_fairstep(label='Add blur to image') def blur(img): from PIL import Image, ImageFilter return img.filter(ImageFilter.BLUR) " assertion.
- step description "@is_fairstep(label='Invert image') def invert_image(image): from PIL import Image, ImageOps im_inverted = ImageOps.invert(image.convert('RGB') ).convert('L') return im_inverted " assertion.
- step 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 " assertion.
- step description "@is_fairstep(label='Overlay image with another (partly transparent) one') def overlay(bg_img, fg_img): from PIL import Image img = bg_img.copy() fg_img = fg_img.convert("RGBA") img.paste(fg_img, (0, 0), fg_img) return img " assertion.
- step description "@is_fairstep(label='My awesome step to add ') # Give it your own name: def my_awesome_step(image): from PIL import ImageDraw from PIL import Image new_image= ImageDraw.Draw( image # Image ).text( (0, 0), # Coordinates 'Hello world!', # Text (0, 0, 0) # Color ) # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='Step to add text (awesome world!) into an image') # Give it your own name: def add_text_into_image(image): from PIL import ImageDraw from PIL import Image ImageDraw.Draw( image).text( (0, image.height/2), # Coordinates 'Awesome world!', # Text (255, 255, 255) # Color ) return image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='heyhey') def hey_step(image): from PIL import Image return new_image " assertion.
- step description "@is_fairstep(label='Awesome step for rotating an image by any angle') # Give it your own name: def rotate_image(image, angle_rotation): new_image = image.rotate(angle=angle_rotation) return new_image " assertion.
- step description "@is_fairstep(label='An awesome function to flip an image from left to right') def my_awesome_flipping(image): from PIL import Image # Flip the image from left to right image_flipped = image.transpose(method=Image.FLIP_LEFT_RIGHT) return image_flipped " assertion.
- step description "@is_fairstep(label='awesome image converter') # Give it your own name: def awesome_image_converter(image): from PIL import Image im2 = ImageEnhance.Contrast(image) new_image = Image.blend(image, im2, alpha=0.9) return new_image " assertion.
- step description "@is_fairstep(label='awesome image converter') # Give it your own name: def awesome_image_converter(image): from PIL import Image, ImageEnhance im2 = ImageEnhance.Contrast(image) new_image = Image.blend(image, im2, alpha=0.9) return new_image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_stepaww(image): from PIL import Image from PIL import Image, ImageFilter return img.filter(ImageFilter.BLUR) return new_image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def xiao_func1(image:float) -> float: from PIL import Image, ImageDraw chars = "wow, what a beautiful image!" width, height = image.size chars_x, chars_y = int(width/2), int(heigh/2) ttf = ImageFont.load_default() img_draw = ImageDraw.Draw(image) img_draw.text((chars_x, chars_y), chars, font=ttf, fill=(255,0,0)) return new_image " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_step(image): from PIL import Image new_image1 = image.convert('L') new_image2 = contrast_image(new_image1,0.2) new_image = Image.blend(image,new_image2, alpha=0.5) # new_image = .... return new_image " assertion.
- step description "@is_fairstep(label='Add an awesome Watermark to your image (licence:cc0,author:rsiebes, date:06-05-2021 )') # Give it your own name: def my_watermark_step(image, text): from PIL import ImageFont from PIL import ImageDraw from PIL import Image watermark_image = image.copy() draw = ImageDraw.Draw(watermark_image) # add watermark draw.text((0, 0), text, (0, 0, 0)) # add watermark draw.text((0, 0), text, (255, 255, 255)) # new_image = .... return watermark_image " assertion.
- step description "@is_fairstep(label='AWESOME upside down flipper') # Give it your own name: def my_awesome_step(image): from PIL import Image new_image = image.rotate(180) return new_image " assertion.
- step description "@is_fairstep(label='Subtract two numbers') def sub(a: float, b: float) -> float: return a - b " assertion.
- step description "@is_fairstep(label='A mathematical operation') def weird(a: float, b:float) -> float: return a * 2 + b * 4 " assertion.
- plan description "@is_fairworkflow(label='A simple addition, subtraction, multiplication workflow') def my_workflow(in1, in2, in3): t1 = add(in1, in2) t2 = sub(in1, in2) t3 = mul(weird(t1, in3), t2) return t3 " assertion.
- step description "@is_fairstep(label='Rotating an image represented by 90 degrees') def rotate_image(img): from PIL import Image return img.transpose(Image.ROTATE_90) " assertion.
- plan description "@is_fairworkflow(label='A simple addition, subtraction, multiplication workflow') def my_image_workflow(img1): img2 = rotate_image(img1) img3 = convert_image(img2) return img3 " assertion.
- step description "@is_fairstep(label='Blend two images') def blend_image(im1, im2): from PIL import Image im_blended= Image.blend(im1, im2, alpha=0.5) return im_blended " assertion.
- plan description "@is_fairworkflow(label='my workflow') def my_workflow1(img): im1 = rgb2gray_image(img) t2x = invert_colors(im1) im2= blur(t2x) t4x= blend_image(img,img) t5x=contrast_image(t4x,0.5) return t5x " assertion.
- plan description "@is_fairworkflow(label='my workflow') def my_workflow2(img1,img2): imgb=white_to_transparency(img2) imgc=overlay(imgb,img1) return imgc " assertion.
- step description "@is_fairstep(label='Put here a name of your awesome step (include the word awesome so others will find it)') # Give it your own name: def my_awesome_stepaww(image): from PIL import Image from PIL import Image, ImageFilter return image.filter(ImageFilter.BLUR) return new_image " assertion.
- plan description "@is_fairworkflow(label='My awesome workflow') def my_awesome_workflow(im_in): im_out=my_awesome_stepaww(im_in) return im_out " assertion.
- step description "@is_fairstep(label='Inverting the colors of an image') def invert_colors(img): from PIL import Image, ImageOps return ImageOps.invert(img) " assertion.
- step description "@is_fairstep(label='Blend two images') def blend_image(im1, im2): from PIL import Image im_blended= Image.blend(im1, im2, alpha=0.5) return im_blended " assertion.
- plan description "@is_fairworkflow(label='A workflow to create a cool image') def convert_image(image): grayscale_image = rgb2gray_image(image) new_image = invert_colors(grayscale_image) new_image = blur(new_image) new_image = blend_image(new_image, grayscale_image) new_image = contrast_image(new_image, 5) return new_image " 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 description "@is_fairstep(label='awesome image converter') # Give it your own name: def awesome_image_converter(image): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(0.5) new_image = Image.blend(image, new_image, alpha=0.9) return new_image " assertion.
- step description "@is_fairstep(label='awesome image converter') # Give it your own name: def awesome_image_converter(image): from PIL import Image, ImageEnhance new_image= image.convert('RGB') new_image = ImageEnhance.Contrast(image) new_image= new_image.enhance(0.5) new_image = Image.blend(image, new_image, alpha=0.9) return new_image " assertion.
- plan description "@is_fairworkflow(label='My awesome workflow') def my_awesome_workflow(im_in): im_out = awesome_image_converter(im_in) im_out = my_awesome_adjustable_pixelization(im_out, 0.2) return im_out " assertion.
- step description "@is_fairstep(label='Convert the RGB color image to grayscale') def grayscale(rgb): return np.dot(rgb[...,:3], [0.299, 0.587, 0.114]) " assertion.
- step description "@is_fairstep(label='Apply a Gaussian blur to the negative form') def blurrer(inverted_img): return scipy.ndimage.filters.gaussian_filter(inverted_img,sigma=5) " assertion.
- plan description "@is_fairworkflow(label='workflow to convert an image to a pencil sketch') def sketch_workflow(img): grey = grayscale(img) inv = inverter(grey) blur = blurrer(inv) t3 = dodge(blur, grey) return t3 " assertion.
- step description "@is_fairstep(label='Blend two images') def combine(background, foreground): return Image.blend(background, foreground, alpha=0.6) " assertion.
- step description "@is_fairstep(label='awesome smoothening of an image') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... smoothenedImage = image.filter(ImageFilter.SMOOTH) new_image = image.filter(ImageFilter.SMOOTH_MORE) return new_image " assertion.
- step description "@is_fairstep(label='awesome smoothening of an image') # Give it your own name: def my_awesome_step(image): from PIL import Image # new_image = .... smoothenedImage = image.filter(ImageFilter.SMOOTH) new_image = image.filter(ImageFilter.SMOOTH_MORE) return new_image " assertion.