sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
c0019eef1f3c88b655e83eb77f6f5736784022b4102c22ee8425b9f2054c60ec | C/C++ | 1,528 | 57 | #ifndef _RTREE_H
#define _RTREE_H
#include <Python.h>
#include "geos.h"
#include "pygeom.h"
/* A resizable vector with addresses of geometries within tree geometries array */
typedef struct {
size_t n, m;
GeometryObject*** a;
} tree_geom_vec_t;
/* A struct to hold pairs of GeometryObject** and distance for use ... |
483c4b0a421c54c0b54f5e19f8d83009094e54b31a7e03d690f53ce740c05e4a | C/C++ | 1,535 | 48 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
5d4b4ad3703f41136be6a58be1b857ab1ef764127f435d826b0aa66ed3ed51b1 | C/C++ | 1,544 | 59 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2013 Daniel Rueckert, Julia Schnabel
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... |
bcecb021bb81059273e271c5ac86bfba9d92eee3d31a970cbecd755aeab14735 | C/C++ | 1,553 | 47 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
198f863495385ee27e8f3f9628dd5c911fd266cd0cb011f26b715d1ca4b764e6 | C/C++ | 1,558 | 59 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... |
64d6f8f141b680156299549b0ad77aef7e3899a31960fda2e37d8f75309b86f9 | C/C++ | 1,558 | 57 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
e0cad48cb3033b48a49d4bb853062c1b917271173115479bfdcde3fef8d5a560 | C/C++ | 1,560 | 40 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
fc3af60f6bc9f90fbeed2794ab6375da785f422cd46db113aeff674597aa9320 | C/C++ | 1,568 | 50 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
03554203a3e0d53a029cd983a2bad6fe0fcc05b2c024d390fbb02dcd119beb8d | C/C++ | 1,575 | 62 | #ifndef BEHAVIORCAM_H
#define BEHAVIORCAM_H
#include <QObject>
#include <QThread>
#include <QSemaphore>
#include <QTimer>
#include <QAtomicInt>
#include <QJsonObject>
#include <QQuickView>
#include <QMap>
#include <QVector>
#include <QQuickItem>
#include <QVariant>
#include "videostreamocv.h"
#include "videodisplay.h... |
8ac89864d0aed338a96e55946251994a55c28247d7149e2efdc1899a984fee9b | C/C++ | 1,580 | 52 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
4dd44ab22d98bfa3219443028d8555de67a08c84d1251320134ace8ce4894493 | C/C++ | 1,587 | 23 | #include <RcppArmadillo.h>
using namespace Rcpp;
//[[Rcpp::depends(RcppArmadillo)]]
arma::mat pulse_fp_fpt(arma::mat stimulus, double v, double a, double t0,
double s=1, double z=0, double dc=0,
double sv=0, double st0=0, double sz=0, double lambda=0,
... |
b94d50445b1061084faf08068b4083093601febded8b213376afe479962effe2 | C/C++ | 1,590 | 68 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
862afaab6a61a619133c66da016cd495bdc098ba60a2ae02e99a37f48d88304b | C/C++ | 1,605 | 55 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
97c7191c39b8dfc7b769d9fcaf2813f9b93010432914c5bbdf3f4edaccb3c574 | C/C++ | 1,608 | 45 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
c1a8e30d7c9048ff99f7d5f0cb1fc52b7cf265c102405e83dc008f5e27045dbe | C/C++ | 1,610 | 51 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
ca214371d34e1c107baee80c4169608cf47861300f8673fc4cbc12b4b658c201 | C/C++ | 1,613 | 42 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
71855d481e7c70c3b1f61cf5ed0fc6bc5f0624e60e8721aef69fa1d9487b6d94 | C/C++ | 1,645 | 60 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... |
71f7404d5cdcd24a8a0d103e56864052a8662170b5298070c4f8f7bc70f08946 | C/C++ | 1,660 | 47 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
3592736fd1affc18ce3665428be338f86a4da4f814a11bbbe194d566e7d3ad11 | C/C++ | 1,670 | 59 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2017 Imperial College London
* Copyright 2013-2017 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
c6e78c9b91dc7c38bcb59a6b61e6ff33a6e182cf3fe5a61bab7bd46e9911d3c8 | C/C++ | 1,674 | 45 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
25e99d1fc03947e45b1bcadcf3f5e9baa743d7b4dfb53dac390fbf677d5a7d19 | C/C++ | 1,687 | 77 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2013 Daniel Rueckert, Julia Schnabel
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... |
ab7e59de89f8bd1eac5e38611dad9cfc84712d0b034b0652c859274901d53bd3 | C/C++ | 1,693 | 71 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
83eeae574146bf4decd9d9439a50b4cd9fff6329af20ffcb982b0d153107c1ee | C/C++ | 1,698 | 65 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
e0fdca32237af1293d6753c5dde6af2cce6ee4a899b472ad700797dde2846da5 | C/C++ | 1,723 | 54 | #ifndef VIDEOSTREAMLIBUVC_H
#define VIDEOSTREAMLIBUVC_H
// libuvc capture backend - Linux only. Built only when CMake finds libuvc and
// defines HAVE_LIBUVC. See videostreambase.h for why this exists (uvcvideo
// caches UVC control reads; libuvc GET_CUR bypasses that cache so the live
// frame counter and BNO head-or... |
b5f6b1827d0428455472c0b45dad96ea9d2f7b4bd428eaa94222c445b22f6e01 | C/C++ | 1,738 | 76 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Stefan Pszczolkowski Parraguez, Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... |
2b7f434c1a6549ce45eff9530fa581c7f042d6d3bdeb091ffa43ccf11d247af4 | C/C++ | 1,742 | 64 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
c85edf4f2c4e86bd76aaf8f80df566e01e95a7fba3254cecddc56834af75db4f | C/C++ | 1,742 | 64 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
143b99666c6ba5f3909eff65b46b277165d83c36c956e5b5fa2ae2ddd7f6b379 | C/C++ | 1,749 | 72 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
d44959b743e3d38965703bfabef6f81a69ce6637c0a395e4b41dcf4cb3d4cdb4 | C/C++ | 1,750 | 70 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
347544681d045e0bc3c74e530556a30019ec1325ad552cc8e7c9b4afae841cd7 | C/C++ | 1,762 | 58 | /*******************************************************************************
**
** MIToolbox.h
** Provides the header files and #defines to ensure compatibility with MATLAB
** and C/C++. By default it compiles to MATLAB, if COMPILE_C is defined it
** links to the C memory allocation functions.
**
** Author: Ad... |
4f39f392d8a1202a2d8d116d7e9d7ab8d07413c848b9ccf897f86c80014bdbf1 | C/C++ | 1,770 | 64 | /*
Copyright (C) 2025, Oak Ridge National Laboratory
Copyright (C) 2021, Anand Seethepalli and Larry York
Copyright (C) 2020, Courtesy of Noble Research Institute, LLC
File: common_types.h
Authors:
Anand Seethepalli (seethepallia@ornl.gov)
Larry York (yorklm@ornl.gov)
This file is part of RhizoVision Explorer.
Rhiz... |
68e83b92ca75a72de1c85312534a0b7ff2cac8d8814d8f16bb1de0521ae9d69b | C/C++ | 1,775 | 72 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
638ae1537af0e710270f7178161d2fddbe790b4d71ec66ea00562b29c62570aa | C/C++ | 1,787 | 47 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
28a3144736f56993edb44ca907cee7a4ab90a785880d0ea747a2b7ca5da0ef13 | C/C++ | 1,790 | 50 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
b65b84cff2e8187337cbfca3d19764b6ab4fac83299bd41ad67ba04dc17b7fb7 | C/C++ | 1,798 | 77 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Stefan Pszczolkowski Parraguez, Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... |
22fb4b7b51a8f5e3764c63e540d64635ea9550129359a11eb1cc23026afce57b | C/C++ | 1,803 | 41 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
1555a5886613d9f11bc32bb2b8f27b5e00dcc7937b73bfd406916bf9524b468a | C/C++ | 1,804 | 70 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
d5eb6d2896093f021dc94f9b848686034fe6aeab3e9c3b0d1b88a09c41420d76 | C/C++ | 1,804 | 75 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
be87f20d9248807b2e50d1c2e48465c23be13b7d7232713c1b37e7a4589f306b | C/C++ | 1,810 | 49 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
96aa236cdd9854d4fbd8073134c810f75caef648b90ed7815496b4164d9326a8 | C/C++ | 1,817 | 75 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
3943158ec777bae5c8cf4ff0869ea6abfdb431a33c8c844e31420ae32742d3bf | C/C++ | 1,818 | 58 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2013 Daniel Rueckert, Julia Schnabel
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... |
92b568b480b8962f9c4d19dc153dc558f18958378663c5d54c0db9fc04dda415 | C/C++ | 1,818 | 75 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
e84b106bc75fa39193a6ff39c1df5fa197ffb02a59c034f92242a41458521dc3 | C/C++ | 1,824 | 50 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
257e84e943767e5374b6d50f9735bcb567b324f171fcbc3005d0c05f7b7a3291 | C/C++ | 1,829 | 56 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
71bf2c6e74e7d147d371fbbc246968a024c63763294b1064b2dc3f6cbe17e423 | C/C++ | 1,830 | 69 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
180be2a1f13d40bcc596432b68aaf6fce7fbdccc6fc841503b553fbe920d8aaf | C/C++ | 1,831 | 75 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
bf4b43e7a4f99bba0a4a550bdbece9aaf74039502f35e422ac2131fbd5e94ea5 | C/C++ | 1,842 | 72 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
0a2e995a39afdcf73ac7f5000d2a24cba952e1cf5d3f6cca12cf8e7cb240a3fe | C/C++ | 1,846 | 78 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
77593841bf3174c55ce59632fbbbfe8447eeb774b28ab398f147378dc1b1e89c | C/C++ | 1,847 | 71 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
d6090085b9e031e68530742ab1fe0fff7dd515db17ced5e426e31ce3f4521bd0 | C/C++ | 1,850 | 47 | /*
Copyright (C) 2025, Oak Ridge National Laboratory
Copyright (C) 2021, Anand Seethepalli and Larry York
Copyright (C) 2020, Courtesy of Noble Research Institute, LLC
File: rootsegmentprop.h
Authors:
Anand Seethepalli (seethepallia@ornl.gov)
Larry York (yorklm@ornl.gov)
This file is part of RhizoVision Explorer.
R... |
be779ddc1a23b5f07a00c28394ad94a05bb625b79511540a17a4be851a42e84d | C/C++ | 1,852 | 49 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
2e84d1be9f045e795ad76629b5fb65abd44b0d9c2b5f20b2c11ffe60f25ea06a | C/C++ | 1,857 | 55 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
a4743d3208d85e5c26e796429b1912e3eab45249626191bf0a46f1ebe2caa33f | C/C++ | 1,858 | 78 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
49213a415adaa7fbc74b5f26874193a1b28c5c8110a111300d79875572ebb1af | C/C++ | 1,860 | 78 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
895e19a1b3a291eb7be8859065f0c2a86c43f3043bc6cc1b1e01c9355b37186e | C/C++ | 1,861 | 72 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
9cb29e9fc7bd80bfa43fa165de368348db372c8259654a096fb5246af4a5b836 | C/C++ | 1,872 | 78 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
6b5997932068a7bd16f3b826ffcacdd2df8643601cec79a6e7dd31cc3b643619 | C/C++ | 1,879 | 63 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2017 Imperial College London
* Copyright 2008-2013 Daniel Rueckert, Julia Schnabel
* Copyright 2013-2017 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... |
7db6e59c5e7ef52ca0c3f0bc77f7dcc369968419be2e560005514990f936216e | C/C++ | 1,880 | 83 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2019 Imperial College London
* Copyright 2019 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
f69a49e190854346255106b26cfd2b94fca76d0cca5db5e22c11e6e2995edb7a | C/C++ | 1,887 | 50 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
efcfc551c192593d647fc3b07b0563b31bddeba02ef999edb586e2603ae922c5 | C/C++ | 1,908 | 43 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
a12fd4e04a73ae6ff6ff6743e60026690625bdb0d51565973686308e93751f7f | C/C++ | 1,913 | 47 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
37f5ee419eaa5c33919e2e47d491c6a1ff5863f04300dcfc217a4446c599298b | C/C++ | 1,931 | 72 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
99558f363a601cf368984886ea1b857ea63ff94a3d5052d1dd0f25d81e0a7a92 | C/C++ | 1,933 | 72 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
39e7f4e573a2440caeca2e86cb705f6bd257ff3eefd93ca9d40ab79704b15b58 | C/C++ | 1,948 | 72 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
fca5f9613bcd9db45fcc643b68c6c102eb7aea41d1ace52652f9a53e02f93de6 | C/C++ | 1,951 | 66 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
4f7ca580ecc84eaca8f3a4c036365c97a67e95207cc6cd1b94051bed8e35c053 | C/C++ | 1,963 | 80 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses... |
c232d05d55b90fa020e1ad84a69118bc6e04e64534f1e9b695a5d4651eb5e6eb | C/C++ | 1,973 | 56 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
fad0653665c0014d26a563755ceb96a4284ddebe27ea9f4ce6ec4bdf3adb2d08 | C/C++ | 1,977 | 80 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses... |
6d902fd09622f628547044cc3f9514af9a2f224270a7393f79aa3a09aa2b4afc | C/C++ | 1,979 | 82 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... |
c401800189462c081d9d486d07f732d23170b129878b3d7d2c88229b362eb447 | C/C++ | 1,995 | 82 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... |
7fe8aaa36ba341c68df9b37df778e3d4cd168034d663cdd604317eeefb230d4b | C/C++ | 1,996 | 48 | #ifndef NEWQUICKVIEW_H
#define NEWQUICKVIEW_H
#include <QObject>
#include <QQuickView>
#include <QStringList>
// QQuickView with an optional aspect-ratio lock on interactive resizing.
// (Close handling moved to the pane host: closing a floating pane re-docks
// it via QWindow::visibleChanged, so no close signal is n... |
08289755e00cb275fe01603da0b30f8a710372d429e7180802e5be1332e405b5 | C/C++ | 2,018 | 57 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
e7f41186607eb2a26c36a58a84f7bc2bb0008ece7a49d9f938c10c379c8bcfcb | C/C++ | 2,018 | 47 | /*
Copyright (C) 2025, Oak Ridge National Laboratory
Copyright (C) 2021, Anand Seethepalli and Larry York
Copyright (C) 2020, Courtesy of Noble Research Institute, LLC
File: roottopology.h
Authors:
Anand Seethepalli (seethepallia@ornl.gov)
Larry York (yorklm@ornl.gov)
This file is part of RhizoVision Explorer.
Rhiz... |
c8f49ef231bd6892ac37cec98da116e133e32f588024a1caf5650b6674a66b84 | C/C++ | 2,033 | 67 | #ifndef VIDEOSTREAMOCV_H
#define VIDEOSTREAMOCV_H
#include <QObject>
#include <QString>
#include <opencv2/core/core.hpp>
#include <opencv2/videoio.hpp>
#include <QVector>
#include "miniscopeprotocol.h"
#include "videostreambase.h"
#ifdef Q_OS_MACOS
#include "avfframegrabbermac.h"
#endif
class VideoStreamOCV : publ... |
e72d0dd453455d2abca479863af3b898197fbc77f75d51fceb46f3f1ed8c505e | C/C++ | 2,033 | 50 | #ifndef AVFFRAMEGRABBERMAC_H
#define AVFFRAMEGRABBERMAC_H
#include <QString>
#include <opencv2/core/core.hpp>
// Native AVFoundation frame grabber pinned to a device uniqueID.
//
// Why not cv::VideoCapture: OpenCV's AVFoundation backend can only open a
// camera by LIST INDEX, and macOS reshuffles the camera list wh... |
90cb2dea587092d5e2d505a3aff3570f91ea81fe20eabedc7b22cef3a449ec7d | C/C++ | 2,034 | 56 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
def7093e6fb7c3c74453e14fba5e701c628d9440991856a127b837c46fcc1f16 | C/C++ | 2,054 | 72 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2017 Imperial College London
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses... |
60313bfb55672843da72ba54727f97f33d9ae7d00d15f9dbcfe67ad0b27ba4c0 | C/C++ | 2,063 | 82 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2016 Imperial College London
* Copyright 2008-2013 Daniel Rueckert, Julia Schnabel
* Copyright 2013-2016 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... |
76bb735625917669f9ebd6dbca6e767e5d8969994fb6a45486233bef700667dd | C/C++ | 2,063 | 114 | /*
* SPI_BB_PYTHON480.h
*
* Created: 7/21/2018 9:49:03 PM
* Author: DBAharoni
*/
#ifndef SPI_BB_PYTHON480_H_
#define SPI_BB_PYTHON480_H_
#include "definitions.h"
uint16_t spi_BB_Read(uint16_t address) {
//Bitbang SPI Master.
//Assuming SS starts high and clock starts low
int8_t i = 0;
uint16_t value = ... |
bd045fabd5f98a19f76f0bec850fa61776196392134dbe759c1df15724c0d112 | C/C++ | 2,065 | 44 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
770004be7071cb3edb4712285ed9d01312109bc02bcdc27494f3cab45b017e5e | C/C++ | 2,076 | 65 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
a52d57de6917d624f9d1b8b550abb6e8e1e4b5e7123b6c83205836fcc9d5afef | C/C++ | 2,081 | 71 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
bcf725bfa1a14121cef4322fca3db6f4efcc90dbce86247321ceae38494d8b52 | C/C++ | 2,100 | 62 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
1431bc8ef3afa8ef4901a0bbc6a98aaa035b9ee9b7e0bf9255bd4466eca901d6 | C/C++ | 2,103 | 63 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
80bf0a2b5b4ffeef458ff52aded9ef22725f19c109e54a810fa68b630f479823 | C/C++ | 2,105 | 81 | #ifndef THREADPOOL_H
#define THREADPOOL_H
#include <vector>
#include <string>
#include <thread>
#include <future>
#include <queue>
#include <atomic>
#include <functional>
#include <algorithm>
namespace torali {
struct ThreadPool {
bool stop;
std::atomic<size_t> active;
std::size_t maxQueueSize;
std... |
b251f28bd45b3eaec499dcb4686801866408e6989baef6b0b7eb683e19f0c52a | C/C++ | 2,132 | 53 | #ifndef _SIGNAL_CHECKS_H
#define _SIGNAL_CHECKS_H
#include <Python.h>
/* Global variables for interrupt checking */
extern int check_signals_interval[1];
extern unsigned long main_thread_id[1];
/* Macro for checking signals and threads in loops
*
* This macro checks for Python signals at regular intervals during l... |
d5a54c91b1092667c59340f50a49e8ed6ff3a9b99f5382e11bcf3b5021cc924f | C/C++ | 2,145 | 66 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
4ed46d1afc011a93a247d05742acf2cd98332e6089c72d22c12174f4e0b5d054 | C/C++ | 2,153 | 61 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
6926c2ec10ed83bd67fc8fd0073eef708f38c83891f0ecb92fdf81e8b8323630 | C/C++ | 2,163 | 81 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2017 Imperial College London
* Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
* Copyright 2017 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... |
4b99ce1025efd9cf0b70de59c8c367876c5c6de4efe316cd0aea78597012c5dc | C/C++ | 2,182 | 58 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
fdcb66fbdeffc65a1ee4d892b7959c4834607b7d95f0b3cfc3942d20d2b68fe3 | C/C++ | 2,193 | 78 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... |
e1f3887c0b1830d05f66c9eb64dc748f72a83811b2bde48f4bae21c3b64622b3 | C/C++ | 2,197 | 83 | #ifndef BEHAVIORTRACKERWORKER_H
#define BEHAVIORTRACKERWORKER_H
#include <QObject>
#include <QAtomicInt>
#include <QVector>
#include <QMap>
#include <QDebug>
#include <QString>
#include <QJsonObject>
#include <QSemaphore>
#include <opencv2/opencv.hpp>
#ifdef USE_PYTHON
#undef slots
#include <Python.h>
#define slo... |
e7d4f295b55e02b8b09ccc82882f37a0d4530ab46402b64a325885d1b74240b7 | C/C++ | 2,198 | 82 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses... |
fb83d972d28b4f77bf3e772ba4c8853c458c46f52806279b15206907138cd168 | C/C++ | 2,204 | 97 | /*
* definitions.h
*
* Created: 7/21/2018 9:03:41 PM
* Author: DBAharoni
*/
#ifndef DEFINITIONS_H_
#define DEFINITIONS_H_
// =========== SPI ==============================
#define SPI_PORT PORTB
#define SPI_SS_PORT PORTD
#define SPI_DDR DDRB
#define SPI_SS_DDR DDRD
#define MOSI PB3... |
059d306f8739d5f99bfb584b79f5dff60fe9f11eee859a8c7e0c9f9e0f3f974d | C/C++ | 2,215 | 61 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
04885d463dd619e3a74a6b3277af22962651b8ffd7d8c88980b64eed45a57252 | C/C++ | 2,236 | 63 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
390ca472ee0c1397d32aae246501247870803fc44d7bafb5e0df84c9273812f8 | C/C++ | 2,236 | 42 | #ifndef CONFIGVALIDATOR_H
#define CONFIGVALIDATOR_H
#include <QJsonObject>
#include <QString>
#include <QStringList>
// User-config schema validation and in-memory migration.
//
// Policy (per lab decision, July 2026): configs are validated against
// deviceConfigs/userConfigSchema.json but validation NEVER blocks ru... |
46c621a484a491279a6ade93ccf28fd1c84c571f129fcc5e7f8354831638b00d | C/C++ | 2,254 | 57 | /*
* Copyright 2022 Google LLC.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
3038fe673d80e74ab804273d0719fe49bcb3230bb5a228888c871eac2a236a7d | C/C++ | 2,271 | 72 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2015 Imperial College London
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... |
69d2a09493ee9696af7aeea797fce9a80871c5800ab25520867bc6bbe1861d98 | C/C++ | 2,273 | 58 | /* ----------------------------- MNI Header -----------------------------------
@NAME : tagtoxfm.h
@DESCRIPTION: Header file for tagtoxfm
@GLOBALS :
@CALLS :
@CREATED : August 30, 1993 (Peter Neelin, Louis Collins)
@MODIFIED :
-----------------------------------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.