Commit graph

69 commits

Author SHA1 Message Date
Fabien Castan
69e9495d63 [bin] compute: No warning if we are computing as EXTERN and the node is SUBMITTED 2020-09-04 19:53:06 +02:00
Julien-Haudegond
3f3a6c0e83 [core/bin] Submitting: remove a duplicate function and move another one 2020-09-03 18:23:55 +02:00
Julien-Haudegond
201ab0b5fb [bin] replace the executeGraph method by a task manager 2020-08-27 11:49:24 +02:00
Fabien Castan
e404fce7d1 [bin] meshroom_photogrammetry: add hdriFisheye 2020-06-01 16:10:38 +02:00
Fabien Castan
9775924df0 [bin] photogrammetry: reduce the number of updates with "GraphModification" group 2019-12-16 20:07:31 +01:00
Fabien Castan
b3653aaae2 [bin] meshroom_photogrammetry: add submit on renderfarm 2019-12-13 20:24:41 +01:00
Fabien Castan
180a2565e1 [bin] meshroom_photogrammetry: add hdri pipeline option 2019-12-13 20:24:25 +01:00
Fabien Castan
f03b52e415 [multiview] setup xml files to Panorama node, create KeyframeSelection for video files 2019-11-04 12:12:08 +01:00
Fabien Castan
8e6753ed4b
[bin] meshroom_photogrammetry: fix argument name 2019-10-23 00:18:09 +02:00
Fabien Castan
ab7b940060 [bin] meshroom_photogrammetry: add explicit check if no image found 2019-09-26 12:17:53 +02:00
Fabien Castan
9a473ad7c4 [bin] meshroom_photogrammetry: add --inputRecursive 2019-09-26 11:35:08 +02:00
Fabien Castan
49c57892f1 [bin] meshroom_photogrammetry: add command line paramOverrides 2019-09-25 22:11:43 +02:00
Fabien Castan
06543f89a9 [core] use more explicit argument name: setupFileRef 2019-09-21 18:19:17 +02:00
Fabien Castan
979ee4ba94 [bin] meshroom_photogrammetry: setup cache folder according to --save path
except if --cache is set explicitly
2019-09-12 21:36:36 +02:00
Fabien Castan
a4d7554c0b [bin] improve meshroom_photogrammetry command line: -i, -o, change --save, add --compute
- add short names for input/output
- change --save option which allow to save the graph used but now do not
replace the computation
- new option to disable the computation (makes sense only if you want to
only save the created project)
2019-09-12 21:06:41 +02:00
Fabien Castan
177d47f95f [bin] meshroom_photogrammetry: rebuild intrinsics only if we have new input images 2019-08-07 20:06:48 +02:00
Fabien Castan
ddc5b29094 [bin] meshroom_photogrammetry: args.input is optional 2019-08-07 20:05:38 +02:00
Simone Gasparini
ac5a509a11
[bin] raise exception if input format is not supported 2019-07-31 15:21:19 +02:00
Simone Gasparini
78d16df4a7
[bin] add views and intrinsic when loading custom pipeline 2019-07-31 15:20:45 +02:00
Simone Gasparini
c0507bf8e6
[bin] added parameter override for meshroom_photogrammetry
The user can specify a json file to override the default parameter of
each node.
2019-03-07 14:41:14 +01:00
Yann Lanthony
b147788e5c [bin] use sys.exit + build meshroom_compute executable
* cx_Freeze removes builtin 'exit' function, use sys.exit in executables instead
* build: generate an executable for "meshroom_compute"
2019-02-27 15:00:43 +01:00
Yann Lanthony
75cb5cb779 [bin][photogrammetry] allow no --output + improve help
Allow no --output parameter, explicitly print cache folder before computation start in that case.
2019-01-30 09:29:42 +01:00
Yann Lanthony
22a7e79830 [bin][photogrammetry] set downscale on all DepthMap nodes 2019-01-30 09:22:03 +01:00
Yann Lanthony
60dc02ea74 [bin][photogrammetry] enable to input a pre-configured pipeline graph 2019-01-29 16:04:39 +01:00
Yann Lanthony
6276dfcd30 [bin][photogrammetry] clean up parameters
* use choices for '--scale' parameter + fix doc + apply only if set
* fix metavars
2019-01-29 16:04:39 +01:00
Yann Lanthony
44371211d5 [bin][photogrammetry] initialize CameraInit node using 'buildIntrinsics'
* build the complete image files list in meshroom_photogrammetry from input arguments
* initialize CameraInit with input sfm data (views/intrinsics) if any
* call buildIntrinsics with the resolved input images list
2019-01-29 16:04:39 +01:00
Yann Lanthony
88c43fe316 [bin/photogrammetry] fix missing import 2019-01-29 16:04:39 +01:00
Simone Gasparini
13c541a161
removed unused imports and clean 2019-01-14 18:30:29 +01:00
Simone Gasparini
1fdbc7e683
common call out of if 2019-01-14 18:28:17 +01:00
Simone Gasparini
c0eb556eea
refactoring: function readSfMData() to read sfm files 2019-01-14 18:24:49 +01:00
Simone Gasparini
d1d93d337d
[cli] add possibility to give a .sfm as input with (optional) intrinsics 2018-12-19 18:01:40 +01:00
Yann Lanthony
b8730324c7 [setup] add 'setupEnvironment' for setting-up standalone configuration
* setup environment vars to work in a prebuilt, standalone configuration
* call 'setupEnvironment' at the beginning of executables
2018-08-03 17:24:04 +02:00
Yann Lanthony
346277629a [nodes] use 'desc.Node.internalFolder' in outputs values
* avoid duplicating the same string everywhere
* don't override 'internalFolder' with the same value default value in subclasses
2018-07-19 13:50:45 +02:00
Yann Lanthony
1f675a0e42 [core] split graph.py into separate modules
core.graph is now splitted into: 
  * graph.py
  * node.py
  * attribute.py
2018-06-26 12:19:14 +02:00
Fabien Castan
1bf68b496f [bin] fix meshroom_photogrammetry: parameter downscale has changed
The "scale" parameter on PrepareDenseScene node has been replaced by a
"downscale" parameter on the DepthMap node
2018-05-17 17:26:33 +02:00
Yann Lanthony
b596bdffca [multiview] split pipeline creation into several functions
* add 'sfmPipeline', 'mvsPipeline' and 'photogrammetryPipeline' instantiating nodes in an existing graph
* rename main function (creating a new Graph) 'photogrammetry' + create a Publish node if 'output' is specified
2018-03-21 15:53:34 +01:00
Fabien Castan
76ec5a1913
Merge pull request #78 from alicevision/dev_ui_nodelogs
Add NodeLog Component that displays logs/statistics/status files of a Node
2018-01-03 21:19:41 +01:00
Fabien Castan
7ceea28174 [bin] newNodeType: improve parsing for description, choice and isOuput
* description: detect title of the next section at the end of
description
* choice: detect list of values inside {}
* isOutput: detect from extracted values and add test to check 'out' in
the param names
2018-01-02 12:03:32 +01:00
Fabien Castan
4171d5c5da Update newNodeType command line 2018-01-01 20:27:00 +01:00
Yann Lanthony
49c3491534 [graph] expose NodeChunks log files as properties 2017-12-28 21:26:26 +01:00
Yann Lanthony
4d25661532 [bin] remove unused import + unify line endings 2017-11-24 16:11:38 +01:00
Fabien Castan
c488d73551 [core] split status and execMode (LOCAL/EXTERN) 2017-11-23 20:58:52 +01:00
Fabien Castan
e3815f74c7 [core] check RUNNING status in chunk compute function and add option to force computation 2017-11-21 12:24:16 +01:00
Yann Lanthony
851ebf60ee [core] add support for external graph computation via 'Submitter' API
* defines a base class for Submitters
* add method in graph module to submit a graph computation to a Submitter
* add SimpleFarmSubmitter and generalize meshroom_submit binary
2017-11-17 19:17:36 +01:00
Fabien Castan
c6cdc229dc [bin] compute: fix "--toNode" option 2017-11-14 18:17:34 +01:00
Fabien Castan
0e69d92a25 [bin] photogrammetry: "output" is now required and "save" disables the graph computation
- "output" is now required, you can still put ""
- "save" disables the graph computation
2017-11-10 19:35:28 +01:00
Fabien Castan
bc81e50426 [bin] compute: put a message if the node is already computed 2017-11-10 19:32:50 +01:00
Fabien Castan
0ab38695b2 [bin] compute: do not exit if the status is not correct 2017-11-10 11:33:23 +01:00
Fabien Castan
4372863a2c [bin] compute: use findNode to support node expression 2017-11-08 17:51:23 +01:00
Fabien Castan
311c5d5405 [bin] compute: fix chunks 2017-11-08 17:48:24 +01:00