Prev: matlab code for calculating hilbert marginal spectrum of a signal
Next: matlab function variable to workspace
From: kunal varaiya on 17 Apr 2010 13:11 Hello Everyone, I have 460 images in datasets, and i wanna take image from 300 to 350 i took it also , but , tmp=reshape(images(y,x,:),1,NIMAGES); (its not working properly ), some error is coming , because i used this function before ,that time i started image from 1 to 25 , then its working good, but when i took 300 to 350 that time its not working , how can i solve this problem.... please help me for that!!!!!!!!!!
From: ImageAnalyst on 18 Apr 2010 15:22
"kunal varaiya" Help you how? You posted no error message. Are you running out of memory? I have no idea. Check the argument descriptions for reshape - I don't think you're using them properly. You're apparently trying to get all pixels from all images into a 1D vector. Why? Why use reshape? Why not just use image(y,x,:) and be done with it? |