cellcount-0.0.2
توضیحات
Count the number of contiguous regions in a binary array
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cellcount-0.0.2 |
| نام | cellcount |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ronan Pickell |
| ایمیل نویسنده | ronanpickell@gmail.com |
| آدرس صفحه اصلی | https://github.com/ronan-pickell/cell-count |
| آدرس اینترنتی | https://pypi.org/project/cellcount/ |
| مجوز | - |
# Cell Count
This package takes a binary array, and counts the number
of seperate objects in the array.
## Installation
Run the following to install:
```python
pip install cellcount
```
## Usage
```python
import cellcount as cc
import numpy as np
img = np.random.randint(2, size=(5,5))
# Count the number of seperate cells
num_of_cells = cc.countCells(img)
```
نیازمندی
| مقدار | نام |
|---|---|
| ~=1.19 | numpy |
نحوه نصب
نصب پکیج whl cellcount-0.0.2:
pip install cellcount-0.0.2.whl
نصب پکیج tar.gz cellcount-0.0.2:
pip install cellcount-0.0.2.tar.gz