Name
paint_graypaint_grayPaintGraypaint_grayPaintGrayPaintGray — Zeichnet die Grauwerte eines Bildes in ein anderes Bild ein.
paint_graypaint_grayPaintGraypaint_grayPaintGrayPaintGray zeichnet die Grauwerte des Bildes aus ImageSourceImageSourceImageSourceImageSourceImageSourceimageSource
in das Bild in ImageDestinationImageDestinationImageDestinationImageDestinationImageDestinationimageDestination ein und liefert das resultierende
Bild in MixedImageMixedImageMixedImageMixedImageMixedImagemixedImage zurück. Kopiert werden nur die Grauwerte aus dem
Definitionsbereich von ImageSourceImageSourceImageSourceImageSourceImageSourceimageSource (siehe reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain).
Als Alternative zu paint_graypaint_grayPaintGraypaint_grayPaintGrayPaintGray zeichnet der Operator
overpaint_grayoverpaint_grayOverpaintGrayoverpaint_grayOverpaintGrayOverpaintGray die Grauwerte direkt in ImageDestinationImageDestinationImageDestinationImageDestinationImageDestinationimageDestination
ein.
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Eingabebild, das die zusätzlichen Grauwerte liefert.
Eingabebild, in das eingezeichnet werden soll.
* Copy a circular part of the image 'monkey' into the image 'fabrik':
read_image(Image,'monkey')
gen_circle(Circle,200,200,150)
reduce_domain(Image,Circle,Mask)
read_image(Image2,'fabrik')
* Copy a part of the image 'monkey' into 'fabrik'
paint_gray(Mask,Image2,MixedImage)
/* Copy a circular part of the image 'monkey' into the image 'fabrik': */
read_image(&Image,"monkey");
gen_circle(&Circle,200.0,200.0,150.0);
reduce_domain(Image,Circle,&Mask);
read_image(&Image,"fabrik");
/* Copy a part of the image 'monkey' into 'fabrik' */
paint_gray(Mask,Image2,&MixedImage);
* Copy a circular part of the image 'monkey' into the image 'fabrik':
read_image(Image,'monkey')
gen_circle(Circle,200,200,150)
reduce_domain(Image,Circle,Mask)
read_image(Image2,'fabrik')
* Copy a part of the image 'monkey' into 'fabrik'
paint_gray(Mask,Image2,MixedImage)
* Copy a circular part of the image 'monkey' into the image 'fabrik':
read_image(Image,'monkey')
gen_circle(Circle,200,200,150)
reduce_domain(Image,Circle,Mask)
read_image(Image2,'fabrik')
* Copy a part of the image 'monkey' into 'fabrik'
paint_gray(Mask,Image2,MixedImage)
* Copy a circular part of the image 'monkey' into the image 'fabrik':
read_image(Image,'monkey')
gen_circle(Circle,200,200,150)
reduce_domain(Image,Circle,Mask)
read_image(Image2,'fabrik')
* Copy a part of the image 'monkey' into 'fabrik'
paint_gray(Mask,Image2,MixedImage)
* Copy a circular part of the image 'monkey' into the image 'fabrik':
read_image(Image,'monkey')
gen_circle(Circle,200,200,150)
reduce_domain(Image,Circle,Mask)
read_image(Image2,'fabrik')
* Copy a part of the image 'monkey' into 'fabrik'
paint_gray(Mask,Image2,MixedImage)
Sind die Parameterwerte korrekt, liefert paint_graypaint_grayPaintGraypaint_grayPaintGrayPaintGray
den Wert 2 (H_MSG_TRUE). Gegebenenfalls wird eine Fehlerbehandlung
durchgeführt.
read_imageread_imageReadImageread_imageReadImageReadImage,
gen_image_constgen_image_constGenImageConstgen_image_constGenImageConstGenImageConst,
gen_image_protogen_image_protoGenImageProtogen_image_protoGenImageProtoGenImageProto
get_image_pointer1get_image_pointer1GetImagePointer1get_image_pointer1GetImagePointer1GetImagePointer1,
set_grayvalset_grayvalSetGrayvalset_grayvalSetGrayvalSetGrayval,
copy_imagecopy_imageCopyImagecopy_imageCopyImageCopyImage,
overpaint_grayoverpaint_grayOverpaintGrayoverpaint_grayOverpaintGrayOverpaintGray
paint_regionpaint_regionPaintRegionpaint_regionPaintRegionPaintRegion,
overpaint_regionoverpaint_regionOverpaintRegionoverpaint_regionOverpaintRegionOverpaintRegion
Foundation