|
Science Forum Index » Image Processing Forum » projection function
Page 1 of 1
|
| Author |
Message |
| otherside |
Posted: Sat Nov 11, 2006 7:05 am |
|
|
|
Guest
|
Hi to all, I have a problem in one of my courses but I couldn't find
the correct code. I need help with the projection function. I must take
the projection of images at each angle that I want but I am not allowed
to use image processing funcitons of Matlab. (imrotate...etc) If you
help me I would be appreciated. thanks... |
|
|
| Back to top |
|
| ImageAnalyst |
Posted: Sun Nov 12, 2006 11:56 am |
|
|
|
Guest
|
Come on now...the math to do a subsampling of an image along a line at
some arbitrary angle to the image matrix is not very hard. It really
isn't. Find a book on second year algebra if you need to. Simple
bilinear interpolation to get line values and then summing along the
line will do it. In 3D it's a little more complicated but the same
process should work. You'll spend less time doing the math yourself
than trying to find something on the web and adapting it. You'll
probably learn more too. And anyway, I don't know the intent of your
homework - if you were supposed to code it yourself or if this was a
small part of a larger problem that you were allowed to solve in
absolutely anyway you wanted, including web searches and borrowing
code. If you're not allowed to use MATLAB then you're probably not
allowed to use someone else's code either.
ImageAnalyst
otherside wrote:
Quote: Hi to all, I have a problem in one of my courses but I couldn't find
the correct code. I need help with the projection function. I must take
the projection of images at each angle that I want but I am not allowed
to use image processing funcitons of Matlab. (imrotate...etc) If you
help me I would be appreciated. thanks... |
|
|
| Back to top |
|
| |