- how you are importing the image into matlab
- what class you store it as
- how you are changing the colour of those coordinates
- what you mean by different type of image
I have an Image shown below as 'a' ,after extracting co-ordinates of certain pixels , based on some specified criteria. when I am changing the colour of those coordinates in oriinal image I am getting different type of image.? ,
조회 수: 1 (최근 30일)
이전 댓글 표시
댓글 수: 1
Guillaume
2017년 11월 22일
You have not provided enough information for us to help. We don't know:
채택된 답변
Image Analyst
2017년 11월 22일
Looks like a classic beginner mistake of thinking (x,y) is the same as (row, column). Matrices take indexes as (row, column) NOT (x,y), which you probably used. (x,y) is really (column, row) which is not how arrays index their values. Instead try (y,x):
m(y, x) = .....
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!