Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks for the question! I think that manual convertion of an image to the needed type is one of the things that break the "features2d" idia about universal pipeline "detector-descriptor-matcher" with easy replacement of algorithms on each stage (including replacement color descriptor by the gray one and vise versa). We have to specify that Feature Detectors and Descriptor Extractors have to convert an image to their type in case of CV_8UC3 image themselves and guarantee this by unit test. I think we do it in the next revision. Now, Alexander is absolutely right, you should to do the manual convertion for safety.

Thanks for the question! I think that manual convertion of an image to the needed type is one of the things that break the "features2d" idia about universal pipeline "detector-descriptor-matcher" with easy replacement of algorithms on each stage (including replacement color descriptor by the gray one and vise versa). We have to specify that Feature Detectors and Descriptor Extractors have to convert an image to their type in case of CV_8UC3 image themselves and guarantee this by unit test. I think we do it in the next revision. revision.

Now, Alexander is absolutely right, you should to do the manual convertion for safety.

click to hide/show revision 3
No.3 Revision

Thanks for the question! I think that manual convertion of an image to the needed type is one of the things that break the "features2d" idia idea about universal pipeline "detector-descriptor-matcher" with easy replacement of algorithms on each stage (including replacement color descriptor by the gray one and vise versa). We have to specify that Feature Detectors and Descriptor Extractors have to convert an image to their type in case of CV_8UC3 image themselves and guarantee this by unit test. I think we do it in the next revision.

Now, Alexander is absolutely right, you should to do the manual convertion for safety.

Thanks for the question! I think that manual convertion of an image to the needed type is one of the things that break the "features2d" idea about universal pipeline "detector-descriptor-matcher" with easy replacement of algorithms on each stage (including replacement color descriptor by the gray gray-scale one and vise versa). We have to specify that Feature Detectors and Descriptor Extractors have to convert an image to their type in case of CV_8UC3 image themselves and guarantee this by unit test. I think we we'll do it in the next revision.

Now, Alexander is absolutely right, you should to do the manual convertion for safety.