Skip to content

Commit b3d27bf

Browse files
committed
Add license header from mrcal
1 parent 806d07d commit b3d27bf

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/mrcal_wrapper.cpp

+16
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,14 @@ struct MrcalSolveOptions {
236236
};
237237

238238
// lifted from mrcal-pywrap.c. Restrict a given selection to only valid options
239+
// License for mrcal-pywrap.c:
240+
// Copyright (c) 2017-2023 California Institute of Technology ("Caltech"). U.S.
241+
// Government sponsorship acknowledged. All rights reserved.
242+
//
243+
// Licensed under the Apache License, Version 2.0 (the "License");
244+
// You may obtain a copy of the License at
245+
//
246+
// http://www.apache.org/licenses/LICENSE-2.0
239247
static mrcal_problem_selections_t
240248
construct_problem_selections(MrcalSolveOptions s, int Ncameras_intrinsics,
241249
int Ncameras_extrinsics, int Nframes,
@@ -360,6 +368,14 @@ mrcal_result::~mrcal_result() {
360368
return;
361369
}
362370

371+
// Code taken from mrcal, license:
372+
// Copyright (c) 2017-2023 California Institute of Technology ("Caltech"). U.S.
373+
// Government sponsorship acknowledged. All rights reserved.
374+
//
375+
// Licensed under the Apache License, Version 2.0 (the "License");
376+
// You may obtain a copy of the License at
377+
//
378+
// http://www.apache.org/licenses/LICENSE-2.0
363379
std::unique_ptr<mrcal_result> mrcal_main(
364380
// List, depth is ordered array observation[N frames, object_height,
365381
// object_width] = [x,y, weight] weight<0 means ignored)

0 commit comments

Comments
 (0)