# Siam Physics Congress 2022 (SPC2022)

Jun 22 – 24, 2022
Asia/Bangkok timezone
Please refer to the main conference page for registration and payment. Abstract submission will be processed after payment validation.

## Coordinates transformation method for pointer gauge reading by machine vision

S1 Physics Innovation
Jun 24, 2022, 1:30 PM
15m
AMRTHYST

### AMRTHYST

Board: O-S1-20
Oral Presentation Physics Innovation

### Speaker

Prof. Noparit Jinuntuya (Kasetsart University)

### Description

In this report we present a machine vision algorithm for pointer gauge reading based on coordinates transformation. Since a pointer gauge is a polar representation of a linear scale, it is possible to transform its polar reading to the original linear counterpart. Once the picture of a pointer gauge is captured digitally, we can assign the polar positions to each pixel of the image. Those polar coordinates can be plotted on a rectangular frame to form a transformed image. The scale lines and the pointer are transformed to point vertically (or horizontally). Locations of the scale lines and pointer can be obtained from their pixel histograms maxima. An advantage of our algorithm is that we can avoid the complication of the conventional algorithm, e.g., Hough transformation, to find the orientation of pointer and scale lines. We have tested the algorithm with the ideal and real image of pointer gauges. In the latter case, even though there are some noises on the transformed image, the locations of pointer and scale lines can still be easily found from their histogram maxima. The other advantage of the algorithm is that, due to the polar structure of the gauge, the algorithm does not strongly depend on the orientation of the gauge with respect to the camera. We have tested the case where the camera is not pointed perfectly perpendicular to the gauge panel. Our algorithm still works quite well. Again, we can avoid the difficulty of the conventional algorithm that can strongly depend on the configuration of the camera and the pointer gauge.

### Primary author

Mrs Pitsamai Jinuntuya (Rangsit University)

### Co-authors

Prof. Noparit Jinuntuya (Kasetsart University) Dr Wiroj Sudatham (National Institute of Metrology Thailand)

### Presentation materials

There are no materials yet.