This is relatively easy using a distance transform:
img = Import["https://i.sstatic.net/Juolc.png"]
binary = Binarize[img, .9];
dist = DistanceTransform[ColorNegate[binary]];
Now, dist, contains for each pixel the euclidean distance to the closest white pixel. The points you're looking for are (I think) the local maxima in this image:
maxPos = ComponentMeasurements[MaxDetect[dist], "Centroid"][[All, 2]];
radii = PixelValue[dist, maxPos]
Which yields these circles:
Show[binary, Graphics[{Red, MapThread[Circle, {maxPos, radii}]}]]

and the radii:
Histogram[radii, {1}]

These are the circles that are locally maximal. So they're usually touching 3 or more white points. If you want all circles that touch two white points, you should look at SkeletonTransform.
For example, for a square, the method above wold yield only on circle, at the center of the square. SkeletonTransform would yield all points along the diagonals of the square - as circles centered on the diagonals touch the square in two places.

Wolfram Language
reference.wolfram.com › language › guide › ImageProcessing.html
Image Processing & Analysis—Wolfram Documentation
The Wolfram Language provides broad and deep built-in support for both programmatic and interactive modern industrial-strength image processing\[LongDash]fully integrated with the Wolfram Language's powerful mathematical and algorithmic capabilities. The Wolfram Language's unique symbolic architecture and notebook paradigm allow images in visual form to be included and manipulated directly, both interactively and in programs.
Wolfram Documentation
reference.wolfram.com › language › tutorial › ImageProcessing.html
Image Processing—Wolfram Documentation
Several useful image processing tasks require nothing more than simple arithmetic operations between two images or an image and a constant. For example, you can change brightness by multiplying an image by a constant factor or by adding ...
Wolfram Video Archive: Introducing Interactive Image Processing ...
Wolfram Video Archive: Wolfram Language One-Liners for Image ...
Wolfram Video Archive: Introduction to Image Processing, Part 2 (Eng)
Wolfram Video Archive: Introduction to Image Processing, Part 1 (Eng)
Wolfram Video Archive: Enhanced Image Processing
Wolfram
wolfram.com › solutions › industry › medical-imaging
Wolfram and Mathematica Solutions for Medical Imaging
Efficient and powerful programmability for batch processing of images, interpreting proprietary data formats, quickly prototyping new image processing algorithms and more » · Binary, morphological and other image segmentation algorithms for identifying shapes and regions, along with functions for shape and color analysis of image features » · Mathematical morphology transforms and analysis, including finding branch points, skeletons, distance transforms and more »
Wolfram
blog.wolfram.com › 2008 › 12 › 01 › the-incredible-convenience-of-mathematica-image-processing
The Incredible Convenience of Mathematica Image Processing—Wolfram Blog
December 1, 2008 - Here’s what they look like processed through three image processing functions: LaplacianFilter applies a form of edge detection, ImageAdjust tweaks the brightness and contrast, and then Dilation expands the bright areas to emphasize them.
Wolfram Community
community.wolfram.com › content
Image Processing Forum—Wolfram Community
Image processing and analysis, segmentation, filtering and enhancement, feature extraction, alignment and registration, image classification, object detection and more. The Wolfram Image Core Area page highlights documentation, examples and courses. Wolfram Community threads about Image Processing.
Wolfram Language
reference.wolfram.com › language › ref › ImageDemosaic.html
ImageDemosaic: Reconstruct an image from raw sensor data—Wolfram Documentation
ImageDemosaic[image, cfa] reconstructs a color image using the specified color filter array cfa. ImageDemosaic[image, {cfa, {row, col}}] aligns the top-left pixel of the pattern with the {row, col} pixel of image.
Wolfram Language
reference.wolfram.com › language › ref › ImageFilter.html
ImageFilter—Wolfram Documentation
Image Filtering & Neighborhood Processing · Image Restoration · Feature Detection · Tech Notes · Image Processing · ImageFilter[f,image,r] applies the function f to the range-r neighborhood of each pixel in each channel of image.
Wolfram
library.wolfram.com › infocenter › Conferences › 7904
Image Processing with Mathematica -- from Wolfram Library Archive
September 29, 2011 - Mathematica · System Modeler · Wolfram|Alpha · AI Access · Compute Services · All Products · Consulting & Solutions · Wolfram Consulting · Industry Solutions · Solutions for Education · Learning & Support · Wolfram U Courses · Wolfram Language Resources ·
MathWorks
mathworks.com › image processing and computer vision
Image Processing Toolbox Documentation
Scale, rotate, perform other N-D transformations, and align images using intensity correlation, feature matching, or control point mapping · Contrast adjustment, morphological filtering, deblurring, ROI-based processing
Ncu
math.ncu.edu.tw › ~syyang › teaching › MIP2021Fall › digital_image_fundamentals.pdf pdf
Mathematical Image Processing Digital Image Fundamentals
Welcome to the website of Suh-Yuh Yang (楊肅煜) · Suh-Yuh Yang serves as a Distinguished Professor of Mathematics at National Central University, Taiwan
Wolfram
resources.wolframcloud.com › ExampleRepository › category › image-processing
Image Processing | Wolfram Language Example Repository
Ready-to-use examples of Wolfram Language · © 2026 Wolfram. All rights reserved
Stephen Wolfram Writings
writings.stephenwolfram.com › 2015 › 05 › wolfram-language-artificial-intelligence-the-image-identification-project
Wolfram Language Artificial Intelligence: The Image Identification Project—Stephen Wolfram Writings
May 13, 2015 - New site uses Wolfram Language’s ImageIdentify function and machine learning to let you easily classify any picture--drag it, snap it, load it from a file.
Wolfram
wolfram.com › wolfram-u › courses › image-signal-processing
Image and Signal Processing Courses: Wolfram U
From the makers of Wolfram Language, Mathematica and Wolfram|Alpha · These courses feature many practical applications and teach how to use Wolfram Language built-in functions, interactive notebook-based tools and ready-to-use neural net models for image analysis and computation. Earn course completion certificates and work toward the image processing ...
Wolfram Documentation
reference.wolfram.com › language
Wolfram Language & System Documentation Center
Comprehensive documentation for Mathematica and the Wolfram Language. Details and examples for functions, symbols, and workflows. Organized by functionality and usage.