Steve on Image Processing

Results for: Dilation algorithms

Dilation with linear structuring elements 13

Posted by Steve Eddins,

Dilation with linear structuring elements  For my series on dilation algorithms, I've followed my unfortunate custom of dragging a series out way too long. :-) So let's wrap it up with a mention of the last key algorithmic idea implemented in the Image Processing Toolbox morphology ... read more >>

Packed dilation and erosion

Posted by Steve Eddins,

Packed dilation and erosion  This post is another in my series on morphological dilation and erosion algorithms. One of the algorithm techniques used by imdilate and imerode is binary image bit packing. In bit packing, groups of 32 binary image pixels are stored as bits in unsigned 32-bit... read more >>

A structuring element decomposition “gotcha” 12

Posted by Steve Eddins,

A structuring element decomposition “gotcha”  In my earlier posts about dilation and erosion algorithms, I wrote about exploiting structuring element decomposition for improving speed. Today I want to discuss a potential decomposition gotcha: If you don't implement decomposed dilation and erosion carefully, you can easily end... read more >>

Dilation algorithms – performance of decomposed strels

Posted by Steve Eddins,

Dilation algorithms – performance of decomposed strels  We looked at the decomposition of different structuring element shapes in my previous post on dilation algorithms. Today let's time some code to how decomposition makes a real difference in performance. Note that running the code in this post requires that... read more >>

Dilation algorithms—decomposing more shapes 2

Posted by Steve Eddins,

Dilation algorithms—decomposing more shapes  In my previous post on dilation algorithms I discussed structuring element decomposition. We looked at the decomposition of structuring elements with rectangular domains. Today I want to follow up on the idea by looking at decompositions of other structuring element shapes. ... read more >>

Dilation algorithms—structuring element decomposition 6

Posted by Steve Eddins,

Dilation algorithms—structuring element decomposition  This is the second post in my series on algorithm concepts behind the implementation of dilation and erosion in the Image Processing Toolbox. Today I want to talk about structuring element decomposition. Some useful structuring elements can... read more >>

Dilation algorithms—Introduction 20

Posted by Steve Eddins,

Dilation algorithms—Introduction  Post updated on September 4 based on feedback from Cris Luengo's comment. Today I'm starting a new series covering some of the concepts underlying algorithms for performing morphological dilation (and erosion, which is very similar). Most of the time, when people talk about... read more >>

Pad values in dilation and erosion 4

Posted by Steve Eddins,

Pad values in dilation and erosion  Blog reader DKS asked recently why values outside the image are assumed to be -Inf when computing dilation. I thought this issue was worth exploring further because it has practical implications for certain computations. Suppose we... read more >>

These postings are the author's and don't necessarily represent the opinions of MathWorks.