Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FeaturesViewer] Refactoring data/display from FeaturesViewer #8

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ MTracks {
id: tracks
matchingFolder: "/path/to/FeatureMatching/UID/”
}
```

- Create a `MFeatures` object to get access to all features data:

```js
MFeatures {
viewId: 101245654
describerTypes: ["sift", "akaze"]
featureFolder: "/path/to/features/folder"
mTracks: tracks
mSfmData: sfmData
}
```

- Create a `FeaturesViewer` to visualize features position, scale, orientation and optionally information about the feature status regarding tracks and SfmData.
Expand All @@ -62,13 +74,10 @@ MTracks {
FeaturesViewer {
colorOffset: 0
describerType: "sift"
featureFolder: "/path/to/features/folder"
mTracks: tracks
viewId: 101245654
color: “blue”
landmarkColor: “red”
displayMode: FeaturesViewer.Points
mSfmData: sfmData
mdescFeatures: mfeatures.allFeatures(describerType)
}
```

Expand All @@ -95,14 +104,14 @@ MViewStats {

```js
FloatImageViewer {
source: "/path/to/image
gamma: 1.0f
source: "/path/to/image"
gamma: 1.0f
offset: 0.0f
width: 500
height: 540
paintedWidth: 500
paintedHeight: 540
channelMode: “rgb”
channelMode: “rgb”
}
```

9 changes: 6 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@ set(PLUGIN_SOURCES
MSfMData.cpp MViewStats.cpp
MTracks.cpp
FloatImageViewer.cpp FloatTexture.cpp
MSfMDataStats.cpp)
MSfMDataStats.cpp MFeatures.cpp
MDescFeatures.cpp)
set(PLUGIN_HEADERS
FeaturesViewer.hpp
plugin.hpp
MFeature.hpp MSfMData.hpp
MTracks.hpp
MViewStats.hpp
FloatImageViewer.hpp FloatTexture.hpp
MSfMDataStats.hpp)
MSfMDataStats.hpp MFeatures.hpp
MDescFeatures.hpp)
set(PLUGIN_MOCS
FeaturesViewer.hpp MFeature.hpp
MSfMData.hpp MViewStats.hpp
MTracks.hpp
MSfMDataStats.hpp)
MSfMDataStats.hpp MFeatures.hpp
MDescFeatures.hpp)

# Target properties
add_library(qtAliceVisionPlugin SHARED
Expand Down
Loading