create 3d grid and quantize the 3D points

3 ビュー (過去 30 日間)
Aravin
Aravin 2022 年 1 月 27 日
編集済み: Aravin 2022 年 1 月 27 日
Hi everyone,
I have 3D points. Now I want to create a 3D cells/grid and quantize the points into that grid/cells. In case of 2D, lets assume, there is an image of size 6x6, and we create grid of 2 x 3, and all image points will be in those 2 x 3 grid. I want to make sure all ponits in original image should be quantized into 6 numbers. As shown in the Figure below;
  2 件のコメント
William Rose
William Rose 2022 年 1 月 27 日
Please provide an example of the 3D array you want to quantize into a grid. It is possible that interp2() will be useful for you. Provide the data you want to quantize. Thank you.
Aravin
Aravin 2022 年 1 月 27 日
Consider 2D example. There is an image with x,y coordinates. I want to create a grid of 2 x 3 and I want to make sure all ponits in original image should be quantized into 6 numbers. As shown in the Figure below;

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeModify Image Colors についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by