Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Resampling grid to remove noise before extracting chain code

In theory, as chain code is very sensitive to noise we should:

  • Superimpose a sampling grid
  • Resample to some fixed number of points

I have seen this approach many places but not an implementation anywhere. Or can we implement it using opencv?

image description For example I have this image, I apply Canny edge detection. Then how do I make it become as follows:

image description

I do not even know how to place grid on the image and obtain the boundary vertices.

Resampling grid to remove noise before extracting chain code

In theory, as chain code is very sensitive to noise we should:

  • Superimpose a sampling grid
  • Resample to some fixed number of points

I have seen this approach many places but not an implementation anywhere. Or can we implement it using opencv?

image description

For example I have this image, I apply Canny edge detection. Then how do I make it become as follows:

image description

I do not even know how to place grid on the image and obtain the boundary vertices.

I have tried this:

image description

Resampling grid to remove noise before extracting chain code

In theory, as chain code is very sensitive to noise we should:

  • Superimpose a sampling grid
  • Resample to some fixed number of points

I have seen this approach many places but not an implementation anywhere. Or can we implement it using opencv?

image description

For example I have this image, I apply Canny edge detection. Then how do I make it become as follows:

image description

I do not even know how to place grid on the image and obtain the boundary vertices.

I have tried this:this using the suggestion of Tetagramm:

image description

Resampling grid to remove noise before extracting chain code

In theory, as chain code is very sensitive to noise we should:

  • Superimpose a sampling grid
  • Resample to some fixed number of points

I have seen this approach many places but not an implementation anywhere. Or can we implement it using opencv?

image description

For example I have this image, I apply Canny edge detection. Then how do I make it become as follows:

image description

I do not even know how to place grid on the image and obtain the boundary vertices.

I have tried this using the suggestion of Tetagramm:Tetragramm:

image description