ImageEn, unit ievision

TIEVisionWatershed.setInputImage

TIEVisionWatershed.setInputImage


Declaration

procedure setInputImage(image: TIEVisionImage; scale: double = 1); safecall;


Description

Set the input image for Watershed selection.

Here is an example Watershed image:



Which generates the following selection:



Parameter Description
image Input image. Only ie24RGB pixel format is supported
scale Scale factor. 1 = no selection is applied. 0 = automatically reduce image size. Scale factors less than 1 speedup processing, reducing accuracy


Videos

Demo  youtu.be/Zp4snU4p9qQ
Demo  youtu.be/bu9GPE7pxSI
Demo  youtu.be/XWtoaljsfkE


Demo

Demo  Demos\IEVision\WatershedSelection\WatershedSelection.dpr


Example

ws.setInputImage(ImageEnView1.IEBitmap.GetIEVisionImage());