Integration

These are modules that integrate MorphoCut with existing technologies.

FlowCam

Read FlowCam® collage files.

FlowCam® is an automated particle analysis instrument for measuring size and shape of microscopic particles in a fluid medium.

class morphocut.integration.flowcam.FlowCamObject(data, lst_name, collage, collage_bin)[source]

A single object.

Not to be instanciated manually.

See also

FlowCamReader

property image

The object image.

property mask

The object mask.

morphocut.integration.flowcam.FlowCamReader()[source]

Stream Read a flowcam sample with collage files.

Note

This Node creates multiple objects per incoming object.

Parameters

lst_fn (str or Path, optional) – The path to a .lst file.

Example

obj = FlowCamReader("flowcam.lst")
image = obj.image
mask = obj.mask

RaspberryPi

morphocut.integration.raspi.PiCameraReader(**kwargs)[source]

Stream Read frames from the Raspberry Pi’s camera.

Parameters

resolution (tuple (width, height), optional) – The desired image resolution.

Example

frame = PiCameraReader()
morphocut.integration.raspi.is_raspberrypi()[source]

Check if the platform is a Raspberry Pi.