Develop a two NeatVision programs capable of automatically counting the number of lines in the grey scale image lines.gif in a robust manner. What are the advantages and disadvantages of each approach?


A.

NeatVision Counter

Using a threshold of 100, the image is converted to binary.

Image Converted to Binary

The image is passed through an erode loop twice to thin the lines making it easier for the limb end detector.

Erode Loop - 2 Passes

The limb end detector marks the ends of each line. Each line has 2 points.

Limb End Detector - 1 Pass

The white blob counter counts the limb ends. The mathsdivide operator divides the number of points by 2, giving the final result of 5, which is the correct number of lines.

B.

Neatvision Counter 2

Using a threshold of 100, the image is converted to binary. Hough transform will only work with a binary image.

Image Converted to Binary Counter B

The Hough Transform is used to segment and detect the number of lines.

Hough Transform

Using a threshold of 100, the image is converted to binary again.

Image Converted to Binary 2nd Pass

The image is eroded 5 times, to remove the excess data and dilated once. Whiteblobcount is used to count the lines.

Image Eroded 5 - Passes

Chapter 2 – Testing

A.

Salt and Pepper Noise :

The maximum threshold of Salt and Pepper Noise is 0.0001.

Salt and Pepper Noise Additive

Binary Image

B.

Salt and Pepper Noise :

The system is not robust to any Salt and Pepper Noise. Testing ceased at 0.000001.

Salt and Pepper Noise Additive B

A.

Gaussian Noise :

The maximum threshold of Gaussian Noise is 0.8.

Gaussian Noise Additive A

Binary Image

B.

Gaussian Noise :

The maximum threshold of Gaussian Noise is 1.3.

Gaussian Noise Additive BBinary Image

A.

Raleigh Noise :

The maximum threshold of Raleigh Noise is 26.

Raleigh Noise Additive A

Raleigh Noise Additive Test Image

B.

Raleigh Noise :

The maximum threshold of Raleigh Noise is 17.7.

Raleigh Noise Additive B

Raleigh Noise Additive Test Image B

A.

Poisson Noise :

The maximum threshold of Poisson Noise is 27.

Poisson Noise Additive A

Poisson Noise Test Image A

B.

Poisson Noise :

The maximum threshold of Poisson Noise is 16.0.

Poisson Noise Additive NeatVision Counter B

Poisson Noise Test Image B

A.

Additive White Noise :

This system is not robust to additive noise.

B.

Additive White Noise :

This system is not robust to additive noise.

Robustness to Scaled Images :

The original image is 256 x 256. The height and width were increased or decreased depending on the purpose.

A.

Minumum Scaled Threshold :

The image was scaled down but would not function. The minimum threshold is the same size as the original.

B.

Minumum Scaled Threshold :

The image was scaled down but would not function. The minimum threshold is the same size as the original.

A.

Maximum Scaled Threshold :

The maximum threshold is 260 x 260

Max Scaled Threshold NeatVision Counter A

Max Scaled Threshold NeatVision Counter A Test Image

B.

Maximum Scaled Threshold :

The image was scaled up but would not function. The maximum threshold is the same size as the original.

Distorting Width

A.

Minimum Width Threshold :

The minimum threshold of the width is 254.

Minimum Width Threshold NeatVision Counter A

Minimum Width Threshold NeatVision Counter A Test Image

B.

Minimum Width Threshold :

The width of the image was decreased but would not function. The minimum threshold is the same size as the original.

A.

Maximum Width Threshold :

The maximum width is 263.

Maximum Width Threshold NeatVision Counter A

B.

Maximum Width Threshold

The maximum threshold of the width is 274.

Maximum Width Threshold NeatVision Counter B

Maximum Width Threshold NeatVision Counter B Test Image

Distorting Height

A.

Maximum Height Threshold :

The maximum height was 263.

Maximum Height Threshold NeatVision Counter A Test Image

B.

Maximum Height Threshold :

The height of the image was increased but would not function. The maximum threshold is the same size as the original.

Maximum Height Threshold NeatVision Counter B

A.

Minimum height Threshold :

The height of the image was decreased but would not function. The minimum threshold is the same size as the original.

B.

Minimum height Threshold :

The height of the image was decreased but would not function. The minimum threshold is the same size as the original.

A.

Robustness to Image Rotation:

This system was not robust to any rotational changes.

Image Rotation NeatVision Counter A

B.

Robustness to Image Rotation

Image Rotation NeatVision Counter B

The system would only function at 0 and 180 degrees.

A.

Robustness to another image

Bcode2 was tried but the system failed.

B.

Robustness to another image

Bcode2 was tried but the system failed.

Bcode2

Bibliography

A. Machine Vision Algorithms in Java, Paul F. Whelan and Derek Molloy.

References

1. http://www.eeng.dcu.ie/%7Ewhelanp/EE425/protected_material/, EE425 Course Notes, Colour Image Analysis

2. www.neatvision.com, NeatVision Developers Guide

The .pdf version of this report is available below.

NeatVision Counters

VN:F [1.8.8_1072]
Rating: 0.0/10 (0 votes cast)
VN:F [1.8.8_1072]
Rating: 0 (from 0 votes)

Related posts:

  1. Edge Detection And NeatVision Counter
  2. Java Paint Applet
  3. Macromedia’s Flash For Remote Access Medical Imaging
  4. Dont Make Me Think Review
  5. Gun and Bullet Animated Model

Leave a Reply

(required)

(required)