Question

MATLAB has encountered a problem when calling a MEX-file

Hi. I am calling a MEX-file (.mexw64) on Windows 10, MATLAB 2018b, and MATLAB is crashing. This is a 'well-developed' code and i...

7 months ago | 0 answers | 0

Question

Plotting curved confidence intervals for linear regression

I am using |coefCI| function to estimate the confidence intervals of a linear model. I can plot this and get linear confidence b...

1 year ago | 1 answer | 1

Question

Nonlinear least-squares fitting of curve described by PDEs

Hi people. I would like to fit a curve described by a system of two 2nd degree partial differential equations (PDEs) using |lsqn...

2 years ago | 1 answer | 0

Question

Skip lsqnonlin run if error

Hi guys. I am using |lsqnonlin| for some fitting, and I am running a loop where I change the initial parameter values to determi...

2 years ago | 1 answer | 0

Question

Remove lines outside plotted circle

Hi people. I am plotting a circle using the rectangle function and then I am plotting several lines in the same plot using th...

2 years ago | 0 answers | 1

Question

Save grayscale multipage TIFF without affecting intensity values

I feel like this has a very simple solution but I can't find it! I load some TIFF stacks of the same size, estimate the mean sta...

4 years ago | 0 answers | 0

Question

Connectivity in binary 3D matrix

I am using bwconncomp to find the largest connected component in a 3D binary matrix (volume). However, it doesn't work the way I...

4 years ago | 1 answer | 1

Question

Abort roipoly in GUIDE

I created a GUI with axes that show the "slices" of a 3D matrix ( _vol_); a slider is used for skipping through the slices. In t...

4 years ago | 1 answer | 0

Question

How to find the "true" perimeter of objects in a binary image?

Say, there is an object consisting of 3 pixels next to each other (■■■). If I calculate the perimeter using sum(sum(bwperi...

4 years ago | 1 answer | 0

Question

Sort clusters using K-means by intensity

Hello everyone. I am using K-means to segment some grayscale images. Unfortunately, the values of the generated clusters are no...

4 years ago | 1 answer | 1

Question

GUI error: Undefined function 'A_GUI' for input arguments of type 'char'.

Ok, I know this might not have been the best thing to do, but I created a GUI (say A_GUI) and accompanying m functions to do som...

4 years ago | 1 answer | 0

Question

Identify similarly named images from different folders

Lets say I have folder A with five images (named: '5', '2', 'pic', '4', 'photo'), and another folder B with two images (named: '...

4 years ago | 1 answer | 0

Question

Distance measurement using edge detection

Hi all, I would like to have an expert opinion on this problem. We use a simple rectangular phantom to perform quality assessme...

4 years ago | 2 answers | 0

Answered

Overlay two images of different type

Thanks for your suggestions guys. After some experimentation, I have eventually found out how to do exactly what I needed (and i...

Overlay two images of different type

Thanks for your suggestions guys. After some experimentation, I have eventually found out how to do exactly what I needed (and i...

4 years ago | 0

| accepted

Question

Call a portion of one function from another one

I wrote a relatively large code for analyzing an image, which contains several smaller functions that are called in a big loop. ...

5 years ago | 1 answer | 0

Question

Overlay two images of different type

I have a uint8 image and another logical image of the same dimensions, containing edges found from the first one. I want to make...

5 years ago | 5 answers | 0

Question

Defining multiple arrays at once?

I am writing a code which requires a few zero arrays of the same dimension for a summation process in a loop, and I was wonderin...

5 years ago | 1 answer | 1

Answered

creating 3d array from images

By the way, what's the best way for including the I=cat(...) into the loop? Thanks.

creating 3d array from images

By the way, what's the best way for including the I=cat(...) into the loop? Thanks.

5 years ago | 0

Answered

creating 3d array from images

Thanks for the help guys! It solved the problem. Yes, C3 was a typo. It really is strange though, because B1 was not defined an...

creating 3d array from images

Thanks for the help guys! It solved the problem. Yes, C3 was a typo. It really is strange though, because B1 was not defined an...

5 years ago | 0

Question

creating 3d array from images

Hello, I am trying to read and copy a series of 5 images into a 3d array, where each image should have a 'thickness' of 13 pixel...

5 years ago | 4 answers | 0