mapping image using pixel values

5 views (last 30 days)
Imran Riaz
Imran Riaz on 1 Aug 2022
Answered: DGM on 8 Jan 2024
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 Comments
Walter Roberson
Walter Roberson on 1 Aug 2022
What should be displayed in the area that is currently black ?
Image Analyst
Image Analyst on 1 Aug 2022
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.

Sign in to comment.

Answers (1)

DGM
DGM on 8 Jan 2024
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.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!