How to plot the face image in matlab?

4 views (last 30 days)
Hi All,
I am a newbie and matlab and I have just started working on 3d face recognition using histogram based features. I am using gavab db.
I extracted the data from the .wrl files using read_vrml() function. Now I cannot plot the image. I converted the cartesian coordinates into spherical coordinates and then tired to form the mesh grid using the meshgrid() fucntion. But I get this error message.
Error using repmat Out of memory. Type HELP MEMORY for your options.
Error in meshgrid (line 58) xx = repmat(xrow,size(ycol));
The input vectors to meshgrid are 12046x1 double vectors. Hence I cannot effectively form a meshgrid and plot the 3d face in matlab.
Please suggest a simple way to plot a the data so that I can actually plot an image that looks like a face.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!