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

Judgment: French army vanquishes German FSFE on Hitler's birthday, Microsoft contract dispute (1716711)
Reprinted with permission from Daniel Pocock
Projection Tactics - Part IV: SLAPP by Americans Against Techrights (UK) to Hide Serious Abuses Against American Women
"PRs need to stop being complicit in suppression of information via SLAPPs"
The Grapevine Says IBM's American RAs (Mass Layoffs) Soon to Follow European RAs, PIPs and "Reviews" as Pretext for a Likely Baseless Dismissal
The days of honourable corporations and work ethics are long gone it seems...
 
Links 24/01/2026: CBS News Demolished From the Inside and Many Publishers Admit Layoffs
Links for the day
Gemini Links 24/01/2026: Dreams and Raspberry Pi Zero 2W
Links for the day
Richard Stallman's First Talk in US College Since 2018: Videos and Photos
There are some backstories
Judge Richard Oulevey (Grandcour Choeur, Tribunal Vaud) & Debian shaming abuse victims and witnesses
Reprinted with permission from Daniel Pocock
EDPB/CNIL privacy expert Amandine Jambert (cryptie, FSFE) implicitly admitted lying about harassment when she resigned admitting conflict of interest
Reprinted with permission from Daniel Pocock
Links 24/01/2026: TikTok Controlled by Alt Reich in US Now, White House Shares Fake, Manipulated, Misleading Images Already
Links for the day
Dirty Laundry at Debian and Elsewhere
We cannot just brush aside real issues involving real people and their families
Illegal, Unconstitutional Kangaroo Court for Patents Drops the Masks, Shows Its Real Purpose is to Serve Multinational Monopolists and Crush European SMEs
Europe (or the EU) is rapidly becoming a corporate project, not a unified governance initiative
The "Alicante Mafia" - Part X - EPO Strikes to Begin Next Week
Things gradually escalate this month
Gemini Links 24/01/2026: Snow, Boxing, and Lisp is Fun
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, January 23, 2026
IRC logs for Friday, January 23, 2026
Senior management and HR email privacy: Martin Ebnoether (venty), Axel Beckert (xtaran) & Debian abuse in Switzerland
Reprinted with permission from Daniel Pocock
Pierre-Elliott Bécue, ANSSI & Debian cybertorture
Reprinted with permission from Daniel Pocock
MJ Ray, Micah Anderson & Debian on drugs, prostitution at DebConf6 fight
Reprinted with permission from Daniel Pocock
Excellence in Ethics: a list of victories for the truth
Reprinted with permission from Daniel Pocock
Richard Stallman Giving Public Talk, Answering Questions From the Audience
We understand (from the organisers) that there will be a video of the talk
Forbes Covers in 2026 What Was Already Clear for Over a Decade: Microsoft's BitLocker 'Encryption' is a Back Door
One that's promoted by the loudest boosters of UEFI 'secure boot' as well
Links 23/01/2026: Minus 24 deg C in South Korea, "Iran Internet Blackout Passes Two-Week Mark"
Links for the day
Gemini Links 23/01/2026: "Witch Watch" and English on the Net
Links for the day
Reminder That "Linux" in the Site's Name (and Domain) Does Not Imply Authentic Journalism About GNU/Linux
the sad fact that some once-legitimate sites became slopfarms
Further Comments Illuminate Observations Regarding IBM's Layoffs (RAs) Plan for Europe
Some shed light on the expected scale
Links 23/01/2026: Growing Censorship, Intel Falls (Another Bubble, Propped Up by Cheeto Bailout), and Huge GAFAM Layoffs Continue
Links for the day
Working for Freedom Makes You a Target
it's not about what you do but about who gets served
Appeasing Bullies Doesn't Work
The reason we're still here and very active is that we're good at what we do
Claim That IBM Mass Layoffs Began Again in Europe, With Rumours It'll Close Offices
Unless IBM issues a statement (admission) to the media or issues WARN notices (in the US), the lousy media will simply assume - however wrongly - that nothing is happening and there's nothing to report
How Microsoft Will Tell Shareholders That the Business is Failing in a Few Days
It'll resort to "AI" storytelling (lying about slop having potential for some unspecified future year)
Flying to See Today's Talk by Richard Stallman
It's probably not too late to reserve a seat for today's talk
The Fall of Freenode Didn't Kill IRC and the Web's Issues (Not Limited to LLM Slop) Didn't Kill Everything
As long as there are enough people willing to keep the simple (or "old") stuff it'll refuse to die
GAFAM Layoffs by Performance Improvement Plans (PIPs) Hide the Real Scale of Their Financial Troubles
the "official" numbers of layoffs will never tell the true story
'Domesticated' Animals Not More Valuable Than Free-range Wildlife, Proprietary ('Commercial') Software Isn't Better Than Free Software
the proprietary software giants (companies like SAP or Microsoft) have a lot of lobbyists
The "Alicante Mafia" - Part IX - EPO Budget Funnelled Into Cocaine and Moreover Rewards Cocaine-Addicted Management for Getting Busted by Police
Any day that passes without European media and European politicians doing anything about it merely discredits the media and the EU (or national governments)
Richard Stallman Won't Talk About "AI", He'll Talk About Chatbots and LLMs Lacking Any Intelligence
This really irritates people who dislike the message; so they attack the person
Slopfarms Still Fed by Google, Boosting Fake 'Articles' That Pretend to Cover "Linux"
At this point about 80-90% of the search results appear not to be slopfarms
Gemini Links 23/01/2026: The Danish Approach to Deepfakes and Random vi Things
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, January 22, 2026
IRC logs for Thursday, January 22, 2026
Five Years Ago, After We Broke the Story About Richard Stallman Rejoining the FSF's Board, All Hell Broke Loose (for Me and My Family)
They generally seem to target anyone who thinks Richard Stallman (RMS) should be in charge or thinks alike about computing
Links 22/01/2026: Slop Fantasy About Patents, Retirement in China Now Reached at Age Seventy
Links for the day
Gemini Links 22/01/2026: Why Europe Does Not Need GAFAMs, XScreenSaver Tinkering, FlatCube
Links for the day
Salvadorans' Usage of GNU/Linux Measured at Record Levels
All-time high
Links 22/01/2026: Ubisoft Layoffs Disguised as "RTO", US "Congress Wants To Hand Your Parenting To GAFAM", Americans' Image Tarnished Among Canadians (Now Planning to "Repel US Invasion")
Links for the day
10 Easy Steps to Follow for Digital Sovereignty in Nations That Distrust GAFAM et al
When "enough is enough"
No, the Problem at IBM/Red Hat Isn't Diversity
Microsoft Lunduke also openly shows his admiration for Pedo Cheeto
Do Not Link to Linuxiac Anymore, Linuxiac Became a Slopfarm
now Linuxiac is slop
Dr. Andy Farnell Explains Why Slop Companies Like Anthropic and Microsoft 'Open' 'AI' Basically Plunder and Rob People
This article was published last night at around 10
Richard Stallman (RMS) at Georgia Tech Tomorrow
After the talk we'll write a lot about "cancel culture" and online mobs fostered and emboldened in social control media
Software Patents by Any Other Name
There is no such thing as "AI" patents
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, January 21, 2026
IRC logs for Wednesday, January 21, 2026
The "Alicante Mafia" - Part VIII - Salary Cuts to Staff, 100,000 Euros to Managers Busted Using Cocaine (for Doing Absolutely Nothing, Just Pretending to be "Sick")
Today we look at slides from the union
Gemini Links 22/01/2026: Forest Monk, Aurora Observation, and Arduino Officially Launches the More Powerful Arduino UNO Q 4GB Single-Board Computer
Links for the day
Next Week is Close Enough for Wall Street Storytelling About 'Efficiency' by Layoffs for "AI"
This coming week GAFAM and others will tell some creative tales about how "AI" something something...
Google News Still a Feeder of Slop About "Linux", Which Became Rarer in 2026
Our main concern these days is what happened to Linuxiac. Bobby Borisov became a chatbots addict.