MATLAB: Turn a portion of a .tif image white

colorimageImage Processing Toolbox

I have to read in an image of an x-ray and turn a specific bone to white without affecting the other portions of my image. Currently I have a white rectangle covering the bone, but I am not sure how to make it cover only the bone specifically. Is there a way I can outline the bone and then fill it with white?

Best Answer

  • See attached demos.
  • Related Question