Bonum Certa Men Certa

Software is Mathematics

Block diagram Depiction of the framework for detection and classification of 3-D data such as faces or internal organs, as well as benchmarking

Summary: Personal take on why software is just symbiosis of maths

This post is a concise summary of something I have been working on (source code will be uploaded at a later date when I tidy everything up). The figure at the top shows a breakdown of our existing framework, which basically depicts a program as a set of black boxes. Each box merely performs mathematical operations on volumetric matrices. It's maths. It can also be specified most precisely using equations (no need for explanation using code or pseudo-code). For the sake of simplicity, the block diagram contains only core components that are used irrespective of the approach tested. The file loaders, for example, are shown separately. They work very well and can elegantly load datasets based on a data selector. With the exception of test sets that are small (remnants of debugging), there are 6 families of data, some grouped in pairs, some grouped by training/target, some our lab's data in isolation, others for FRGC data from NIST. There are also correct and incorrect matches in isolation. These simplify the plotting of ROC curves in a largely streamlined fashion. The goal is the program is to test new metrics that can be used to analyse anything elastic such as tissue. It has uses in cardiac analysis, brains, and even faces (I have dealt with each of these data types). For large quantiles of 3-D data, about 70 GB of face data gets used.



The nose-finding part may as well be treated as a component that provides orientation o a form of segmentation (it can be a face or even an internal organ which we wish to model and perform binary diagnosis on). Depending on the datasets, different methods are used. Commonly, FRGC data is better off interpreted by finding nearest point, excepting noise. For the lab's data, it is preferable to choose the nearest point within a specified region (usually around the centre, no weighting/scoring based on location although that too would work). This can also be done using ICP, as described later (settings inherited from another box/module) or a Viola-Jones approach with face templates for training, although it is only partly implemented so far. Sphere intersection with plane, as per Mian et al. (with separate slider for radius), is another existing option, but it does not appear to outperform the simpler methods, which work most of the time given some reasonable boundaries (e.g. boundaries to dodge the hair region).

Having identified the tip of the nose correctly, we are cropping out what is left for rigid areas to be isolated. It is quite customisable. Various separation methods and boundary types like circle, ellipsoid, and rectangle have been tested, where circle is the most commonly used one that works in conjunction with binary masks. These come with many sliders and use measurements in X and Y to estimate real physical distances and then factorise pixel-space units, accordingly. There is also a slider for further manual tweaking. And still, it's all maths.

There are some other bits of operation that are worth mentioning; left out from the diagram in order to reduce clutter are smoothers, hole removers, outlier eliminators, and rounding up of values, all of which are optional and very much depend on the data at hand and how it ought to be treated. For instance, FRGC data hardly requires any smoothing. Lab data has offsets that need to be handled systematically depending on the image number. In fact, both datasets do need a lot of branching/forking in the code as their handling and even their size varies (the program is built to handle any image side with any aspect ratio, but for sub-regions to be defined it uses absolute and not relative coordinate inputs).

Then we come to the key part, which actually does more to contribute toward similarity measures. ICP becomes very important in case the initial alignment of the noses is deemed incorrect or the faces are tilted. In practice, assuming the faces are forward-looking and bend neither to the sides or top/bottom, ICP is not supposed to change much. The methods already available are Mian's early ICP method, Mian's most recent ICP method, Raviv's ICP implementation from 2008, and Raviv/Rosman ICP implementation from recent months or years. The program optionally applies translation and optionally it applies the rotation too. In many cases this does not seem necessary as ICP hardly modifies anything substantial.

The model part is not included in the diagram as there are many different things are can be done with a model. PCA, model-building, model assessment, file loaders for models (about 2 gigabytes for some), in addition to more basic measures on which assessment is applied, are basically all sorts of comparators which yield one value for each pair, then proceeding to the plotting of ROC curves (mostly automated following experimental design).

All the above is just mathematics. It can all be described using equations. To patent such stuff would be to claim a monopoly on equations, which means the monopoly covers a wide range (infinite even) of implementations. How can anybody defend the argument that software is not maths? Or that "innovative" software is somehow the exception? If many equations are already patented, how is one supposed to code safely? How can existing methods be enhanced without a violation?

Comments

Recent Techrights' Posts

Claim That Finance and HR at IBM Already Work on the Next Wave of IBM Layoffs, Media Silence Persists
The media is still telling misleading nonsense about IBM layoffs (like some fantasy about 'rehiring' thousands for "AI")
Claims of More IBM Layoffs a Week Before 'Christmas Week'
Of course, as usual, nobody in the media says anything
GAFAM "doesn't depend on any sort of lock-in, humans just don't want to be free anymore," according to MinceR
As many readers are aware, our criticism of UEFI (restricted boot in particular) attracted a lot of online harassment against us, including stalking and libel
The Register MS Has Just Been Paid to Promote the Ponzi Scheme Some More ("AI" Keyword Stuffing)
This won't end well for The Register MS
Perpetuating the Lie of "No Red Hat Layoffs" Because of the Bluewashing (Red Hat Became Just "IBM")
Many Red Hat employees were pushed out and/or removed lately
 
EPO People Power - Part XIV - EPO Management Living in Fantasy Land
wrongly assumes that any crime committed by the EPO will always be brushed aside
Secret Code is Undesirable
If someone wants you to use proprietary software, say no. Secret code is even worse.
Google News Still Has an LLM Slop Problem (With Slop Images Too), But Google Itself is a Pusher of Slop
If Google keeps shilling and selling slop as "AI", and moreover if people keep hating slop (there's growing awareness of this problem), then at the end Google will suffer greatly
Gemini Links 16/12/2025: Bingo Card and i586 in 2025
Links for the day
Links 16/12/2025: Security and Conflict (No Territorial Concessions in Ukraine)
Links for the day
With Half of December Over, FSF Two-Thirds of the Way Towards Funding Goal
If you can share some money this month, the FSF should be a priority
A Lot of People Don't Want "Smart" (Things That Spy, Stop Working, Cannot be Repaired Easily)
They also don't want slop disguised as "intelligence"
Links 16/12/2025: More GAFAM (Now Amazon) Layoffs and iRobot Chapter 11
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, December 15, 2025
IRC logs for Monday, December 15, 2025
Wrapping Up and Ending "Slopwatch"
An "end-of-life" improvement
Gemini Links 15/12/2025: How We Lost Communication to Entertainment, Dichotomy Between the Real and the Digital
Links for the day
The New Chief Editor at The Register MS is a Microsofter, Now They Increase Microsoft Coverage and Add Microsoft Slant to 'Linux' Coverage
Did Microsoft pay some more?
IBM Layoffs in India and IBM's CEO Spins His Lack of Market Share as a Strength
If this leadership carries on, the only red left at IBM won't be Red Hat but a red stain
Links 15/12/2025: "Life in Prison" for Criticising China, Tikhanovskaya Says 'Pressure Works'
Links for the day
Due to 'Secure Boot' (An Anti-Security Measure, a Kill Switch) Computer Users Are Afraid of GNU/Linux
This is what Microsoft wanted
'Crypto' 'Currencies' Are a Ponzi Scheme. So Is "AI". Both Destroy the Planet, Not Just the Economy.
Believe it or not, millions of these GPUs just sit there boxed, unopened, unconnected, unused
Microsoft Colonialism in Africa is Not Sustainable
Microsoft's situation in Nigeria is not
EPO People Power - Part XIII - If the EPO's Chief Propagandist (Berenguer) Told the Police He Was a Spanish Tourist (or Similar) or That He Does Not Reside in Munich, Then He May Have Lied to the Police (in Addition to Doing Cocaine in Public)
Lying to the police in Germany is a criminal offense
Links 15/12/2025: Chromebooks as Work Machines, "Americans [Who] Moved to Australia" to Avoid Cheeto
Links for the day
Breaking Your Proprietary Router in the Name of "Security"
Each time they "patch" the router something that previously worked OK is likely to just break
IBM May be Breaking the Law to Silence Staff It Laid Off
Observation to add regarding IBM layoffs
Demonisation Attacks on Richard Matthew Stallman (RMS) - Including Antisemitic Attacks - Have Not Worked
Name-calling doesn't work
Slop ("AI") Will Replace People and Take Away Jobs, Say the Slopfarms With Fake (LLM-Generated) Text and Slop Images
"AI" often means slave labour in a poor country
More Than a Million Bytes Should be Enough for Most Computer Programs
Who said computing would improve over time?
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, December 14, 2025
IRC logs for Sunday, December 14, 2025
Another "AI" (Slop) Use Cases Turns Out to be a Fraud
Those who talk about this fraud get SLAPPed
They Say Rules Are Made to be Broken, at Microsoft That Became an Imperative (e.g. Accounting Fraud, Bribery and So on)
Its biggest client is itself
In Russia, Microsoft is Already a Dying Breed Online
A lot of Europe also dumps Microsoft. Europe is a big revenue source of Microsoft.
The Future of News on the World Wide Web
No "greener pastures" on the Web
𝐈𝐁𝐌 𝐂𝐄𝐎 𝐀𝐫𝐯𝐢𝐧𝐝 𝐊𝐫𝐢𝐬𝐡𝐧𝐚: Proof That at IBM People Fall Upwards
IBM is collapsing
EPO People Power - Part XII - The Mobbing Got So Bad People Were Unable to Work
What's at stake here isn't just the EPO or the patent system
Links 14/12/2025: "Chile to ban smartphones in classroom" and "Portugal updates cybercrime law to exempt security researchers"
Links for the day
Gemini Links 14/12/2025: "GUI TUI CLI" and EmacsConf 2025 Video
Links for the day
Links 14/12/2025: Tensions in Asia, US Making Deals With Belarus
Links for the day
A Utopian and Very Dumb Vision of Technology, Based on Accounting Fraud
the "industry" has become insane and a lot of "the media" is going along with it
Links 14/12/2025: "The Slop of Things to Come", Goldman Sachs Nervous About Slop Bubble
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, December 13, 2025
IRC logs for Saturday, December 13, 2025