필터 지우기
필터 지우기

how to use image pixel values to store in array form in x and y coordinates??

조회 수: 9 (최근 30일)
i have 256*256 size image, now i want to store these image values in array form in x and y coordinates. There is any way in matlab to code this problem. please tell me the solution. How i can do this?

채택된 답변

Image Analyst
Image Analyst 2022년 4월 12일
Not sure what you mean, but the attached code will save your image in a matrix like
[r, g, b, x, y]
one row for every pixel. If that's not what you want, give an example after you read this:
  댓글 수: 2
DGM
DGM 2022년 4월 12일
How is that different than indexing into the array using basic subscripts? If there is a specific nontrivial thing you want, you have to describe it.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by