Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
655ca9d
first commit
KumoLiu Sep 19, 2022
68b0b55
add dict transform
KumoLiu Sep 19, 2022
96ea160
add unittest
KumoLiu Sep 19, 2022
9a1334b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 19, 2022
d687386
remove comment lines
KumoLiu Sep 19, 2022
a1f70f4
Merge branch 'postprocess' of https://github.com/KumoLiu/MONAI into p…
KumoLiu Sep 19, 2022
7333b4a
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Sep 21, 2022
4e1b6c1
update unittest
KumoLiu Sep 21, 2022
4def8af
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 21, 2022
54c2007
fix CI error
KumoLiu Sep 21, 2022
2d6a559
fix flake8 error
KumoLiu Sep 21, 2022
4afd4bf
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 21, 2022
6209726
update according to comments
KumoLiu Sep 21, 2022
61ada5a
Merge branch 'dev' into postprocess
bhashemian Sep 21, 2022
91eb764
update doc
KumoLiu Sep 22, 2022
71e062d
Merge branch 'dev' into postprocess
bhashemian Sep 22, 2022
b326ae5
rename to `CalcualteInstanceSegmentationMap`
KumoLiu Sep 23, 2022
fdb667c
remove unused lines
KumoLiu Sep 23, 2022
9376481
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 23, 2022
610db1d
remove transform to apps
KumoLiu Sep 23, 2022
678171a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 23, 2022
bc52d86
fix flake8 error
KumoLiu Sep 23, 2022
4cbd56f
fix flake8 error
KumoLiu Sep 23, 2022
d5b8a18
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 23, 2022
d024cfe
remove type ignore
KumoLiu Sep 23, 2022
24a089f
add unittest
KumoLiu Sep 24, 2022
c4c7b8e
fix flake8
KumoLiu Sep 24, 2022
f506b0d
add shape error check
KumoLiu Sep 24, 2022
53ef576
remove unused image
KumoLiu Sep 24, 2022
52e7f28
fix CI
KumoLiu Sep 24, 2022
8f78630
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Sep 26, 2022
a17e519
Merge branch 'dev' into postprocess
bhashemian Sep 26, 2022
0d547d7
Merge branch 'dev' of https://github.com/Project-MONAI/MONAI into pos…
KumoLiu Sep 28, 2022
520d0d3
remove discrete in class
KumoLiu Sep 28, 2022
26324bb
modify test data
KumoLiu Sep 28, 2022
3bf3bfa
refactor post transforms
KumoLiu Sep 28, 2022
c3c1553
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 28, 2022
21e2d58
fix flake8
KumoLiu Sep 28, 2022
b33f4a2
Merge branch 'postprocess' of https://github.com/KumoLiu/MONAI into p…
KumoLiu Sep 28, 2022
f54341f
refactor `CalculateInstanceSegmentationMap`
KumoLiu Sep 29, 2022
10d9a95
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 29, 2022
06c3615
add dictionary transforms
KumoLiu Sep 29, 2022
24fa545
Merge branch 'postprocess' of https://github.com/KumoLiu/MONAI into p…
KumoLiu Sep 29, 2022
045a17e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 29, 2022
4a924ef
Merge branch 'dev' into postprocess
bhashemian Sep 29, 2022
a7959e3
Merge branch 'dev' into postprocess
bhashemian Oct 3, 2022
957a3a5
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Oct 6, 2022
cf5d1cb
replace `GaussianFilter` with `GaussianSmooth`
KumoLiu Oct 6, 2022
28d6a75
add `GenerateMask` unittest
KumoLiu Oct 6, 2022
5351155
remove unuse import
KumoLiu Oct 6, 2022
2d357b4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 6, 2022
84bb645
add unittests
KumoLiu Oct 6, 2022
5c1dd3d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 6, 2022
8061b99
fix flake8
KumoLiu Oct 6, 2022
7a7d237
fix flake8
KumoLiu Oct 6, 2022
adb62ed
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Oct 6, 2022
5e478e4
change `smooth_fn` default to None
KumoLiu Oct 6, 2022
1423244
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Oct 10, 2022
9d75e66
Merge branch 'dev' into postprocess
bhashemian Oct 11, 2022
e7d2854
change `mask` to be optional
KumoLiu Oct 11, 2022
6b99f35
update dtype as an arg
KumoLiu Oct 11, 2022
163949f
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Oct 11, 2022
a1691ea
Merge branch 'postprocess' of https://github.com/KumoLiu/MONAI into p…
KumoLiu Oct 11, 2022
4803271
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 11, 2022
d84334e
raise error when hover gradient map invalid
KumoLiu Oct 11, 2022
e9282ff
Merge branch 'postprocess' of https://github.com/KumoLiu/MONAI into p…
KumoLiu Oct 11, 2022
b914303
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Oct 11, 2022
040e63c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 11, 2022
53ebb83
support 3d in `GenerateMask`
KumoLiu Oct 11, 2022
cf61aa7
update docstring based on comments
KumoLiu Oct 12, 2022
43f497e
Merge branch 'postprocess' of https://github.com/KumoLiu/MONAI into p…
KumoLiu Oct 12, 2022
c37e8d7
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Oct 12, 2022
7b5e0d0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 12, 2022
7a4238a
fix flake8
KumoLiu Oct 12, 2022
3b73782
Merge branch 'postprocess' of https://github.com/KumoLiu/MONAI into p…
KumoLiu Oct 12, 2022
86f3c9c
update unittest
KumoLiu Oct 12, 2022
2a39a82
update based on comments
KumoLiu Oct 12, 2022
164c7cc
mv CalculateInstanceSegmentationMap to Watershed
KumoLiu Oct 12, 2022
06e292c
remove test data
KumoLiu Oct 12, 2022
8613fda
update based on comments
KumoLiu Oct 12, 2022
84ce96e
fix flake8
KumoLiu Oct 12, 2022
088950b
update init
KumoLiu Oct 12, 2022
ab9cf2e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 12, 2022
98336b4
update based on comments
KumoLiu Oct 12, 2022
848c30b
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Oct 12, 2022
5b2691b
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Oct 15, 2022
89defc0
rename `GenerateMarkers` to
KumoLiu Oct 15, 2022
c354e33
rename `GenerateMask`
KumoLiu Oct 15, 2022
c131703
fix flake8
KumoLiu Oct 15, 2022
a080b3d
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Oct 17, 2022
b35ec21
fix flake8
KumoLiu Oct 17, 2022
3799bf7
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Oct 17, 2022
289f86b
rename `GenerateProbabilityMap`
KumoLiu Oct 18, 2022
be4747c
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Oct 18, 2022
1530121
Merge branch 'dev' into postprocess
bhashemian Oct 27, 2022
adee729
Merge branch 'dev' into postprocess
bhashemian Oct 31, 2022
4ab03cc
Merge branch 'dev' into postprocess
Nic-Ma Oct 31, 2022
ea739f8
fix CI
KumoLiu Oct 31, 2022
c8345e2
Merge branch 'dev' into postprocess
bhashemian Oct 31, 2022
f6bf089
fix CI
KumoLiu Nov 1, 2022
56293a1
Merge branch 'postprocess' of https://github.com/KumoLiu/MONAI into p…
KumoLiu Nov 1, 2022
e3d4894
Merge remote-tracking branch 'origin/dev' into postprocess
KumoLiu Nov 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/source/apps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,30 @@ Applications
.. autoclass:: TileOnGridd
:members:

.. automodule:: monai.apps.pathology.transforms.post.array
.. autoclass:: Watershed
:members:
.. autoclass:: GenerateWatershedMask
:members:
.. autoclass:: GenerateInstanceBorder
:members:
.. autoclass:: GenerateDistanceMap
:members:
.. autoclass:: GenerateWatershedMarkers
:members:

.. automodule:: monai.apps.pathology.transforms.post.dictionary
.. autoclass:: Watershedd
:members:
.. autoclass:: GenerateWatershedMaskd
:members:
.. autoclass:: GenerateInstanceBorderd
:members:
.. autoclass:: GenerateDistanceMapd
:members:
.. autoclass:: GenerateWatershedMarkersd
:members:

`Detection`
-----------

Expand Down
24 changes: 24 additions & 0 deletions monai/apps/pathology/transforms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,30 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from .post.array import (
GenerateDistanceMap,
GenerateInstanceBorder,
GenerateWatershedMarkers,
GenerateWatershedMask,
Watershed,
)
from .post.dictionary import (
GenerateDistanceMapD,
GenerateDistanceMapd,
GenerateDistanceMapDict,
GenerateInstanceBorderD,
GenerateInstanceBorderd,
GenerateInstanceBorderDict,
GenerateWatershedMarkersD,
GenerateWatershedMarkersd,
GenerateWatershedMarkersDict,
GenerateWatershedMaskD,
GenerateWatershedMaskd,
GenerateWatershedMaskDict,
WatershedD,
Watershedd,
WatershedDict,
)
from .spatial.array import SplitOnGrid, TileOnGrid
from .spatial.dictionary import SplitOnGridd, SplitOnGridD, SplitOnGridDict, TileOnGridd, TileOnGridD, TileOnGridDict
from .stain.array import ExtractHEStains, NormalizeHEStains
Expand Down
35 changes: 35 additions & 0 deletions monai/apps/pathology/transforms/post/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright (c) MONAI Consortium
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from .array import (
GenerateDistanceMap,
GenerateInstanceBorder,
GenerateWatershedMarkers,
GenerateWatershedMask,
Watershed,
)
from .dictionary import (
GenerateDistanceMapD,
GenerateDistanceMapd,
GenerateDistanceMapDict,
GenerateInstanceBorderD,
GenerateInstanceBorderd,
GenerateInstanceBorderDict,
GenerateWatershedMarkersD,
GenerateWatershedMarkersd,
GenerateWatershedMarkersDict,
GenerateWatershedMaskD,
GenerateWatershedMaskd,
GenerateWatershedMaskDict,
WatershedD,
Watershedd,
WatershedDict,
)
Loading