Community Profile

photo

Steve Francis


Last seen: 4 días ago Active since 2021

Statistics

  • Thankful Level 3
  • Thankful Level 2

View badges

Content Feed

View by

Question


Minimise memory requirements when importing many images
I am using imread to read in 430 monochrome (16-bit) images of resolution 1024x1280. I apply a common mask to each image, which ...

alrededor de 1 mes ago | 1 answer | 1

1

answer

Question


How can I subtract a 2-d array from every slice of a 3-d array?
A is a 512 x 512 x 200 array representing a stack of 200 monochrome images of resolution 512x512. d = size(A) d = 512 ...

alrededor de 1 mes ago | 1 answer | 0

1

answer

Question


How can I repeat a 2-D array to create a 3-D array?
A is a 2x3 array. I want to create a 3-D 'stack' so that each layer of the 3-D stack is identical to A. I've found that the foll...

alrededor de 1 mes ago | 2 answers | 0

2

answers

Question


Finding the first order derivative of a data series using the Savitzky-Golay filter.
I am trying to rewrite some Python code into a Matlab script. The input data to this code in a 2-D array called 'spectra' with e...

2 meses ago | 1 answer | 0

1

answer

Question


How to divide a 2d array into blocks and create an array with the mean value of each block?
Here's an 4x8 array.Three of its values are NaNs: B=zeros(4,8); B(1,:) = [1 3 4 3 10 0 3 4]; B(2,:) = [5 7 2 NaN 8 2 3 4]; B...

3 meses ago | 2 answers | 0

2

answers

Question


How to make a two-dimensional mask act on a three-dimensional array?
Here's a dummy three-dimensional array 'B' to illustrate the problem: A = 9* ones (6,4,3); % create a 3 dimensional array A(4,...

3 meses ago | 2 answers | 0

2

answers

Question


How can the script decide when to send a variable as a function input or not?
This is a question about MATLAB function inputs. In my case, I am using a function to process a grayscale image. The function m...

3 meses ago | 1 answer | 0

1

answer

Question


How can I use a logical array to remove and replace values in a corresponding data array?
I have an array A (1280 x 1024) that has some rogue values that I want to remove and replace with a linear interpolation of the ...

9 meses ago | 2 answers | 0

2

answers

Question


How to properly access values in an array, within a cell array, within a struct?
I have a struct called myStruct with 2 fields: Field Value light 4x2 cell dark 4x2 cell If I click on myStruct.ligh...

más de 1 año ago | 1 answer | 0

1

answer

Question


Is there an elegant way to read in a 16-bit image binary file row-by-row?
I have a number of 16-bit image files from a camera sensor which is 3860 pixels wide and 2178 pixels high. The pixel values are ...

más de 1 año ago | 0 answers | 0

0

answers

Question


Is there a limit to the number of elements in an array in Matlab
I have a binary file that comprises 16,814,160 bytes of 16-bit data in little endian format. I wish to open the file in Matlab a...

más de 1 año ago | 3 answers | 0

3

answers