Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Ads

Discussion Groups

Discussion Groups | Matlab DSP | resolution

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

resolution - yusra al-najjar - May 9 15:55:36 2008



            

Sir,

 

How can I change the resolution of a bitmapped image from 390x350 to 200x200 inside a matlab .m file

 

thanks




(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

Re: resolution - Raja' Alomari - May 12 6:22:49 2008

Hi Yusra,
It looks like you only need to resize the image !! If that is the 
case, then use imresize:

To resize your image "IM" to the size 200x200

Result = imresize(IM, [200,200]);

Best regards,
Raja'

----------------------------------
On Fri, May 9, 2008 at 1:37 PM, yusra al-najjar <u...@yahoo.com> 
wrote
Sir,
 
How can I change the resolution of a bitmapped image from 390x350 to 
200x200 inside a matlab .m file
 
thanks


(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

Re: resolution - luis...@yahoo.com - May 12 6:22:58 2008

Yusra,

you may use this function:

new_image = imresize(image, [200 200],'Antialiasing',true)
You have to set the parameter 'Antialiasing' true in order to avoid posible aliasing
(basically, it is a low-pass filtering after downsampling). 

Best regards.
>  
>  
>
>  
>
>  
>  
>  
>  
>
>      
>                      Sir,  
>  �  
>  How can I change the resolution of a bitmapped image from 390x350 to 200x200 inside a
matlab .m file  
>  �  
>  thanks          
>  
>        
>
>      
>        
>	  
>	  
>	  
>	  
>  
>  
>  
>  
>	  
>  
>  
>  
>  
>	  
>	  
>	  
>	  
>	  
>	  
>	    

------------------------------------



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )