Detects artefacts, returns a "badness map" that represents how much the algorithm thinks a particular pixel is an artefact.
Function | exec |
Read arguments and run the module |
Function | generate |
Generator that returns multiple masks when passed an iterable of numbers that can be used as thresholds. The first mask will be everything <= the first threshold; the last mask will be everything > the last threshold; intermediate masks will be everything in between neighbouring threshold values. |
Function | get |
When given a scikit image filter, return a new function that will implement that filter on some data in a generic format, not just the one the scikit image filter wants. |
Function | go |
Thin wrapper around run() to accept string inputs. As long as the names of the arguments to this function are the same as the names expected from the command line we can do this programatically |
Function | parse |
Read command-line arguments when this module is called as a script. |
Function | run |
Perform the operation associated with this module. |
Function | to |
Rescale data so it fits into the range of the specified dtype , default is dtype=uint16 . |
Function | to |
Convert data to a unit range, will return the converted_data , offset , and range used in the conversion. |
Function | undo |
Undo the coversion from one range of data to another. |
Function | undo |
Given some data (between 0,1), an offset (from zero) and a range (max-min). Will undo a conversion to unit range. |
Variable | artefact |
Undocumented |
Variable | artefact |
Undocumented |
Variable | artefact |
Undocumented |
Variable | _lgr |
Undocumented |
Generator that returns multiple masks when passed an iterable of numbers that can be used as thresholds. The first mask will be everything <= the first threshold; the last mask will be everything > the last threshold; intermediate masks will be everything in between neighbouring threshold values.
When given a scikit image filter, return a new function that will implement that filter on some data in a generic format, not just the one the scikit image filter wants.
Thin wrapper around run()
to accept string inputs.
As long as the names of the arguments to this function
are the same as the names expected from the command line
we can do this programatically
Convert data
to a unit range, will return the converted_data
, offset
, and range
used in the conversion.