You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: image_mesh.m
    path of file: ./repos/gptoolbox/mesh
    
    the code of the file until where you have to start completion: function [V,F,VC,FC] = image_mesh(filename,m)
  % IMAGE_MESH Given a path to .png file, create a mesh within the α>½ region of
  % the image with triangles placed economically so that per-vertex colors will

    
function [V,F,VC,FC] = image_mesh(filename,m)
  % IMAGE_MESH Given a path to .png file, create a mesh within the α>½ region of
  % the image with triangles placed economically so that per-vertex colors will
  % look reasonable.
  % 
  % Input:
  %   filename  path to .png file
  %   m  number of output triangles
  % Outputs:
  %   V  #V by 2 list of 2D vertex positions
  %   F  #F by 3 list of triangle indices into V
  %   VC  #V by 3 list of vertex colors
  %   FC  #F by 3 list of face colors
  %
  % See also: bwmesh
  %

  [im,M,A] = imread(filename);
  if ~isempty(M)
      im = ind2rgb(im,M);
  end