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

Intercontinental Brigading - Part XXXXV - The Brand (and Reputation)
"Russell Brand sentenced to 10 years and six months for rape and sexual assault"
Protestants at the EPO Fight On, Rising in Opposition to and Against Corruption, Also Against GAFAM
Don't say we didn't warn you...
When Some Footage Causes Your 'Company' to Lose Almost Half a Trillion Dollars in 'Value' in a Few Minutes Your Company is Fictionally Valued
stock slips 8% because the CEO cheats on the wife
Links 09/11/2026: Nvidia CEO Jensen Huang Cheats on Wife With A Suspected Chinese Spy, "400,000 Russians Killed in Battle Since 2022 Invasion"
Links for the day
 
“Losing Huang Would Introduce a Lot of Uncertainty"
Huang won't last much longer
GNU/Linux Rose to 6% as Laptop/Desktop Operating System in Azerbaijan
In the past two weeks the average measure as seen by Clownflare is 5.7%
Microsoft Will Pay $11,742 USD for Workers to Leave
11 lakh Indian Rupees
Since Records Began 18 Months Ago, statCounter Saw Chatbot Usage Falling Sharply
Chatbots are not becoming more popular and the commercial world is having second thoughts
Losing Their 'Faith' in Slop
Are leather jackets becoming a "signal" of "cheating on the wife"?
Boosters of Non-reciprocal Licensing Are Just Trying to Cancel Richard Stallman (RMS) and His Baby, GNU
If only they liked freedom as much as they love Microsoft (or Microsoft's GitHub, which is proprietary and unsafe)
Gemini Links 09/11/2026: Zephyr, Wireless Planet, and Old E-mail
Links for the day
IBM: From Illegal NDAs to Illegal Secret Settlements (Money in Exchange for Promise Not to Sue)
Insiders also explain why RAs may come weeks from now [...] IBM has marked 40,000 workers it wishes to get rid of
Links 09/11/2026: 'Humanitarian' Putin Knocks 600,000 Civilians Off the Grid, Eminem’s Publisher Sues Suno
Links for the day
Like Crooked Politicians, The Register MS is Selling "Dinners" (Access, Sponsors)
Talk about "hey hi".
The Register MS is Not Objective Regarding "AI", It's Paid by Pushers of the Pyramid Scheme (including Nvidia)
Some time soon we'll name some companies that pay millions to The Register MS in order to cement their role in the house of cards (while it lasts)
GAFAM Moribund
A lot of what we say about Microsoft in respect to debt is equally applicable to the rest of GAFAM
NVIDIA as a Scam Company Run by Scammers Who Fake Demand for Their Waste of Energy (Subsidising GPU Sales for Use Cases That Don't Exist)
First they targeted gamers, then fake 'currencies' (which turned out to be a bust), now it's slop (obfuscation of plagiarism using brute force and fusion) [...] We're quite glad that Huang publicly broadcasts how untrustworthy he is
Zero Tolerance for Slop
very few sites that dabbled in slop ended up well off (for it)
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, November 08, 2026
IRC logs for Sunday, November 08, 2026
Gemini Links 09/11/2026: "The Blue Wave Won't Save Us" and "Discoverability Is Only Solved If You Can Be Discovered"
Links for the day
IBM 'Robbery': No More Car Allowance in the UK, Severance Shredded, CEO Pay Up 51% in One Year While Thousands Laid Off in Secret
Why does a CEO reward himself so much when the company does so badly?
Digitalisation Is Not Inevitable or Unavoidable
Nor inescapable
Gemini Links 08/11/2026: "Back", Zot, and Information Overload
Links for the day
Intercontinental Brigading - Part XXXXIV - Why the Swatting Failed
After that we only ever heard from or spoke to cops when we invited them to our home to collect evidence
“Concerned Microsoft Workers” Say “Working at Microsoft Has Become Joyless and Demoralizing.” (That's What Microsoft Wants, More Will Leave That Way)
Many Microsoft employees are going to leave
The Register MS is Losing Hundreds of Thousands of Pounds a Year While Directors Pay Themselves Hundreds of Thousands of Pounds a Year in Dividends
they take money from slop pushers and have clearly compromised some journalistic standards in the process
GNU/Linux Measured at 7.4% in the UK This Weekend: Clownflare Radar
I hope that one day GNU/Linux will be everywhere here
Never a One-Person Project
Just because I'm the main "public face" of the site (who takes all the insults and SLAPPs) doesn't mean I deserve all the credit
“I Always Expect to Lose. I Fight Anyway, and Sometimes I Win.” — Richard Stallman
To change the world meaningfully people must think big
Stop Looking for News About "Layoffs", Layoffs Are Over (They've Been Rebranded)
To properly assess the status quo we need other yardsticks
Links 08/11/2026: Bosses Who Were Forcing Their Workers to Use Slop Change Mind, "Rapper RBX Files Ninth Circuit Appeal in Fraud-Focused Class Action Lawsuit Against Spotify"
Links for the day
Links 08/11/2026: Why Vikings Stayed in Iceland and "TikTok Accused Of Promoting Sex Industry To Young Girls"
Links for the day
Gemini Links 08/11/2026: "Before Sunrise" and LLM Scrapers Versus Self-Hosting (or Web in General)
Links for the day
Intercontinental Brigading - Part XXXXIII - Weaponising Cops in Another Continent (Europe), Knowing They Cannot Come to Your Home in America, While Threatening Women
This year it culminated in death threats
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, November 07, 2026
IRC logs for Saturday, November 07, 2026
The Decade Ahead, a Decade of Suppressed Stories
Our stories aren't discouraged or considered taboo because of racism or "toxic politics" or anything like that; they just hurt powerful people and corporations
Solicitors Regulation Authority (SRA) Inaction and Incompetence - Part V - "Reports Closed Without the Evidence Being Examined."
Totally what the SRA did regarding Brett Wilson LLP
Gemini Links 07/11/2026: Illusion Garden and Lagrange 2
Links for the day
Complexity is the Tyrant's Friend
Slop is for feeble minds and cheaters
IBM Firings (or Silent Layoffs) After Bluewashing; "IBM’s Employment History is More Troubling Than its Patriotic Marketing Suggests"
"It has zip to do with race but everything to do with the greed of the 1% who have been doing all they can to destroy the middle class..."
“Week van de Werkstress” and Work-Related Stress at the EPO, Where Staff is Bullied Into Granting Illegal Patents for Foreign Monopolists
"poor working environments, including discrimination and inequality, excessive workloads, low job control and job insecurity pose a risk to mental health"
Czech Republic: GNU/Linux Rises Above 5% in Desktops and Laptops
A year ago it was somewhere around 4%
EPO's Local Staff Committee The Hague Says Almost or About a Third of Staff Assembled to Organise at "a Time of Continued Social Unrest"
They speak of "circa 850 staff members in attendance" (in The Netherlands there are about a couple thousand)
Suggestions That XBox Will be Offloaded by Microsoft, Rather Than Shut Down, Make the False Assumption XBox is Profitable (It's Not, It's a Liability)
Microsoft has serious financial troubles
Which "Smart" "Phone", Which "Social" "Media", and Which "Cloud" "Storage"?
Let's take back control of the language
State of the (Linux) Slop, Late 2026 Edition
Google News (Gulag Noise) is a plagiarism booster
Year 21
It's 5PM here
Links 07/11/2026: "Flock Cameras Got Eviscerated by the Midterms" and Joshua Wong Shows China is Highly Repressive and Fully Controls Hong Kong
Links for the day
At The Register MS the Net Liabilities Doubled in One Year, Tangible Assets Down About 35% in One Year
signed off in 2026
Intercontinental Brigading - Part XXXXII - Running One's Mouth
British Police told me "making a false complaint to police is a crime" in relation to Lozza
Another 20 Years of Exposing Corruption
We'll focus on carrying on what we do
EPO Budget and Finance Committee (in Very Recent Meeting) Increases Bribes to People Who Vote on Campinos Reappointment ("Cooperation Activities")
Buying 'elections' to protect the cocaine-stained regime in Europe's second-largest institution
Links 07/11/2026: London's SLAPP Industry Now Targets Kirkenes (Northern Norway) at the Behest of Corrupt Thieves in Russia and Microsoft’s 'Buyout' Offer Crashes Microsoft Systems
Links for the day
Links 07/11/2026: "The Moon is Waning Crescent", Homeworlds, and "Can't Handle The AVIF!"
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, November 06, 2026
IRC logs for Friday, November 06, 2026