FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-23-2009, 05:41 PM
Sylvia
Guest
 
Posts: n/a
Default imresize in 3D

Hello,

I want to resize an image from 3D smaller dimension to larger dimension
i.e for example from 40x40x30 to 40x120x90. The normal matlab function jus
resizes image in 2D.

Thanks
Reply With Quote
  #2 (permalink)  
Old 11-23-2009, 05:51 PM
Jerry Avins
Guest
 
Posts: n/a
Default Re: imresize in 3D

Sylvia wrote:
> Hello,
>
> I want to resize an image from 3D smaller dimension to larger dimension.
> i.e for example from 40x40x30 to 40x120x90. The normal matlab function just
> resizes image in 2D.


You'll probably need to write the function yourself. What kind of
interpolation do you plan to use?

If you really mean 40x[something] to 40x[something else], that's a 2D
resizing on each of 40 planes.

Jerry
--
Engineering is the art of making what you want from things you can get.

Reply With Quote
  #3 (permalink)  
Old 11-24-2009, 10:55 AM
Sylvia
Guest
 
Posts: n/a
Default Re: imresize in 3D

If I want to resize image from dimensions Nx x Ny x Nz to Na x Nb x Nc
where Nx, Ny and Nz are all different from Na, Nb and Nc respectively, no
if for each Nz index plane, i can resize Nx x Ny to Na x Nb dimension,
after this step I get dimensions Na x Nb x Nz, after that for each N
plane, I resize Nb x Nz to Nb x Nc. In the end I will have the resize
image Na x Nb x Nc. My question is: is this two step approach correct? an
other alternative?

Thanks

>Sylvia wrote:
>> Hello,
>>
>> I want to resize an image from 3D smaller dimension to large

dimension.
>> i.e for example from 40x40x30 to 40x120x90. The normal matlab functio

just
>> resizes image in 2D.

>
>You'll probably need to write the function yourself. What kind of
>interpolation do you plan to use?
>
>If you really mean 40x[something] to 40x[something else], that's a 2D
>resizing on each of 40 planes.
>
>Jerry
>--
>Engineering is the art of making what you want from things you can get.
>���������������� ���������������� ���������������� ���������������� ����
>

Reply With Quote
  #4 (permalink)  
Old 11-24-2009, 03:57 PM
Jerry Avins
Guest
 
Posts: n/a
Default Re: imresize in 3D

Sylvia wrote:
> If I want to resize image from dimensions Nx x Ny x Nz to Na x Nb x Nc
> where Nx, Ny and Nz are all different from Na, Nb and Nc respectively, now
> if for each Nz index plane, i can resize Nx x Ny to Na x Nb dimension,
> after this step I get dimensions Na x Nb x Nz, after that for each Na
> plane, I resize Nb x Nz to Nb x Nc. In the end I will have the resized
> image Na x Nb x Nc. My question is: is this two step approach correct? any
> other alternative?


When the details are exposed, probably not, but a nice library routine
could hide them. I haven't convinced myself that the final result isn't
dependent on the order of transformations.

Jerry
--
Engineering is the art of making what you want from things you can get.

Reply With Quote
  #5 (permalink)  
Old 11-25-2009, 05:41 AM
Michael Plante
Guest
 
Posts: n/a
Default Re: imresize in 3D

>Hello,
>
>I want to resize an image from 3D smaller dimension to larger dimension.
>i.e for example from 40x40x30 to 40x120x90. The normal matlab functio

just
>resizes image in 2D.
>
>Thanks
>


I'm not sure if it'll temporarily go float, but you might look a
interp3.

http://www.mathworks.com/access/help...f/interp3.html



Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Another question about Matlab "imresize" resolution conversion? kiki DSP 0 02-11-2005 06:51 PM


All times are GMT +1. The time now is 02:16 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved