Question

How to do this pre-allocation without loop

how to write the following pre-allocation without for-loop? i.e. using one line code? for i = 1:size (Samples, 2) ...

3 years ago | 1 answer | 0

Question

How to use "imhistmatch" for 3D images?

I have two 3D images of different size. a = 120 x 120 x 80 b = 192 x 192 x 120 how can I use imhistmatch or another m...

3 years ago | 0 answers | 0

Question

How to split a 3d matrix into sub-3d matrices?

How can I split e.g. a 100x100x100 matrix into non-overlapping (neighbouring) smaller matrices 10x10x10? or how to use mat2cell ...

3 years ago | 2 answers | 0

Question

How to Normalize a matrix between 0-1 containing NaNs?

Can anyone help me please to normalize a matrix between 0-1 which contains NaNs? the following makes whole the matrix zero ...

3 years ago | 3 answers | 1

Question

How to plot a 3D DICOM image in millimetre (mm) knowing the voxel size?

How can I change the axis to physical units when I plot a 3D dicom image? for example, the DICOM image has dimensions of 200x20...

4 years ago | 2 answers | 0

Question

How to plot a 3D bounding box (with specific size) around a 3D point?

How can I plot a specific size 3D bounding box (cube) around a 3D point? For example, the coordinate of the point is (10,5,10) a...

4 years ago | 3 answers | 0

Question

How to extract a cube from a 3D volume/matrix?

if we assume the starting point of a cube is up-left corner, 3D_vol(Start_x : Start_x + SizeX-1, Start_y : Start_y + SizeY-...

4 years ago | 1 answer | 0

Question

how to do leave-one-out cross validation of samples in cells

Given a cell array C {1x *50*}, how can I create leave-one-out loop such that in each of the *50* loops a different cell is "rem...

4 years ago | 1 answer | 0

Question

How to find all possible small boxes e.g. 2x2x2 and their overlaps within a bigger NxNxN cube?

Given an NxNxN cube (image), how can I find all the 2x2x2 boxes within the NxNxN cube? of course if N is even, we can find 2x2x2...

4 years ago | 0 answers | 0

Question

How to reverse this normalization?

Can any one help me please to reverse the following normalization? image_normalized = uint8(255*mat2gray(image)); This c...

4 years ago | 1 answer | 0

Question

How to manually segment a part of 3D medical image?

Hello, Given a 3D DCIOM image, how can I *manually* segment a part (e.g. tumour) of the image to save and do further processi...

4 years ago | 1 answer | 0

Question

Multi-feature matrix regression?

Hi, can anyone help to get the following regression done? X is the *input* multi-dimension matrix (e.g. 90 rows * 20 columns)...

4 years ago | 3 answers | 0