Community Profile

photo

Sheshjee


Active since 2012

Statistics

Content Feed

View by

Question


this code divides an image into cell array. My question is these cell arrays are actually blocks or something else. If it is block, then how i combine all these blocks again to form the original image. Thanks for help.
% The first way to divide an image up into blocks is by using mat2cell(). blockSizeR = 150; % Rows in block. blo...

11 years ago | 1 answer | 1

1

answer

Question


This code divides an image into foreground and background . After that i calculated the threshold value, and varVariance. It gives an error at If varVlues> Th , Cell contents reference from a non-cell array object."
rgbImage = imread('cameraman.tif'); [r,c]=size(rgbImage); w = size(rgbImage,1); h = size(rgbImage,2); imshow(rgbImag...

11 years ago | 1 answer | 0

1

answer

Question


getting an error.. ??? Attempt to reference field of non-structure array.
??? Attempt to reference field of non-structure array. Error in ==> masking at 12 binaryImage = hFH.createMask();

11 years ago | 0 answers | 0

0

answers

Question


??? Attempt to reference field of non-structure array. Error in ==> Untitled2 at 36 binaryImage = hFH.createMask();
% Demo to have the user freehand draw an irregular shape over % a gray scale image, and burn the curve points into the imag...

11 years ago | 0 answers | 0

0

answers