| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Also do not use Numba JIT here.
Credit: scikit-image - skimage/draw/draw.py
https://github.com/scikit-image/scikit-image/blob/master/skimage/draw/draw.py
|
|
|
|
|
|
| |
Draw a circle at the center of the output grid with radial profile
Signed-off-by: Aaron LI <aly@aaronly.me>
|
|
|
|
|
| |
* Fix the bug that "ellipse()" generate unexpected results.
* Update the parameters of "ellipse()" also
|
|
|
|
|
| |
This bug causes wrong ellipse generation, which is the main reason to
the strange and wrong SNRs shapes.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
NOTE: However, there are two significant problems:
* Cannot figure out why ``nb.optional(nb.types.UniTuple(nb.int64, 2))``
does NOT work. Therefore, make ``shape`` as mandatory parameter
instead of optional.
* Cannot figure out multi-dispatch that allows both int and float types
for ``r``, ``c``, ``r_radius`` and ``c_radius``. Thus only support
the int type for the moment.
|
| |
|
| |
|
| |
|
| |
|
|
These functions will be used to draw the image of a SNR or a radio halo.
These functions are copied from the `scikit-image` project.
Thanks!
scikit-image: http://scikit-image.org/docs/dev/api/skimage.draw.html
|