Commit graph

82 commits

Author SHA1 Message Date
Candice Bentéjac
659c8a05ed Add abstract InitNode
InitNode is an abstract class which is meant to be inherited
by all the initialization nodes (such as CameraInit), included
those that might be created by the user.

InitNode contains methods that can be reimplemented by the
children classes if necessary.

This abstract class allows to keep on using scripts such as
meshroom_batch without having to modify them specifically or
being limited to using a CameraInit node.
2022-08-05 10:42:59 +02:00
Candice Bentéjac
7ec65d828c Do not evaluate variables of string parameters in the nodes' description
Set the value of the string parameters in the nodes' description as
the unevaluated variable instead of the evaluated variable. The
evaluation will be made later, when the nodes with such parameters
will be computed.
2022-07-12 11:22:57 +02:00
Fabien Castan
7083b01819 [nodes] CameraInit: pixelRatioLocked True by default 2022-04-11 17:01:38 +02:00
fabien servant
655dad9959 [camerainit] update parameters to use focal in mm 2022-03-25 11:07:52 +01:00
Fabien Castan
8beb821907 [nodes] CameraInit: use os.path.join 2021-09-13 10:17:40 +02:00
Fabien Castan
61308eb211 [nodes] CameraInit: Principal Point is now relative to the image center
The principal point is no more relative to the top-left corner of the image.
Linked to the AliceVision sfmData IO change in file version 1.2.1.
2021-08-19 09:50:15 +02:00
Fabien Castan
5ab6ed8e52 [core] Improve project files upgrade
- upgrade groups with changes in params
- new upgradeAttributeValues per node
2021-08-13 16:07:14 +02:00
Fabien Castan
14579f766d [nodes] CameraInit: fix version of aliceVision json file
The intrinsics contains pxFocalLength as 2 values (x,y) since 1.2
version.
2021-05-31 18:27:21 +02:00
Fabien Castan
f03cb7de54 [nodes] CameraInit: add camera models in description 2021-05-28 15:53:27 +02:00
Fabien Servant
03a47a9a45 [calibration] update cameras names 2021-05-28 15:53:26 +02:00
Fabien Servant
ba247e4e9c [node] add new camera model 2021-05-28 15:53:25 +02:00
Fabien Servant
d3dae57c30 [calibration] add some camera lenses models 2021-05-28 15:53:25 +02:00
Fabien
248b14eb62 [cameraInit] add support for non square pixels 2021-05-28 15:53:24 +02:00
Fabien Castan
7d4e9524ad Update nodes versions 2021-02-26 00:52:50 +01:00
ChemicalXandco
e18f815af9 [nodes] add node categories 2021-02-14 17:03:42 +00:00
Fabien Castan
1102ce84e0 Merge branch 'develop' of github.com:alicevision/meshroom into dev/nodesAndTaskManager
Conflicts:
	meshroom/core/graph.py
	meshroom/ui/qml/main.qml
2020-12-01 20:02:43 +01:00
Fabien
d62eca1648 [camerainit] add a boolean for white balance use 2020-11-23 08:05:40 +01:00
Fabien Castan
bab908d2eb Merge branch 'develop' into dev/nodesAndTaskManager 2020-07-30 10:56:19 +02:00
Fabien Castan
7b1a2aac0b [nodes] CameraInit: no more params invalidation
Params are only used on drag&drop and do not invalidate the node
computation.
Only Viewpoints and Intrinsics are now used in the invalidation.
2020-07-29 18:33:39 +02:00
Julien-Haudegond
4e20286ac0 [nodes] increment nodes version 2020-07-29 14:39:38 +02:00
Julien-Haudegond
d1756ca650 [nodes] update several nodes with enabled parameter 2020-07-29 11:38:13 +02:00
Fabien Castan
91f53341bc warning fixes 2020-07-16 11:04:43 +02:00
Fabien Castan
224abce62f [nodes] CameraInit: add some debug log 2020-07-02 11:57:50 +02:00
Fabien Castan
44d6b45c18 Merge branch 'develop' into dev/panoramaFisheye 2020-07-01 01:15:27 +02:00
Fabien Castan
253d9d569d [nodes] CameraInit: view regex is an advanced param 2020-06-30 22:54:56 +02:00
Enguerrand DE SMET
162a6804ab [nodes] camerainit: viewId from filename 2020-06-30 20:41:13 +02:00
Enguerrand DE SMET
95c8cf1ff4 [nodes] cameraInit: allowed intrinsics option 2020-06-30 17:41:16 +02:00
Fabien Castan
43d7fc1c1d [nodes] CameraInit: no special characters in descriptions 2020-03-26 19:25:51 +01:00
Fabien Castan
64a4c9426a [nodes] add some nodes documentation 2020-03-26 11:20:44 +01:00
fabienservant
ff34102190 Add sensor size to camera init 2020-03-10 17:29:31 +01:00
fabienservant
1b8aea7db3 add camera type choice for equidistant 2020-03-10 17:03:29 +01:00
Fabien Castan
19d2f90554 [ui] ImageGallery: allow to visualize the list of HDR images created by LDRToHDR
Conflicts:
	meshroom/ui/reconstruction.py
2020-03-10 12:33:36 +01:00
Yann Lanthony
991aca989b Merge develop into dev/nodesAndTaskManager 2020-01-24 14:54:08 +01:00
Yann Lanthony
ac149e1e51 [nodes][aliceVision] use user-friendly atribute labels 2020-01-24 12:00:13 +01:00
Fabien Castan
69a1f157ac [nodes] CameraInit: remove subprocess wait (communicate is enough) 2019-12-16 20:10:04 +01:00
Fabien Castan
645d239333 [nodes] CameraInit: minor variable rename 2019-09-14 16:05:36 +02:00
Yann Lanthony
c6a3f0d587 [nodes] CameraInit.buildInstrincs: copy node outside graph if necessary
Instead of assuming that the CameraInit instance does not belong to a graph, handle this by making a temporary copy of it to work with.
2019-01-29 16:04:39 +01:00
Fabien Castan
6823695146
Merge pull request #369 from alicevision/dev_imageGallery_intrinsics
Image gallery improvements + intrinsics display
2019-01-29 16:02:56 +01:00
Yann Lanthony
0c9c2b2424
Merge pull request #329 from alicevision/devSfmIntrinsicsInput
[CLI] Add possibility to run pipeline from a .sfm file
2019-01-28 10:54:37 +01:00
Yann Lanthony
7db38abdf0 [nodes][av] CameraInit: add initializationMode and groupCameraFallback
* --allowIncompleteOutput option has been removed
* clean up commented lines
2019-01-21 10:55:17 +01:00
Simone Gasparini
3291c3b983
[nodes] forgot to remove print debug 2019-01-18 13:52:51 +01:00
Simone Gasparini
c0eb556eea
refactoring: function readSfMData() to read sfm files 2019-01-14 18:24:49 +01:00
Yann Lanthony
ed14294a29 [nodes][aliceVision] remove range sliders where unnecessary 2019-01-04 17:30:38 +01:00
Fabien Castan
877a852296
[node] CameraInit: improve "locked" param description 2018-12-10 12:08:45 +01:00
Grégoire De Lillo
98dec1ffd7 [node] CameraInit add per intrinsic param locked 2018-12-07 11:28:17 +01:00
Fabien Castan
6a138e492a [nodes] CameraInit: use json to load the metadata string 2018-08-05 20:44:02 +02:00
Fabien Castan
86fa806f65 [nodes] CameraInit bug fix: export view's metadata field
If we don't export it, we loose metadata when we add new images to a previous scene.
2018-08-05 20:44:02 +02:00
Grégoire De Lillo
5c4f10a2d1 [nodes] CameraInit fix: convert empty string distortionParams 2018-07-26 17:18:30 +02:00
Yann Lanthony
6014c701e4 [nodes] CameraInit: fix uid list on 'path' sub-attribute
only impacts uid 0
2018-07-19 13:50:45 +02:00
Yann Lanthony
67ac4bf2ca [core] split uids computation + cache override in updateInternals
* add _computeUids internal method + store computed uids in a dedicated dict
* cache override:
  * add optional cacheDir parameter on updateInternal method to override graph cache directory
  * _buildCmdVars always update member variable '_cmdVars' 
  * CameraInit: ensure node does not belong to a graph and use updateInternals with temp cache directory
2018-07-19 13:50:45 +02:00