Hello, after long research I found out, that I need the function bwconvhull for my code, but my company's Matlab version doesn't have it (Version 7.11.1, from 2010). Upgrade is not helpful, since my collegues also have to use the code with their "old" version.
Basically my problem is: I have left a few objects in my binary image and want to make ONE good fitting boundary around ALL those white, disconnected areas. I guess bwconvhull would do it as I wanted. What else can I try?
subplot(2, 4, 7);
whos binaryImage
binaryImage = bwconvhull(binaryImage, 'union');
which bwconvhull
imshow(ConvHull);
title('Union Convex Hull');
gives
??? Undefined function or method 'bwconvhull' for input arguments of type 'char'.
Also, if possible, I would like to have a slider below the figure of my picture (which already shows the hull), where i can choose the "radius" of my hull. When i connect two circles, I would like to be able to change how much the hull tightens between the circles, either it will be one ellipse (you cannot see the original circles anymore) or basically two circles connected with one line. (Doing omething similar as bwareaopen etc.) Hope you understand what I mean - see picture. The slider should be below the picture, at bottom part of (2,4,7). Some slider callback?
Thank you for any help.