mapping image using pixel values

I have finger image; after cropping and masking I have now masked image. And there is the black area which shows no information; my task is to remapp the image into new pixel values image which have only information.
How can I do using matlab?

4 件のコメント

Walter Roberson
Walter Roberson 2022 年 8 月 1 日
Want should happen to the black area around the finger ?
It is not possible to create a data array that has "holes" in it .
It is possible to create rectangular data arrays that draw in such a way that anything "underneath" shows through. In the case of a simple image displayed with nothing behind it, this would be equivalent to filling in those black pixels with the background color of the axes .
Imran Riaz
Imran Riaz 2022 年 8 月 1 日
I share my image here. Task is to create new image which have only pixel information not the black area.
Walter Roberson
Walter Roberson 2022 年 8 月 1 日
What should be displayed in the area that is currently black ?
Image Analyst
Image Analyst 2022 年 8 月 1 日
You have pixels with information in them. The black pixels can be ignored. There is no need to crop them off or replace them with anything. It's just not necessary for whatever you want to do next. Besides, it's not possible to have a matrix with "ragged" edges - it must remain rectangular.

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

回答 (1 件)

DGM
DGM 2024 年 1 月 8 日

0 投票

This question is one in a long set of unclear questions which together likely form an XY problem.
This is a rough summary of a large portion of the set of given questions, with some examples.

カテゴリ

ヘルプ センター および File ExchangeImages についてさらに検索

製品

リリース

R2022a

質問済み:

2022 年 8 月 1 日

回答済み:

DGM
2024 年 1 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by