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

unixcop.com is the Latest "Linux" Site to Have Become a Slopfarm After 2 Years of Death (Inactivity)
Not a way to stage a comeback
While GAFAM/Microsoft Disguise Financial Crisis as "Investment in AI" the Slop Giants Make Up a Narrative of Wilful Slowdown
A BS artist is good at the art of BS when the artist's failures or weaknesses get twisted as moral or professional leadership
 
Links 16/09/2026: US Running Low/Out of Some Ammo Due to Wars, Slop Bots "Are Using an Outrageous Amount of Electricity"
Links for the day
"AI Slowdown" is Code Word for Bubble Imploding (Trying to Make This Slowdown Seem Wilful, an Act of Safety and Responsibility)
They help one another by inflating the bubble and making false excuses when expansion stalls
SLAPP Censorship - Part 185 Out of 200: What Reputation?
Helping monopolies and working for monopolies never made anybody popular
Gemini Links 16/09/2026: Slovenia, Catastrophe Ethics, and ROOPHLOCH 2026
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, September 15, 2026
IRC logs for Tuesday, September 15, 2026
Microsoft Layoffs in September 2026 Are Silent, Hidden
Expect the same next month ahead of the fake results
Links 15/09/2026: 'Smartphone', Android TV Box, Stockholm Syndrome of [Slop Plagiarism] Acceptance
Links for the day
Carmen-Lisandrette Maris Prepares Audiobook to Explain Software Freedom/Digital Rights to Adolescents, Needs Help From Volunteers
needs help with narrating
Links 15/09/2026: Putin-Connected Money for The Insurrectionist Jr. and Turkey's Crackdown on Activists
Links for the day
publicdomainpictures.net Seems to Have Become Fed Up With Slop Contaminating Its Database (Wasting Storage, Bandwidth), Now It's Suitably Flagged, Should Be Demoted/Delisted
The site was redone, suffered some hours of downtime, then 'relaunched' with a new interface this week
Gemini Links 15/09/2026: Hiking in Munții Făgăraș, Scams, and Slop Plagiarism Considered Unethical
Links for the day
Linux Kernel Becoming a Slopfest - Part 1 - At the Beginning (Torvalds Knew It Was Trouble)
We still wonder if we should make and actively maintain a shame list (developer/employer) for the people who contaminate Linux the most with slop plagiarism
EPO Staff is Preparing to Take Up a Notch the Strikes and Other Industrial Actions Ahead of October's Meeting (It Can Help Oust the Corrupt Leadership)
mobilising perhaps thousands of workers at a critical time in the history of the Office
Allegedly Many PIP Layoffs in Nepal, IBM Does This Before a Known Death Toll in Avalanche (Caused by China-, Europe-, and US-Induced Global Warming)
Fresh wounds, before the bodies are even recovered (thousands still missing)
"Wail" by Alexandre Oliva
This work is licensed under the Creative Commons License BY-SA (Attribution ShareAlike) 4.0 International
This Morning The Register MS Published a Page With "AI" 83 Times in it. The Register MS Got Paid to Do This.
The Register MS is not a serious publisher and a lot of the stuff about "AI" on the Web isn't journalism but paid-for SPAM
SLAPP Censorship - Part 184 Out of 200: A Tiny Law Firm That Knows Nothing But Microsoft (But Merely Pretends to Understand "IT")
They've managed to trick some mainstream media into thinking they're "Tech" experts or "Social [Control] Media" gurus; nothing could be further from the truth
Links 15/09/2026: Sweden’s Far Right Perishing and "Iceland Just Got Played"
Links for the day
It's Not About How Developers Vote
This isn't about politics, it's about users being in control of their own computers and computing
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, September 14, 2026
IRC logs for Monday, September 14, 2026
Gemini Links 15/09/2026: Poetry, Enshittification of Ebay, and Mecha System
Links for the day
LG Lies to Cover Up Lies About Its Spying TVs (It Records and Transmits Conversations in Rooms)
This is what a lot of "modern" technology is like
Oracle's Debt Continues to Soar (Increase of 60 Billion Dollars in 15 Months, Not Counting the Secret Debt, With Off-balance-sheet Debt Having "Grown Roughly Thirtyfold in Four Years")
Oracle debt continues to grow
It Has Cost $215,000 in Legal Costs to Sue IBM for Wrongful Termination
IBM typically settles out of court and demands secrecy (to avoid anyone else benefiting from the very expensive outcome)
Apple's iOS and macOS Measured as Bigger Than Windows in the US, Linux-Based OSes at Almost 30%
Expect the silent layoffs at Microsoft to continue at a rapid pace
Oracle, Like Microsoft, Drowns in Debt and Discards Tens of Thousands of Staff (Microsoft Does the Same More Discreetly)
The main difference between Microsoft and Oracle is that the latter is honest about what's going on
Gemini Links 14/09/2026: First Android Phone, Leaving Sony, and Rant About Gemini-to-HTTP Proxy Providers
Links for the day
Links 14/09/2026: "Scam Altman Now Trying to Gain Control of Electric Grid" and Sweden Moving to the Right
Links for the day
Vista 11 Flunked
Microsoft cannot start a "Vista 12" campaign as it would only make matters worse
Microsoft Urgently Needs Distraction: There's No "Next XBox", But There's a New Boot Screen (Like 'Dark Mode', a Feature That Can be Implemented in Mere Minutes/Hours)
Anything to distract from XBox fiasco
The PIPs or 'Voluntary Termination Offers' Help IBM Fake Its Situation
"IBM is not a tech company"
IBM Flying Away to Sweatshops (So Will Red Hat)
Even on Sunday people post about 'leaving' IBM
RFID Ambitions Already Established by Widespread Skinnerbox Adoption
A society that cannot maintain privacy for those who deserve it will not manage to assure dignity of citizens
SLAPP Censorship - Part 183 Out of 200: What Actually Happened Two Months Ago (Based on People Who Attended)
It's dangerous to assert what happened in a hearing you did not attend (there was no video stream or recording, either)
Phil Harvey, an Editor-in-Chief in a B2B Site, Explains Why ChannelFutures (Connected to TechTarget) and Other Sites That Used to Cover Linux Deleted Many Articles
Every old article in channelfutures is gone!
Software Freedom Day 2026 is 5 Days From Now, Fresh Reminder to Boycott Proprietary Software
Let this be a timely reminder of why people should avoid proprietary software
Links 14/09/2026: Slop Hardly Used for Actual Work (Chatbots Are for Lonely People), Slop Bots (Scrapers, Plagiarism) "Are Thirsty for Power"
Links for the day
Gemini Links 14/09/2026: Trip, Hiding, and OCR
Links for the day
IBM PIPs Are Layoffs (RAs Come Later Even If You Satisfy the "Performance" and "Plan")
Notice how "the media" almost never mentions silent layoffs, as if just because they're silent, there's nothing to investigate, nothing to see there
Slop Companies Engage in Plagiarising the Web, Now They Pay People to Contaminate the Web With Their Lies
Remember that the lawfare against us is funded by slop salaries!
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, September 13, 2026
IRC logs for Sunday, September 13, 2026