photo

Steve Francis


Last seen: 3 days ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3
  • Thankful Level 2

View badges

Feeds

View by

Question


Finding contiguous regions of interest in a mask and calculating the mean values of those regions when the mask is applied to an array
I have a 2-d logical array (1024 rows, 1280 columns) that contains 12 "islands" of 1s in a sea of 0s. I can label the islands us...

13 days ago | 2 answers | 0

2

answers

Question


Removing Gaussian noise from an image (method comparison)
Can someone give me a steer on the best way to remove random speckle from a monochrome image? I have a series of 16-bit monochr...

2 months ago | 0 answers | 0

0

answers

Answered
Apply 2-D logical mask to obtain masked third dimension values in 3-D array
(Can you answer your own question?) This seems to work without the loops. Is there a better approach? % Set up the example 3-D...

5 months ago | 0

Question


Apply 2-D logical mask to obtain masked third dimension values in 3-D array
This is difficult to describe in words so I have given an example below. I have a 3-D array. Some of the values are NaNs (althou...

6 months ago | 2 answers | 0

2

answers

Question


How to combine three colour channels into the 'best' sRGB representation using a colour checker chart?
There is probably no 'right' answer for this but I would appreciate some advice from image experts! I have a 16-bit 1280 x1024 ...

12 months ago | 1 answer | 0

1

answer

Question


Convert an array of numbers into a color mapped image
I have a 2-d array of integers. It has 1024 rows and 1280 columns. The integers are whole numbers in the range 1-12. I want to ...

2 years ago | 1 answer | 0

1

answer

Question


Correct array dimensions for 'sam' function?
I have an array (called 'DataCube') that has size [1024, 1280, 427]. It was formed from 16-bit images of a 2-d scene (1280x1024 ...

2 years ago | 0 answers | 0

0

answers

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

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

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

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

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

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

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

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

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

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

4 years ago | 3 answers | 0

3

answers