File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -889,6 +889,9 @@ class CV_EXPORTS_W AKAZE : public Feature2D
889889 @param nOctaveLayers Default number of sublevels per scale level
890890 @param diffusivity Diffusivity type. DIFF_PM_G1, DIFF_PM_G2, DIFF_WEICKERT or
891891 DIFF_CHARBONNIER
892+ @param max_points Maximum amount of returned points. In case if image contains
893+ more features, then the features with highest response are returned.
894+ Negative value means no limitation.
892895 */
893896 CV_WRAP static Ptr<AKAZE> create (AKAZE::DescriptorType descriptor_type = AKAZE::DESCRIPTOR_MLDB,
894897 int descriptor_size = 0 , int descriptor_channels = 3 ,
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public void testWriteYml() {
5858
5959 extractor .write (filename );
6060
61- String truth = "%YAML:1.0\n ---\n format: 3\n name: \" Feature2D.AKAZE\" \n descriptor: 5\n descriptor_channels: 3\n descriptor_size: 0\n threshold: 1.0000000474974513e-03\n octaves: 4\n sublevels: 4\n diffusivity: 1\n " ;
61+ String truth = "%YAML:1.0\n ---\n format: 3\n name: \" Feature2D.AKAZE\" \n descriptor: 5\n descriptor_channels: 3\n descriptor_size: 0\n threshold: 1.0000000474974513e-03\n octaves: 4\n sublevels: 4\n diffusivity: 1\n max_points: -1 \ n " ;
6262 String actual = readFile (filename );
6363 actual = actual .replaceAll ("e([+-])0(\\ d\\ d)" , "e$1$2" ); // NOTE: workaround for different platforms double representation
6464 assertEquals (truth , actual );
You can’t perform that action at this time.
0 commit comments