vipconcentricity.mdl
Open this model

# Concentricity Inspection

This demo uses the Computer Vision System Toolbox™ blocks to inspect the concentricity of both the core and the cladding in a cross-section of optical fiber. Concentricity is a measure of how centered the core is within the cladding.

First, the demo uses the Blob Analysis block to determine the centroid of the cladding. It uses this centroid to find a point on the cladding's outer boundary. Using this as a starting point, the Trace Boundaries block defines the cladding's outer boundary. Then the demo uses these boundary points to compute the cladding's center and radius using a least-square, circle-fitting algorithm. If the distance between the cladding's centroid and the center of its outer boundary is within a certain tolerance, the fiber optic cable is in acceptable condition.

The following figure shows examples of optical fibers with good and bad concentricity:

## Contents

- Demo Model
- Concentricity Inspection Results

## Demo Model

The following figure shows the Concentricity Inspection demo model:

## Concentricity Inspection Results

In the Results window, you can see that the demo marked the cladding's centroid with a red '+'. It marked the center of the cladding's outer boundary with a green '*'. When the distance between these two markers is within an acceptable tolerance, the demo labels the cross-section of fiber optic cable "Concentricity: Good". Otherwise, it labels it "Concentricity: Bad". The demo also displays the distance, in pixels, between the cladding's centroid and the center of the cladding's outer boundary.