{"api_version":2,"name":"galaxy_imagej_remove_outliers","version":"1.0","role":"transform","type":"sdk","description":"Replace isolated bright or dark outliers with the local median.","icon":{"path":"M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"outputs":{"result":{"view":"bytes"}},"parameters":{"type":"object","properties":{"radius":{"type":"integer","default":1,"minimum":1,"maximum":2,"description":"Neighborhood radius in pixels."},"bright":{"type":"boolean","default":true,"description":"Select bright outliers; false selects dark outliers."},"difference":{"type":"integer","default":20,"minimum":0,"maximum":255,"description":"Minimum directional difference exclusive."}},"additionalProperties":false,"required":[]},"documentation":{"inputs":{"source":"One PNG bytes stream. Accepts static, 8-bit, noninterlaced grayscale PNG up to 512 × 512 pixels. Square neighborhoods replicate edge pixels. A pixel is changed only when the directional deviation exceeds the limit."},"outputs":{"result":"PNG bytes. Accepts static, 8-bit, noninterlaced grayscale PNG up to 512 × 512 pixels. Square neighborhoods replicate edge pixels. A pixel is changed only when the directional deviation exceeds the limit."},"parameters":{"radius":{"description":"Neighborhood radius in pixels.","help":"Neighborhood radius in pixels.","example":1},"bright":{"description":"Select bright outliers; false selects dark outliers.","help":"Select bright outliers; false selects dark outliers.","example":true},"difference":{"description":"Minimum directional difference exclusive.","help":"Minimum directional difference exclusive.","example":20}},"example_job":"name: Replace isolated bright or dark outliers with the local median.\nsteps:\n- id: read_source\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/imagej_remove_outliers-source.png\n    view: bytes\n- id: process\n  operator: galaxy_imagej_remove_outliers@1.0\n  inputs:\n    source: read_source\n  params:\n    radius: 1\n    bright: true\n    difference: 20\n- id: client_sink\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"python","entrypoint":"galaxy_imagej_remove_outliers","config":{}},"source_public":true,"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"provenance":{"source_archive":{"sha256":"f8a173c008e0e422b50af0b9802f49187935dc2ad52ed3edc3a350a3a3ac0b5f","size":24979,"filename":"galaxy_imagej_remove_outliers-sources.zip"},"source_repository":"https://github.com/bgruening/galaxytools","source_revision":"cf3d3559b6102373ee65693e99e4ed928d459deb","license":"AFL-3.0 AND MIT","license_file":{"sha256":"0edf5da821de32631cf20d8cd0fe548f4b3425e4b20fc88e8f86927f6213f508","size":1116,"filename":"GALAXY-LICENSE.txt"},"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."},"artifact":{"sha256":"a405729726c9ecb2e9de5039ce905edcc641eece6a29c35679f0db7efba3491b","size":27295,"filename":"operator.zip"},"categories":["Galaxy","Data processing","Visualization"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795076184243},"publication":{"author":"dacp-examples","submitted_at_ms":1795076178373,"approved_at_ms":1795076184243,"last_submitted_at_ms":1795076178373,"last_approved_at_ms":1795076184243},"download_count":3}