Community Profile

photo

Steve Francis


Last seen: 4 mesi fa Attivo dal 2021

Statistics

  • Thankful Level 3
  • Thankful Level 2

Visualizza badge

Content Feed

Visto da

Domanda


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 ...

4 mesi fa | 1 risposta | 1

1

risposta

Domanda


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 ...

4 mesi fa | 1 risposta | 0

1

risposta

Domanda


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...

5 mesi fa | 2 risposte | 0

2

risposte

Domanda


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...

6 mesi fa | 1 risposta | 0

1

risposta

Domanda


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...

6 mesi fa | 2 risposte | 0

2

risposte

Domanda


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,...

6 mesi fa | 2 risposte | 0

2

risposte

Domanda


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...

6 mesi fa | 1 risposta | 0

1

risposta

Domanda


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 ...

circa un anno fa | 2 risposte | 0

2

risposte

Domanda


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...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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 ...

circa 2 anni fa | 0 risposte | 0

0

risposte

Domanda


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...

circa 2 anni fa | 3 risposte | 0

3

risposte