Pyclesperanto

Latest version: v0.16.0

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 14

0.18.3

Bug fix:
* `statistics_of_labelled_neighbors` counted background as a neighbor in `touching_neighbor_count`

0.18.2

New features
* `divide_scalar_by_image`
* `draw_touch_portion_mesh_between_touching_labels`
* `draw_touch_portion_ratio_mesh_between_touching_labels`
* `fill_zeros_inpainting` (thanks to AlisterBurt for proposing)
* `generate_touch_count_matrix`
* `generate_touch_portion_matrix`
* `prefix_in_x`
* `proximal_neighbor_count`
* `standard_deviation_touch_portion`
* `standard_deviation_touch_portion_map`
* `statistics_of_labelled_neighbors`

Bug fixes
* corrected result type of `artificial_tissue_2d` to `uint32` as it's supposed to be a label image

0.18.1

Bugfix
* Output images remained empty in `deskew_y` in case the output image was provided as parameter. Presumably all affine transforms were affected by this, in case `auto_size=True` was set.

0.18.0

New functions
* `local_cross_correlation` for template matching (big thanks to grahamross123 for implementing this)
* Compatibility with Python 3.9 and 3.10; also automatically tested
* Rendering (`_repr_html_`) of images in Jupyter Notebooks (thanks to tlambert03 for feedback and pointers in the right direction)

![image](https://user-images.githubusercontent.com/12660498/183287692-02cb51c7-bdf7-4d7c-a02a-7c073c7826d1.png)

Added new functions for which numpy counterparts exist
* `square_root` and alias `sqrt`
* `cubic_root` and alias `cbrt`
* `modulo_images` and aliases `mod` and `remainder`
* `nan_to_num`
* `reciprocal`
* `sign`
* `clip`
* `square`
* `array_equal` and alias `array_equiv`

Added aliases to existing functions to improve numpy interoperability
* `exp` alias for `exponential`
* `fabs` alias for `absolute`
* `logical_and` alias for `binary_and`
* `logical_or` alias for `binary_or`
* `logical_xor` alias for `binary_xor`
* `logical_not` alias for `binary_not`
* `log` alias for `logarithm`
* `maximum` alias for `maximum_images`
* `minimum` alias for `minimum_images`

Bug fixes
* Detect minima/maxima missed minima/maxima at image borders (thanks to StRigaud for reporting this issue)

0.17.3

Bug fixes
* Output shape of deskew was not rounded correctly (thanks to pr4deepr for reporting and fixing)
* Exception fixed in slicing operations / special cases

0.17.2

See https://github.com/clEsperanto/pyclesperanto_prototype/blob/master/docs/release_notes.md#0172---may-7th-2022

Contributors: psobolewskiPhD

Page 5 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.