You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will produce this image, with the bounding boxes of the different regions drawn with different colors:
2371
+
2372
+

2373
+
2355
2374
2356
2375
## 11 - Technical details
2357
2376
<a name="tech"></a>
@@ -2372,7 +2391,7 @@ For more details on the code, check [this page](homog2d_devinfo.md).
2372
2391
2373
2392
A unit-test program is included, can be run locally and is also used by GitHub CI.
2374
2393
It is uses the [Catch2](https://github.com/catchorg/Catch2) library.
2375
-
The Github CI (aka "Github Acionts") loads the 2.13.6 release.
2394
+
The Github CI (aka "Github Actions") loads the 2.13.6 release.
2376
2395
It is build and run with `$ make test`
2377
2396
The CI launches the tests with both Ubuntu 20 (gcc9.4) and Ubuntu 22, and also makes sure that the Microsoft C++ compiler is able to build the software
2378
2397
(but it does not run the tests with it).
@@ -2388,7 +2407,7 @@ make test USE_TINYXML2=Y
2388
2407
```
2389
2408
2390
2409
A second test target is included: `$ make testall`.
2391
-
It will build and run the test program 3 times, one for each numerical data
2410
+
It will build and run the tests programs 3 times, one for each numerical data
2392
2411
type (`float`, `double`, and `long double`), through the symbol `HOMOG2D_INUMTYPE`.
2393
2412
2394
2413
The test target also attempts to build the files in the folder `misc/no_build`.
@@ -2433,16 +2452,15 @@ If not defined, incorrect situations will throw a `std::runtime_error`.
2433
2452
If defined, program will very likely crash in case an abnormal situation is encountered.
2434
2453
- `HOMOG2D_NOWARNINGS`: on some situations, some warnings may be printed out to `stderr` (see below).
2435
2454
Defining this symbol will disables this.
2436
-
Besides this build symbol, user code can silence all the warnings with `err:printWarnings() = false;`
2455
+
Besides this build symbol, user code can silence all the warnings with `err::printWarnings() = false;`
2437
2456
(can be reactivated any time by passing `true`).
2438
-
- `HOMOG2D_OPTIMIZE_SPEED`: this option may be useful if you intend to to a lot of processing with ellipses, and you favor speed over memory.
2457
+
- `HOMOG2D_OPTIMIZE_SPEED`: this option may be useful if you intend to to a lot of processing with [ellipses](#p_ellipse), and you favor speed over memory.
2439
2458
The default behavior for class `Ellipse` is to store only the homogeneous matrix representation (conic form),to minimize memory footprint.
2440
2459
This drawback is that every time we need to access some parameter (say, center point), a lot of computations are required to get back to the "human-readable" values.
2441
-
With this option activated, each ellipse will store both representations, so access to values is faster.
2460
+
With this option activated, each ellipse will store **both** representations, so access to values is faster, but memory footprint will increase.
2442
2461
For more on this, [see this page](homog2d_speed.md).
0 commit comments