sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
df5d5bd2a629008b8fca2f45bb893c4bbd9d6895c00fbba2af12dd55b2aa8295 | C++ | 12,980 | 391 | /*
* 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
*
... |
93162111fece5d2faf34c6b9c25dfcfef402714e7fe15e1cb7cdf69ff86712c0 | C++ | 13,003 | 395 | /*
* 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
*
... |
0aca74d2d2a3f92174b93208cabe1eeb29afb5676d92df99a18a2111658ec5f1 | C++ | 13,026 | 407 | /*
* 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 ... |
3def14130c9e10e03150210eaff39a6e6d4a44ceaf1c46cca5339468eb0dd248 | C++ | 13,077 | 320 | /*
* 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
*
... |
5742afd8f82220737cd41ce7c40edf2aacc5049e28ce4799a9ec7eafeb6bbb44 | C++ | 13,090 | 361 | /*
* 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... |
95f5d84379f36076c3caaec1351981ddbe7485074d47dd23e0d84da07f8d34da | C++ | 13,091 | 367 | /*
* 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... |
1266ec5c0f7305c5dc845642ee8e9ffaccfef6a2733134a53abcd3758bab0178 | C++ | 13,097 | 361 | #include "videostreamocv.h"
#include "miniscopeprotocol.h"
#include "monotonicclock.h"
#ifdef Q_OS_MACOS
#include "avfenumeratormac.h"
#endif
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/videoio.hpp>
#include <QDebug>
#include <QCoreApplication>
#include <QVector>
#include <QThread>... |
88f82d681b584c3dbc991fccc2970af9ef4d724e9eda78cd0943eb66a1217e51 | C++ | 13,106 | 345 | /*
* 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... |
7b7cf7fc2ec227bb87a740f3a57937023a5367b1f2e3ed129e1f97d859902f96 | C++ | 13,141 | 415 | /*
* 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
*
... |
b7908c247a99552dcad644db3c938e595342cb96214fa512415e34fd97c79aae | C++ | 13,167 | 375 | /*
* 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
*
... |
4aca76b333134a73dd3b5f2266af497856e8eef8661219539bbe05db70da7ad3 | C++ | 13,186 | 347 | /*
* 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... |
ab616ecfeb49a159848ec6afba75eed93977f0c9861348dc496dccbc380945b9 | C++ | 13,194 | 357 | /*
* 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 ... |
059e224764930fcd2beaeb4944d65328164126cfd8c2831efaf39334e32c0556 | C++ | 13,241 | 339 | /*
* 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... |
d6258533ce227161fe977268d5ef5f0edd33bcf62b1df5c07750c677f594ad75 | C++ | 13,277 | 279 | #include <QGuiApplication>
#include <QApplication>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <QDebug>
#include <QObject>
#include <QTreeView>
#include <QThreadPool>
#include <QTimer>
#include <QQuickWindow>
#include <QSGRendererInterface>
#include <QQuickStyle>
#include <QStyleHints>
#include ... |
a03606cbec1df58d998a22a3e797a6547daebda3c7b92c21759556c2b6c00e81 | C++ | 13,657 | 329 | /*
* 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... |
8ae1efbe3e8bc9ab892f7e0eca3abe2c604ec0a6f4b895a04346db21794e0748 | C++ | 13,696 | 426 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 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 ... |
01217819616e3d2df7e475f3875be60bf64a0e0443d410de36f6f20db7383db6 | C++ | 13,720 | 377 | #ifdef _OPENMP
#include <omp.h>
#endif
#include <RcppArmadillo.h>
#include "bounds.h"
#include "urgency.h"
#include "fast_rand.h"
#include <chrono>
#include <thread>
using namespace Rcpp;
using namespace std::this_thread; // sleep_for, sleep_until
using namespace std::chrono; // nanoseconds, system_clock, seconds
//... |
9639be4f6a1125edca3e0c4ef1bd92270b1b567fe32cccfc2337483a167e70a0 | C++ | 13,733 | 295 | /*
* 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... |
ea16077f58deeb0cd731d3fb8bb8489347ad1d4375663ea625e5a1788b0819ab | C++ | 13,738 | 442 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2016 Imperial College London
* 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 License.
* You may obtain a copy of the License at
*
... |
a1c5f818c95585d61debe18145bde764c08848f5dba8f485e1ff5070ae40a0de | C++ | 13,782 | 424 | #ifdef USE_OPENCV
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/highgui/highgui_c.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <string>
#include "gtest/gtest.h"
#include "caffe/common.hpp"
#include "caffe/util/io.hpp"
#include "caffe/test/test_caffe_main.hpp"
names... |
e1d0872d40f01b99b31e7125d871dbf936076733bc59f0db937a820d031b882d | C++ | 13,810 | 428 | /*
*
* Copyright (c) 2014, Laurens van der Maaten (Delft University of Technology)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above ... |
a494afcd02bec88bf4184d2213130319b62693a3ccb803776a9eff7935fc55d8 | C++ | 13,886 | 348 | /*
* 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... |
d7b64a4623a326f94cd2f982f5be31509d36e168870c88ee4257045d0c37b1da | C++ | 13,968 | 366 | /*
* 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
*
... |
63e5b5b3c63ba8d6c659242dd0275ea121ad955f92f9f32159289714fd5d1949 | C++ | 14,001 | 543 | #include <climits>
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/syncedmem.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
void Blob<Dtype>::Reshape(const int num, const int channels, const int height,
const int width) {
vector... |
2bcc66025da337a8cc1ac215c24a3355058b72cba5e313fd4d4cadd531c33299 | C++ | 14,151 | 417 | /*
* 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 ... |
f75a25963b33598ea37d5523f37b93dcedd75fc005d3500cd7467a0092c9f81b | C++ | 14,176 | 432 | /*
* 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 ... |
8decbca4cf2b737733a816b3380f369accbbf1b0aec157ba2cd0e12a0c04eeda | C++ | 14,229 | 383 | /*
* 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
*
... |
27e7e275bd8ab08e7119135970622972e69a3bc064d864652b22ce4b394df56f | C++ | 14,241 | 524 | /*
* 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... |
8f993a8fbc066e8250b3b1c43c3023ff4054ee5d0ee4a89028f60f10069b2c88 | C++ | 14,251 | 369 | /*
* 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
*
... |
6f06b6e24eeb9ba6aaf076be2332ce6f86ce83d6964f55424828b20476741212 | C++ | 14,256 | 348 | /*
* 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... |
5243ab7cc1710c81238bd27cb8bbf963668d9b285dc86cdb916adfaa2436e0f2 | C++ | 14,308 | 385 | /*
* 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
*
... |
ae9c22f3a56a15299f416d9fd97a3215e28bb23b4001de764679419b4bcad2b9 | C++ | 14,329 | 360 | #ifdef _OPENMP
#include <omp.h>
#endif
#include <RcppArmadillo.h>
#include "bounds.h"
#include "urgency.h"
#include "fast_rand.h"
using namespace Rcpp;
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::plugins(openmp)]]
//' Simulate pulse diffusion model with fixed or collapsing boundary
//'
//' @param n integer; nu... |
cc65c7591fd7351591872a111d865b5c5092de252766677d7ff7bebe893270fe | C++ | 14,482 | 429 | /* MEX-file (Plugin) for MATLAB
Created with: ELEMENT ITERATOR Version 1.0 Beta (C) 2001-2002 Peter Rydesäter
Implements function: prcorr2
*/
#include "mex.h"
#include <math.h>
#include <string.h>
#define MATLAB_COMMENT(X) /* Dummy macro for matlab_comments */
#define _deftype_ double
#define MAX(A,B) ((A)>(B... |
8f0679fd3bc53195d4ad87df2d5d13e0ed79da954dee846ccacb075c6eac8513 | C++ | 14,485 | 362 | /*
* 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
*
... |
fc965fc4b0fd03454940a00081f604dd680eca54b7bb792607da79b3d0953251 | C++ | 14,521 | 398 | /*
* 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
*
... |
32674674ceb99ea52caec807796e058efc3d6b633a67664d5f6641026475f9c1 | C++ | 14,538 | 348 | /*
* 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... |
5ce90dba4434ff716ed685a32b416e10212af01120a98e8044be3ebdfa8fe77f | C++ | 14,538 | 554 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2015 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 ... |
3cb359b61149049ee5498317266cedda47e76169dec396f2880f71c590c04e44 | C++ | 14,586 | 429 | /*
* 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... |
04bc38178a93b41081517d172384b1c77f27585578eaca67b00edbbaa1facedc | C++ | 14,620 | 351 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2013-2016 Imperial College London
* 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 License.
* You may obtain a copy of the License at
*
... |
d508695b302af9a7bcdb453d2000c28ef9965a1b927356799b1f014330196dde | C++ | 14,745 | 399 | /*
* 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... |
b92bdac253258730ab6af96934e39979eb0bc03f3197bf6e185c05f9fbe91f2a | C++ | 14,775 | 369 | /*
* 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... |
aa9c01db77d0a6313410d1c5cea0eef2f85122c57bfbc0eaf2e1d396591cf91a | C++ | 14,840 | 451 | /*
* 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... |
f7f8fce1ba474ca2877d702bc4c6f0dbccb29740021e94938ac2ab31c099cdc8 | C++ | 14,850 | 453 | #ifdef WITH_PYTHON_LAYER
#include "boost/python.hpp"
namespace bp = boost::python;
#endif
#include <gflags/gflags.h>
#include <glog/logging.h>
#include <cstring>
#include <map>
#include <string>
#include <vector>
#include "boost/algorithm/string.hpp"
#include "caffe/caffe.hpp"
#include "caffe/util/signal_handler.h"
... |
ef80b2f95eadeeb30b4f277136ea12b9b3bf8fc81f42d00e8a20daa73f17cb28 | C++ | 14,981 | 433 | #ifdef USE_OPENCV
#include <string>
#include <vector>
#include "boost/scoped_ptr.hpp"
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/layers/data_layer.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/util/db.hpp"
#include "caffe/util/io... |
f103fe82574d0a724543b8effe48b585e854e9b43797bf18afdb982cd7336dea | C++ | 14,987 | 505 | /*
* 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 ... |
a6f3fc25bad74eeb7f93c7936d1cb5d4a930461a5fa9917d65c2fa333315f462 | C++ | 15,019 | 348 | /*
* 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... |
b5aaf3d7c7cfdec8236d1eedb51ec3f3ff665e3e94aae4111140571f1753b5c9 | C++ | 15,020 | 342 | /*
* 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... |
97517845318c0de40055a0835a9a855496c1f6a3ce0d13818dfa57e2dda4a45e | C++ | 15,064 | 399 | // Pins the shared capture-backend machinery in VideoStreamBase: the per-frame
// commitFrame() block (slot reservation, conversions, control-register reads,
// DAQ counter bookkeeping), the frame-size lock, and the reconnect backoff.
// This logic used to be triplicated across the OpenCV/libuvc/macOS backends
// and w... |
58e1561d621913bf7f384bebd57a7f9970193cc03a0874d5c47a1c805005eb8e | C++ | 15,110 | 430 | /*
* 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... |
9fc3c770a1838f469d0b448b11110809e45156c5bdd759b8c1b13bd0c74ceb0c | C++ | 15,261 | 408 | /*
* 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
*
... |
3cb180f0511773e5e0daef2e3be3b67ba025089483e6f4d112caa9cd0638e916 | C++ | 15,322 | 324 | #ifdef _OPENMP
#include <omp.h>
#endif
#include <RcppArmadillo.h>
#include <RcppArmadilloExtensions/sample.h>
#include <unistd.h>
#include "bounds.h"
#include "urgency.h"
using namespace Rcpp;
//[[Rcpp::depends(RcppArmadillo)]]
//[[Rcpp::plugins(openmp)]]
//' Get first passage time distribution of pulse diffusion ... |
a3be36a492c3ac21f1d9d9fc5da315c77652dd80d0944fd4fa304b2fd64d566d | C++ | 15,430 | 457 | /*
* 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... |
c08a1fc69b6acd4296caac69d6a2bd95cb16fac54cf9497d1aabbf1dfdeb427f | C++ | 15,430 | 329 | /*
* 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
*
... |
3ea88fa1a3b0106db17cb7073788d4d3e34adeb652af491894ff7666316189ea | C++ | 15,449 | 344 | /*
* 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... |
e2ed7e497aa183f3e63e1ec252d988ae23c27f2f01945031f863687b12b6e708 | C++ | 15,450 | 447 | /*
* 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
*
... |
5c9b1d1ff1af21b9be1a2fd5371f150a97c7d402d26a02d534425a4a9aa9d0d2 | C++ | 15,509 | 399 | /*
* 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... |
b1a321bbff6d96f49b94f4c7e274aa16e735aa37706d5521ec30e0ec9425564f | C++ | 15,750 | 391 | #include <vector>
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/layers/inner_product_layer.hpp"
#include "caffe/test/test_caffe_main.hpp"
#include "caffe/test/test_gradient_check_util.hpp"
namespace caffe {
#ifndef CPU_ONLY
extern cudaDev... |
969ede76c67f2ca851196cc09fe647cde1669a53096ccd170b03bed2339d9710 | C++ | 15,769 | 431 | /*
* 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... |
c50b78263ef48049f4e6b2052c857864d23dd9ae65ea4ff644f8457108e82112 | C++ | 15,794 | 432 | /*
* 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... |
010a557da556c4f48aef34781a6d9412b817cbc8e52b63c7ce6bdce8cf50a5e8 | C++ | 15,859 | 371 | /*
* 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... |
17353967651d69f75ca4ef236422c8fc584a413f0fe93f3f734ab1ad10d65acf | C++ | 15,866 | 367 | /*
* 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... |
269802d079f1f3f0052b4c952c8bd8e7be2270ff08dd3344fec2edfa5622e55a | C++ | 15,986 | 434 | /*
* 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
*
... |
b198de21d55e5ace47566f404cf0707a04936898b3ff2150fd46c6bf49a3b14e | C++ | 15,990 | 385 | /*
* 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... |
a4da5ecb28aabe0eadd0bd5022fc4035c0427d6d34fa0d530fbb6a4f3c294c6e | C++ | 16,052 | 396 | #include <algorithm>
#include <vector>
#include "caffe/filler.hpp"
#include "caffe/layers/base_conv_layer.hpp"
#include "caffe/util/im2col.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
template <typename Dtype>
void BaseConvolutionLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
c... |
8de4fbb97bc79ec0b244d3bd8043427e2e07dfee59d3fcd543c6a9a7083e4bfc | C++ | 16,337 | 438 | /*
* 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... |
1e39239e247d01cc497547e82b4806bad0f32e051e0d95550ee4b1bc6f375b6a | C++ | 16,468 | 448 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* 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/LICENSE-2.0
*
* Unless required by applicable l... |
8b09521cbf029fdd5cb3c3a7e8ffbba62d8e84ae7680723e4348b7ecc9ab552e | C++ | 16,501 | 547 | /*
* 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 ... |
5a37ee832945e55fec9830931c965150e2338b47c78715f7f73dce9dea630a6d | C++ | 16,566 | 417 | /*
* 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... |
beb2554df74d4400ca3b3102559e3758b64b91f5435b288572dd472bf93e4b4a | C++ | 16,593 | 534 | /*
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.cpp
Authors:
Anand Seethepalli (seethepallia@ornl.gov)
Larry York (yorklm@ornl.gov)
This file is part of RhizoVision Explorer.
... |
9904277f7c12d3ef1aa1bca95ff3cccbd0ca1229d2b6cd3dce82415abf3170a4 | C++ | 16,600 | 458 | /*
* 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... |
7ec562fea14c92808d5fe3ec5982ca4e812a223360888868fbc2b911f84bb338 | C++ | 16,602 | 443 | /*
* 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... |
0eb6a9de13b89431c72bb283b733e8d6f0bb652e20861528261538b1579cd2cb | C++ | 16,650 | 404 | #include "miniscope.h"
#include "newquickview.h"
#include "videodisplay.h"
#include "videodevice.h"
#include <QQuickView>
#include <QQuickItem>
#include <QSemaphore>
#include <QObject>
#include <QTimer>
#include <QAtomicInt>
#include <QJsonObject>
#include <QJsonDocument>
#include <QJsonArray>
#include <QQmlApplicatio... |
c8eee130f49b7fcd411534ad45bb1564ce696ed5f3f1633fce41ce6167dda127 | C++ | 16,694 | 559 | /*
* 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... |
9fe0860e50f84028669fbdc4cf894f0b7a4c9c608eca2b1712bed480105d431b | C++ | 16,767 | 500 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2010-2015 Imperial College London
* Copyright 2010 Wenzhe Shi
*
* 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
*
* ... |
376189c199a7447f682f832fae05fa86dfb19644b6182e7d5c1a45258ede42e8 | C++ | 16,838 | 484 | /*
* 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... |
0c6c71bfdf76ae630c95c8fa8f28967df9669241eb632dd7dcd29f23cb7a3013 | C++ | 16,906 | 452 | /*
* 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... |
4fb6400c06a20fbf7f68c8135b92385eef108e120699691e7eacf3692d5da2ea | C++ | 16,973 | 450 | #include <algorithm>
#include <vector>
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/layers/lrn_layer.hpp"
#ifdef USE_CUDNN
#include "caffe/layers/cudnn_lcn_layer.hpp"
#include "caffe/layers/cudnn_lrn_layer.hpp"
#endif
#include "caffe/test... |
e0142fdc6a2281fc658adb23c51bfecb777d6d05d8c2619e9907f0678d639b29 | C++ | 16,976 | 429 | #include <Python.h> // NOLINT(build/include_alpha)
// Produce deprecation warnings (needs to come before arrayobject.h inclusion).
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include <boost/make_shared.hpp>
#include <boost/python.hpp>
#include <boost/python/raw_function.hpp>
#include <boost/python/suite/index... |
26ff9eba20e71bf8001599f65144eae37cabca8259ad8aac5336ab46da4160ef | C++ | 17,083 | 393 | /*
* 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... |
b785da86ae2bf1cbaa11d256a51d4dbda685f27cd742852b32076ce3653654bb | C++ | 17,111 | 508 | /*
* 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 ... |
45fc0a9eec1247faf31b25002ca4f33063eb10c637337db5752aa995e1cab9cf | C++ | 17,214 | 498 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2015 Stefan Pszczolkowski Parraguez
*
* 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 Li... |
91f369f137d745d72630b6e65e57c002cd1ac02576135a4fd349b310d20cc19b | C++ | 17,250 | 384 | /*
* 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... |
45fb6ca6bf33ff485b72dc429abb032c18c528724703b9dcb5b40b18a2790ba3 | C++ | 17,300 | 546 | /*
* 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 ... |
b98a21c74942b11a57364141b8cf307987c45152838c57dc4523bbdb368cd275 | C++ | 17,459 | 467 | /*
* 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... |
765566f4e87bc6e5227ff83ec1ab5dfeea5128e9904ec35c19558478d4cc49a5 | C++ | 17,538 | 476 | #ifdef USE_OPENCV
#include <opencv2/highgui/highgui_c.h>
#include <stdint.h>
#include <algorithm>
#include <map>
#include <string>
#include <utility>
#include <vector>
#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "caffe/data_transformer.hpp"
... |
ba4d97e2af34114079dc56095e7ef22b0a1a1b2582b07182331da441bc4f76ef | C++ | 17,552 | 520 | #include <cmath>
#include "gtest/gtest.h"
#include "caffe/common.hpp"
#include "caffe/syncedmem.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/test/test_caffe_main.hpp"
namespace caffe {
template <typename Dtype>
class RandomNumberGeneratorTest : public ::testing::Test {
protected:
RandomNumberGe... |
f8a911b45950c00cdd96a10cd489cda2d96258dc6cd52ca194e89030e29bee83 | C++ | 17,599 | 507 | /*
* 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... |
4692626a0ebd4ec1cdd5187ac637ef273233a07f1eeace014f442e741f9d10ff | C++ | 17,783 | 497 | #include <cstdio>
#include <string>
#include <vector>
#include "caffe/solver.hpp"
#include "caffe/util/format.hpp"
#include "caffe/util/hdf5.hpp"
#include "caffe/util/io.hpp"
#include "caffe/util/upgrade_proto.hpp"
namespace caffe {
template<typename Dtype>
void Solver<Dtype>::SetActionFunction(ActionCallback func)... |
863456f52d5167949061cb4ebb318c6f1b5600089fc768da59ab5f5f9b993539 | C++ | 17,887 | 477 | /*
* 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
*
... |
249d87ae25e20e44b835048095a5f8cb1ce07fb9668078e5e242a4f80aaa8d5f | C++ | 17,941 | 432 | /*
* 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... |
b254bd4b8fd1bcf0a83d2cecebee9fb77ac22017a0ed2ef5852fc8131c97c9ea | C++ | 18,071 | 486 | /*
* 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
*
... |
46da42cedf88e3afe6569ef56faf22770f9c4a71c69db2e22ed527d27bca2e92 | C++ | 18,126 | 476 | /*
* 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
*
... |
caa67126d6684cd3c1914a6248aef125eabe64fa5aab77527d92c4b6905a12c2 | C++ | 18,152 | 532 | /*
* 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... |
044c937d9f979987ce9adccb9e2897ce1a9fcd5d2125b459b0d1b0fd370e1d4b | C++ | 18,256 | 421 | /*
* 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 ... |
4e3090cbfdad6e67621a384b647a21b677ebdbd6bd4c14a7196f42bf384955da | C++ | 18,285 | 483 | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2016 Imperial College London
* Copyright 2016 Wenjia Bai
*
* 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:/... |
cd122a6b0b3ee6d1571df1ea36556157fad568b742ae2a7289433546e424c8ae | C++ | 18,509 | 439 | /*
* 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... |
2ef27d8492e96fc1f73957692f2082322c0901e0c297e8db45686c4a36e19183 | C++ | 18,567 | 620 | /*
* 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
*
... |
0ed17b693642f3f827ee16e813319ad4668c6507baccae4c83497d64c0b9281e | C++ | 18,689 | 433 | /*
* 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... |
8d7f5866a5dfcd5a162b2aa7a4ccb8d19db6efc5c8314c005c04a58c4d907d08 | C++ | 18,691 | 498 | /*
* 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... |
2b45145b2c23ec0bae6e5a9d45505f92b10a1e7354fd34099e1b378f8a8663e0 | C++ | 18,712 | 517 | /*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.