# Eric Chadwick

**Statistics**

RANK**18,305**

of 287,442

REPUTATION**2**

CONTRIBUTIONS

**14** Questions

**1** Answer

ANSWER ACCEPTANCE **
42.86%
**

VOTES RECEIVED**2**

RANK

of 19,404

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 141,103

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Faster alternative to mode?

Simple as that, in my code I am first determining the neighbourhood of a voxel and then determining the most frequent value in t...

4 years ago | 2 answers | 1

### 2

answersQuestion

Fastest way to replace values in an array if they equal a certain value?

Hello, I have a very large array (4 billion x 2). I frequently need to update the values in column two based on a value from an...

4 years ago | 1 answer | 0

### 1

answerQuestion

Return index output of bwdistgeodesic?

As the title reads, I would like to use bwdistgeodesic by providing a volume and seed locations. Currently, this function return...

5 years ago | 1 answer | 1

### 1

answerQuestion

Find closest non-zero pixel, but only travel through pixels of value zero?

I would like to find the closest non-zero pixel to many points in my 3D image as per [~,Idx] = bwdist(volume), except with the c...

5 years ago | 1 answer | 0

### 1

answerQuestion

Knnsearch but only return values that are fully connected to one another?

Is there a quick way to filter the output of knnsearch such that only coordinates that would form a cluster are returned? When I...

5 years ago | 1 answer | 0

### 1

answerQuestion

Efficient way to remove objects that are partially surrounded by other objects?

Hello, I have a 3D image that I have separated into several objects that touch eachother. Most of these objects are cylinders t...

5 years ago | 0 answers | 0

### 0

answersQuestion

Fastest way to find number of times a number occurs in an array?

As simple as that. I am currently using sum(array(:,2) == N) which I am told is faster than using the find function. Is there an...

5 years ago | 3 answers | 0

### 3

answersQuestion

Memory efficient way to remove spurious edges of a skeleton?

Hello, Basically I am looking for a way to achieve what this answer achieves https://www.mathworks.com/matlabcentral/answers/88...

5 years ago | 1 answer | 0

### 1

answerQuestion

How to detect circularity more accurately than 4*pi*A/P^2?

Hello, I have noticed when calculating circularity using the above formula I frequently get values greater than 1. I have done ...

5 years ago | 2 answers | 0

### 2

answersQuestion

Connect disconnected boundaries of objects?

Hello, I have segmented a histology slide of a lung and I am trying to label individual airways using bwlabel. The segmentation...

5 years ago | 1 answer | 0

### 1

answerQuestion

Syms variable cannot be classified?

In the code below, the variable Qv cannot be classified, and I have no idea why. From the documentation at https://www.mathworks...

5 years ago | 1 answer | 0

### 1

answerQuestion

Is it possible to set a maximum size of watershed regions? Or easily divide the regions after watershedding?

I am doing some cell segmentation. I have a code that finds groups of cells with fairly high accuracy. Once the regions are foun...

5 years ago | 1 answer | 0

### 1

answerGetting many outputs using blockproc

Hello, thank you both for responding so quickly! My function does have outputs, I just did not show them when I showed my functi...

6 years ago | 0

Question

Set default visibility of figures to 'on' not working!

Hello, I am using set(0,'DefaultFigureVisible','off') to hide figures that are created during my script. I want to plot thing...

6 years ago | 2 answers | 0

### 2

answersQuestion

Sort coordinates based on closest connectivity?

Hello, I have an nx3 array representing x,y,z coordinates in space. These coordinates are all connected and represent a tortu...

6 years ago | 1 answer | 0