webarkit / jsfeatNext

Typescript version of jsfeat with typescript definitions.
GNU Lesser General Public License v2.1
8 stars 2 forks source link

Implementing matmath class and other improvements #2

Closed kalwalt closed 2 years ago

kalwalt commented 2 years ago

In this PR i will implement these classes:

I am refactoring part of the code, for example jsfeatNext.cache is not extended internally in the jsfeatNext.js but it is imported outside from an external class. This make coding a lot easier and avoid some pitfalls. Actually for every classes jsfeatNext is imported (circular import!) i would avoid this and instead create separate classes or function to be imported for every functionality.

I refactored the code and plus i added a new JSFEAT_CONSTANTS where store all constants, and data_type that include the three functions _get_data_type _get_channel _get_data_type_size. Other classes added: