Loading...
Searching...
No Matches
|
| | Worker (fs::path source, fs::path output, Resources &budget, uint64_t since, const Json &camera, bool interactive, int side_limit, bool image_alignment) |
| void | run (bool watch) |
|
| AlignmentReference | features (const Photo &photo, const std::string &name) |
| | Extract bounded SIFT features for a possible alignment reference.
|
| Json | align (Photo &photo, const std::string &name, ImageFeatures *cached=nullptr) |
| | Try to refine a photo's georeferenced transform using recent photos.
|
| void | save () |
| | Publish the current resume checkpoint through the atomic JSON writer.
|
| bool | unchanged (const fs::path &source, const Json &job) |
| | Recheck source identity before modifying map state.
|
| void | process (const Json &job, PreparedPhoto *prepared=nullptr, std::exception_ptr prepared_error=nullptr) |
Coordinate discovery, validation, resumable blending, and snapshot publication.
Definition at line 1526 of file pangea.cpp.
◆ AlignmentReference
◆ Worker()
| pangea_detail::Worker::Worker |
( |
fs::path | source, |
|
|
fs::path | output, |
|
|
Resources & | budget, |
|
|
uint64_t | since, |
|
|
const Json & | camera, |
|
|
bool | interactive, |
|
|
int | side_limit, |
|
|
bool | image_alignment ) |
|
inline |
Acquire per-user/output locks and load or initialize the resumable state file.
Definition at line 1835 of file pangea.cpp.
◆ align()
| Json pangea_detail::Worker::align |
( |
Photo & | photo, |
|
|
const std::string & | name, |
|
|
ImageFeatures * | cached = nullptr ) |
|
inlineprivate |
Try to refine a photo's georeferenced transform using recent photos.
- Parameters
-
| [in,out] | photo | Source whose transform may be updated. |
| name | Source name for evidence and reference tracking. |
| [in,out] | cached | Optional precomputed features, moved from when used. |
- Returns
- Alignment decision and available supporting evidence.
Use position priors to screen candidate references; keep the original projection if no feature match passes the geometric checks.
Definition at line 1577 of file pangea.cpp.
◆ features()
Extract bounded SIFT features for a possible alignment reference.
- Parameters
-
| photo | Source image and initial world transform. |
| name | Source name for the alignment record. |
- Returns
- Descriptors and keypoints expressed in original image pixels.
Detect on reduced, border-masked imagery to limit feature work; restore original coordinates before fitting geometry.
Definition at line 1544 of file pangea.cpp.
◆ process()
| void pangea_detail::Worker::process |
( |
const Json & | job, |
|
|
PreparedPhoto * | prepared = nullptr, |
|
|
std::exception_ptr | prepared_error = nullptr ) |
|
inlineprivate |
Validate one discovered source and checkpoint its blend as an idempotent job.
Definition at line 1702 of file pangea.cpp.
◆ run()
| void pangea_detail::Worker::run |
( |
bool | watch | ) |
|
|
inline |
Process stable jobs; in watch mode, defer changing files and export periodically.
Definition at line 1916 of file pangea.cpp.
◆ save()
| void pangea_detail::Worker::save |
( |
| ) |
|
|
inlineprivate |
Publish the current resume checkpoint through the atomic JSON writer.
Definition at line 1683 of file pangea.cpp.
◆ unchanged()
| bool pangea_detail::Worker::unchanged |
( |
const fs::path & | source, |
|
|
const Json & | job ) |
|
inlineprivate |
Recheck source identity before modifying map state.
- Parameters
-
| source | Current source path. |
| job | Discovery record containing the expected identity. |
- Returns
- True on a match; false when a changing input can be deferred.
Reject an identity change while resuming a pending photo: some tiles may already incorporate the original input.
Definition at line 1691 of file pangea.cpp.
◆ align_images
| bool pangea_detail::Worker::align_images = false |
|
private |
◆ allow_prompt
| bool pangea_detail::Worker::allow_prompt = false |
|
private |
◆ input
| fs::path pangea_detail::Worker::input |
|
private |
◆ max_map_side
| int pangea_detail::Worker::max_map_side = 8192 |
|
private |
◆ output_lock
◆ process_lock
◆ profile_asked
| bool pangea_detail::Worker::profile_asked = false |
|
private |
◆ references
◆ resources
◆ root
| fs::path pangea_detail::Worker::root |
|
private |
◆ state
| Json pangea_detail::Worker::state |
|
private |
The documentation for this class was generated from the following file: