Ground truth of road sign as look-up table

1 回表示 (過去 30 日間)
Keunwook Chung
Keunwook Chung 2022 年 4 月 19 日
回答済み: Shlok 2024 年 12 月 4 日
To whom it may concern,
I am wondering how a look-up table can be formulated in Simulink.
The data consists of lat. long. and corresponding informations as below..
col1 (lat) col2(long.) road sign index info
37.35 128.38 1
37.36 129.25 3
.... ....
What I am intending is to find the closest corresponding road sign index info based on latitude & longitude received from GPS. Could anyone give me some tip which type of look-up table should be used?
Best regards,
KW

回答 (1 件)

Shlok
Shlok 2024 年 12 月 4 日
Hi Keunwook,
A 2D Lookup Table would be most suitable in finding the closest corresponding road sign for a particular latitude and longitude. This lookup table will have two input parameters i.e. latitude and longitude which can be configured using Breakpoints.
The lookup table can be configured as follows:
1. First set the "Number of table dimensions" to 2.
2. Then under "Table and Breakpoints", enter the data:
  • Set "Breakpoints 1" to the latitude values.
  • Set "Breakpoints 2" to the longitude values.
  • Enter the road sign index data in the "Table data" field.
3. Now go to the "Algorithm" tab and set "Interpolation method" as "Nearest" for discrete road signs.
Therefore, using a 2D Lookup Table with nearest neighbour interpolation will provide a quick access to the closest matching data point. This approach works for latest releases as well.
To know more about 2D Lookup Table” block, refer to the following documentation link:

カテゴリ

Help Center および File ExchangeVehicle Scenarios についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by