h_im = imshow(img);
e = imellipse(gca,[55 10 120 120]);
BW = createMask(e,h_im);
h = fspecial('unsharp');
I2 = roifilt2(h,img,BW);
figure, imshow(I2);
2.*)Stuck in the solution for filtering sample HDRI example? * P = hdrread('HDR');
imshow(P);
R = tonemap(P);
figure, imshow®;
whos
imageSizeX = 3000;
imageSizeY = 1500;
imageSizeZ = 3;
centerX = 1500;
centerY= 750;
centerZ= 1.5;
[columnsInImage rowsInImage pagesInImage] = meshgrid(1:imageSizeX, 1:imageSizeY,1:imageSizeZ);
radius = 300; sphereVoxels = (rowsInImage - centerY).^2 ... + (columnsInImage - centerX).^2 + (pagesInImage - centerZ).^2 <= radius.^2;
fv = isosurface(sphereVoxels,0);
patch(fv,'FaceColor',[0 0 .7],'EdgeColor',[0 0 1]);
figure, view(90,90);
axis equal;
#2. Does 3D mean color or volumetric? And what does "not lose properties" mean? A filtered image will have different properties than the input image - at least SOME of them must be different or else the filter didn't do anything. And I have no idea what all that isosurface and patch stuff is for. What does that have to do with filtering color or volumetric images?
Why not just mask your image:
% Mask the image. maskedRgbImage = bsxfun(@times, rgbImage, cast(mask,class(rgbImage)));
Matlabsolutions.com provides guaranteed satisfaction with a
commitment to complete the work within time. Combined with our meticulous work ethics and extensive domain
experience, We are the ideal partner for all your homework/assignment needs. We pledge to provide 24*7 support
to dissolve all your academic doubts. We are composed of 300+ esteemed Matlab and other experts who have been
empanelled after extensive research and quality check.
Matlabsolutions.com provides undivided attention to each Matlab
assignment order with a methodical approach to solution. Our network span is not restricted to US, UK and Australia rather extends to countries like Singapore, Canada and UAE. Our Matlab assignment help services
include Image Processing Assignments, Electrical Engineering Assignments, Matlab homework help, Matlab Research Paper help, Matlab Simulink help. Get your work
done at the best price in industry.