[WIP] New photometric VS features + improvements to vpFeatureLuminance #1359
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces new visual servoing features, taken from the papers of Eric Marchand and readapted from his code.
These features are PCA and DCT compressed representations of the luminance information.
In terms of implementation, new classes are introduced:
vpFeatureLuminanceMapping
a visual servoing feature, which combines avpFeatureLuminance
object with avpLuminanceMapping
subobject. This is the feature that is given tovpServo
vpLuminanceMapping
, a common interface for mappings that operate on luminance information. amap
method computes a vector representation from the image. Theinverse
method, converts this vector back to an image, with some information loss. Finally, theinteraction
method computes the Jacobian, given the image, the compressed representation and the photometric Jacobian (computed beforehand byvpFeatureLuminance
when used with thevpFeatureLuminanceMapping
)vpLuminanceMapping
interface has two implementations:vpLuminancePCA
andvpLuminanceDCT
. they can be used interchangeably invpFeatureLuminanceMapping
Before this PR is complete, several things are lacking:
vpFeatureLuminance