Image gradient sampling grid
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, everyone. I am having a difficulty with my project in MATLAB. I really do not understand this concept of sampling grid and from the circle to R. Thank you for any help in advance! Here is the question:
Id is a discrete grayscale image of size N^2, thus an element of R N^N. This discrete image Id can be viewed as sampling on regular grid of a function I from the square [-1,1]^2 to R, with the grid spacing being h=2/(N-1) in both directions. How to compute I from Id?
댓글 수: 0
답변 (1개)
Image Analyst
2016년 1월 7일
You never said what the badly-named "I" is, so I don't know how to compute it from Id.
All the rest of the question is just a bunch of mathematical mumbo jumbo that really doesn't amount to anything except to allow the author to impress himself. Trust me, you can safely ignore it.
댓글 수: 2
Image Analyst
2016년 1월 8일
Not sure what that means. A digital image is an array with rows and columns. A real image is just a bunch of light (or whatever). Not sure if you want to interpolate a different number of pixels, or if you want some kind of spatial calibration system that keeps track of the real-world (x,y) given the (column, row) indexes. For example element (1,1) corresponds to x=-1 and y=-1, and element (480, 1) (last row of a 480x640 image) corresponds to x=-1, y=+1, and element (480,640) corresponds to x=1, y=1. If so, you'll have to keep track of the spatial calibration factor(s) separately whenever you want to convert from real world coordinates to indexes.
See my spatial calibration demo, attached.
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!