This release introduces a heavy redesign of the codebase to appropriately support structuring element concept. A lot of APIs are revisited, and documentation are added for those revisited APIs. Please checkout docs for more information of those APIs.
The following briefly summarizes the noteworthy changes:
- The return value of
component_boxes
,component_indices
,component_lengths
andcomponent_centeroids
is now 0-based OffsetArray (#96) - The return value of
component_boxes
becomes a vector ofCartesianIndices
(#96) -
component_subscripts
is deprecated in favor ofcomponent_indices
(#96) -
extrem_filt!
is deprecated in favor ofextreme_filter
-
morphogradient
/morpholaplace
is deprecated in favor ofmgradient
/mlaplacian
(#88) - A lot of helper functions for structuring element are added:
strel
,strel_chain
,strel_product
,strel_type
,strel_size
,strel_diamond
,strel_box
- Basic morphological operations
erode
,dilate
,bothat
,tophat
,opening
,closing
,mgradient
,mlaplacian
now support generic structuring element inputs. The associated in-place versions such aserode!
are provided as well. - The performance for diamond-shape structuring element is improved by 10x -- it simply beats MATLAB by 3x. (#97)