OPERATOR / VERSION 1.0

galaxy_cellprofiler_mask_image

Galaxy · Data processing · Visualization

Apply one image as a mask to another.

View manifest JSON ↗

Use this operator

operator: galaxy_cellprofiler_mask_image@1.0

Configure remote_operator_library_urls with this repository’s origin. XStream verifies and caches artifacts by digest, sharing them across operators.

Named ports

  • referenceInputbytes

    One PNG bytes stream. Accepts static, 8-bit, noninterlaced grayscale PNG up to 512 × 512 pixels. The mask is the equally sized reference image. Nonzero mask values preserve the source; other positions become zero.

    Formats: Any compatible format
  • sourceInputbytes

    One PNG bytes stream. Accepts static, 8-bit, noninterlaced grayscale PNG up to 512 × 512 pixels. The mask is the equally sized reference image. Nonzero mask values preserve the source; other positions become zero.

    Formats: Any compatible format
  • resultOutputbytes

    PNG bytes. Accepts static, 8-bit, noninterlaced grayscale PNG up to 512 × 512 pixels. The mask is the equally sized reference image. Nonzero mask values preserve the source; other positions become zero.

Output structure and samples are provided by operator inference.

Parameters

  • invertbooleanOptional

    Invert the mask before applying it.

    How to fill
    Invert the mask before applying it.
    Example value
    false
    Default value
    false

Operator usage example

Connect the input ports to upstream steps and adjust the parameters for your data.

id: process
operator: galaxy_cellprofiler_mask_image@1.0
inputs:
  reference: read_reference
  source: read_source
params:
  invert: false

Manual download

curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/76e81aff9a443e629f45a94db2c0657824c1f65089254225b1e6988838f874c6/operator.zip'
sha256sum -- 'operator.zip'
curl -fLo 'GALAXY-LICENSE.txt' 'https://repo.conox.cn/v1/blobs/sha256/0edf5da821de32631cf20d8cd0fe548f4b3425e4b20fc88e8f86927f6213f508/GALAXY-LICENSE.txt'
sha256sum -- 'GALAXY-LICENSE.txt'

Compare checksums with the manifest. Download execution and build environments from the runtime catalog ↗.

Source and licensing

See Source archive under Artifact details

Source repository
https://github.com/bgruening/galaxytools
Source revision
cf3d3559b6102373ee65693e99e4ed928d459deb
License (publisher declared)
AFL-3.0 AND MIT
License text
Available below
Dependency SBOM
Dependency SBOM not provided

Build instructions

Compile src/*.py with the python-arrow@2.0 builder. Execute with the registered python-arrow@2.0 runtime. See upstream-manifest.json and fixtures.json for evidence.

Publisher-provided source, licenses and dependency information support your review. Availability and checksums do not certify safety, legal clearance, or that the executable matches the source.