-
pix2pockets: Shot Suggestions in 8-Ball Pool from a Single Image in the Wild
Authors:
Jonas Myhre Schiøtt,
Viktor Sebastian Petersen,
Dim P. Papadopoulos
Abstract:
Computer vision models have seen increased usage in sports, and reinforcement learning (RL) is famous for beating humans in strategic games such as Chess and Go. In this paper, we are interested in building upon these advances and examining the game of classic 8-ball pool. We introduce pix2pockets, a foundation for an RL-assisted pool coach. Given a single image of a pool table, we first aim to de…
▽ More
Computer vision models have seen increased usage in sports, and reinforcement learning (RL) is famous for beating humans in strategic games such as Chess and Go. In this paper, we are interested in building upon these advances and examining the game of classic 8-ball pool. We introduce pix2pockets, a foundation for an RL-assisted pool coach. Given a single image of a pool table, we first aim to detect the table and the balls and then propose the optimal shot suggestion. For the first task, we build a dataset with 195 diverse images where we manually annotate all balls and table dots, leading to 5748 object segmentation masks. For the second task, we build a standardized RL environment that allows easy development and benchmarking of any RL algorithm. Our object detection model yields an AP50 of 91.2 while our ball location pipeline obtains an error of only 0.4 cm. Furthermore, we compare standard RL algorithms to set a baseline for the shot suggestion task and we show that all of them fail to pocket all balls without making a foul move. We also present a simple baseline that achieves a per-shot success rate of 94.7% and clears a full game in a single turn 30% of the time.
△ Less
Submitted 16 April, 2025;
originally announced April 2025.
-
DBSegment: Fast and robust segmentation of deep brain structures -- Evaluation of transportability across acquisition domains
Authors:
Mehri Baniasadi,
Mikkel V. Petersen,
Jorge Goncalves,
Andreas Horn,
Vanja Vlasov,
Frank Hertel,
Andreas Husch
Abstract:
Segmenting deep brain structures from magnetic resonance images is important for patient diagnosis, surgical planning, and research. Most current state-of-the-art solutions follow a segmentation-by-registration approach, where subject MRIs are mapped to a template with well-defined segmentations. However, registration-based pipelines are time-consuming, thus, limiting their clinical use. This pape…
▽ More
Segmenting deep brain structures from magnetic resonance images is important for patient diagnosis, surgical planning, and research. Most current state-of-the-art solutions follow a segmentation-by-registration approach, where subject MRIs are mapped to a template with well-defined segmentations. However, registration-based pipelines are time-consuming, thus, limiting their clinical use. This paper uses deep learning to provide a robust and efficient deep brain segmentation solution. The method consists of a pre-processing step to conform all MRI images to the same orientation, followed by a convolutional neural network using the nnU-Net framework. We use a total of 14 datasets from both research and clinical collections. Of these, seven were used for training and validation and seven were retained for independent testing. We trained the network to segment 30 deep brain structures, as well as a brain mask, using labels generated from a registration-based approach. We evaluated the generalizability of the network by performing a leave-one-dataset-out cross-validation, and extensive testing on external datasets. Furthermore, we assessed cross-domain transportability by evaluating the results separately on different domains. We achieved an average DSC of 0.89 $\pm$ 0.04 on the independent testing datasets when compared to the registration-based gold standard. On our test system, the computation time decreased from 42 minutes for a reference registration-based pipeline to 1 minute. Our proposed method is fast, robust, and generalizes with high reliability. It can be extended to the segmentation of other brain structures. The method is publicly available on GitHub, as well as a pip package for convenient usage.
△ Less
Submitted 19 May, 2022; v1 submitted 18 October, 2021;
originally announced October 2021.
-
Estimation of fluctuating magnetic fields by an atomic magnetometer
Authors:
Vivi Petersen,
Klaus Molmer
Abstract:
We present a theoretical analysis of the ability of atomic magnetometers to estimate a fluctuating magnetic field. Our analysis makes use of a Gaussian state description of the atoms and the probing field, and it presents the estimator of the field and a measure of its uncertainty which coincides in the appropriate limit with the achievements for a static field. We show by simulations that the e…
▽ More
We present a theoretical analysis of the ability of atomic magnetometers to estimate a fluctuating magnetic field. Our analysis makes use of a Gaussian state description of the atoms and the probing field, and it presents the estimator of the field and a measure of its uncertainty which coincides in the appropriate limit with the achievements for a static field. We show by simulations that the estimator for the current value of the field systematically lags behind the actual value of the field, and we suggest a more complete theory, where measurement results at any time are used to update and improve both the estimate of the current value and the estimate of past values of the B-field.
△ Less
Submitted 29 May, 2006;
originally announced May 2006.
-
Gaussian State Description of Squeezed Light
Authors:
Vivi Petersen,
Lars Bojer Madsen,
Klaus Molmer
Abstract:
We present a Gaussian state description of squeezed light generated in an optical parametric oscillator. Using the Gaussian state description we describe the dynamics of the system conditioned on homodyne detection on the output field. Our theory shows that the output field is squeezed only if observed for long enough times or by a detector with finite bandwidth. As an application of the present…
▽ More
We present a Gaussian state description of squeezed light generated in an optical parametric oscillator. Using the Gaussian state description we describe the dynamics of the system conditioned on homodyne detection on the output field. Our theory shows that the output field is squeezed only if observed for long enough times or by a detector with finite bandwidth. As an application of the present approach we consider the use of finite bandwidth squeezed light together with a sample of spin-polarized atoms to estimate a magnetic field.
△ Less
Submitted 25 August, 2005; v1 submitted 20 May, 2005;
originally announced May 2005.
-
Magnetometry with entangled atomic samples
Authors:
Vivi Petersen,
Lars Bojer Madsen,
Klaus Molmer
Abstract:
We present a theory for the estimation of a scalar or a vector magnetic field by its influence on an ensemble of trapped spin polarized atoms. The atoms interact off-resonantly with a continuous laser field, and the measurement of the polarization rotation of the probe light, induced by the dispersive atom-light coupling, leads to spin-squeezing of the atomic sample which enables an estimate of…
▽ More
We present a theory for the estimation of a scalar or a vector magnetic field by its influence on an ensemble of trapped spin polarized atoms. The atoms interact off-resonantly with a continuous laser field, and the measurement of the polarization rotation of the probe light, induced by the dispersive atom-light coupling, leads to spin-squeezing of the atomic sample which enables an estimate of the magnetic field which is more precise than that expected from standard counting statistics. For polarized light and polarized atoms, a description of the non-classical components of the collective spin angular momentum for the atoms and the collective Stokes vectors of the light-field in terms of effective gaussian position and momentum variables is practically exact. The gaussian formalism describes the dynamics of the system very effectively and accounts explicitly for the back-action on the atoms due to measurement and for the estimate of the magnetic field. Multi-component magnetic fields are estimated by the measurement of suitably chosen atomic observables and precision and efficiency is gained by dividing the atomic gas in two or more samples which are entangled by the dispersive atom-light interaction.
△ Less
Submitted 28 September, 2004;
originally announced September 2004.