Inviato

IsoSlicer

A GUI to help create transparent 3D isosurface maps of volumetric data.

oltre 6 anni fa | 1 download |

Risposto

I would like to import data from an STL file of a 3D object to MATLAB and create a 2D contour plot of it. Does anyone have any ideas about this? Thanks!

STL files have a very specific format you can exploit to gather your data automatically. Try using "textscan" followed by "strsp...

I would like to import data from an STL file of a 3D object to MATLAB and create a 2D contour plot of it. Does anyone have any ideas about this? Thanks!

STL files have a very specific format you can exploit to gather your data automatically. Try using "textscan" followed by "strsp...

oltre 6 anni fa | 0

Risposto

how to set a value for a slider in GUI and connect it to an edit box?

I am unable to write this out for you at the moment (not near a computer), but here is an app I wrote that does that. You should...

how to set a value for a slider in GUI and connect it to an edit box?

I am unable to write this out for you at the moment (not near a computer), but here is an app I wrote that does that. You should...

oltre 6 anni fa | 0

Risposto

how do i label objects in an image which is quite unclear? When i make it bw, objects overlapping get labelled as a single object. I want to be able to call each object seperately.

Look up circular Hough transform. https://en.wikipedia.org/wiki/Circle_Hough_Transform http://www.mathworks.com/help/image...

how do i label objects in an image which is quite unclear? When i make it bw, objects overlapping get labelled as a single object. I want to be able to call each object seperately.

Look up circular Hough transform. https://en.wikipedia.org/wiki/Circle_Hough_Transform http://www.mathworks.com/help/image...

oltre 6 anni fa | 0

| accettato

Risposto

Smart indent and comments

if true a = 1 % a = a+1 disp(a) end Is the customary way to comment a line, so that you can see a line is comm...

Smart indent and comments

if true a = 1 % a = a+1 disp(a) end Is the customary way to comment a line, so that you can see a line is comm...

oltre 6 anni fa | 0

Risposto

how to draw a 3-D frequency Distribution map with 3 differentlabels?

This is a very lazy solution, and there will be some tearing in graphics so you have to move the view around to get it right: ...

how to draw a 3-D frequency Distribution map with 3 differentlabels?

This is a very lazy solution, and there will be some tearing in graphics so you have to move the view around to get it right: ...

oltre 6 anni fa | 0

| accettato

Risposto

Perspective and STLs: how to create thinning edges along a 3D shape?

Simply writing: R = view; will yield a proper rotation matrix for the current view like: 0.4384 0.8988 ...

Perspective and STLs: how to create thinning edges along a 3D shape?

Simply writing: R = view; will yield a proper rotation matrix for the current view like: 0.4384 0.8988 ...

oltre 6 anni fa | 0

| accettato

Risposto

I need to insert multiple 32x32 arrays into 1024x1024 array at predetermined random locations. How to do this efficiently?

If your small array will always be the same, you might be able to do this lightning fast with a convolution. Instead of using th...

I need to insert multiple 32x32 arrays into 1024x1024 array at predetermined random locations. How to do this efficiently?

If your small array will always be the same, you might be able to do this lightning fast with a convolution. Instead of using th...

oltre 6 anni fa | 1

Risposto

segmentation is after reconstruction of 3D volume (from a stacks of 2D images) or before

Depends on how those stacks were obtained. Segmentation in 3D is much harder than in 2D, but allows for much higher accuracy ove...

segmentation is after reconstruction of 3D volume (from a stacks of 2D images) or before

Depends on how those stacks were obtained. Segmentation in 3D is much harder than in 2D, but allows for much higher accuracy ove...

oltre 6 anni fa | 0

Risposto

Can i use function get.handles in prompt?

If you put a dbstop in the script, you can access "handles" and associated methods.

Can i use function get.handles in prompt?

If you put a dbstop in the script, you can access "handles" and associated methods.

oltre 6 anni fa | 0

Risposto

Is there a way for creating n number of new rows from one row?

A much more robust version of that reference answer, especially if you need to repeat every row the same amount of times, and yo...

Is there a way for creating n number of new rows from one row?

A much more robust version of that reference answer, especially if you need to repeat every row the same amount of times, and yo...

oltre 6 anni fa | 0

Risposto

How to easily detect all the equal rows of an array with saving the indices of the elements?

This does all of that: [C,ia,ic] = unique(A,'rows')

How to easily detect all the equal rows of an array with saving the indices of the elements?

This does all of that: [C,ia,ic] = unique(A,'rows')

oltre 6 anni fa | 0

Risposto

Help diagnosing PC restart issue while computing matrix pseudo inverse

Your machine wouldn't just restart for insufficient memory, and in the case of faulty memory, the machine usually freezes. If yo...

Help diagnosing PC restart issue while computing matrix pseudo inverse

Your machine wouldn't just restart for insufficient memory, and in the case of faulty memory, the machine usually freezes. If yo...

oltre 6 anni fa | 0

Risposto

How can I get all text from a website, NOT the html of the website?

http://www.mathworks.com/matlabcentral/answers/98555-how-can-i-read-an-html-file-into-matlab-and-discard-the-html-tags

How can I get all text from a website, NOT the html of the website?

http://www.mathworks.com/matlabcentral/answers/98555-how-can-i-read-an-html-file-into-matlab-and-discard-the-html-tags

oltre 6 anni fa | 0

| accettato

Risposto

What is the mathematical proof for the formula to find angle between 3 points in an image?

https://en.wikipedia.org/wiki/Scalar_projection https://en.wikipedia.org/wiki/Cross_product Get the expression for sine an...

What is the mathematical proof for the formula to find angle between 3 points in an image?

https://en.wikipedia.org/wiki/Scalar_projection https://en.wikipedia.org/wiki/Cross_product Get the expression for sine an...

oltre 6 anni fa | 0

Risposto

how to insert the column [60;80] into the third column

A(:,3) = A(:,3) + [60;80];

how to insert the column [60;80] into the third column

A(:,3) = A(:,3) + [60;80];

oltre 6 anni fa | 0

Risposto

How can I read the elements of an array backwards?

It appears to me that you are trying to do something very simple in a very convoluted way, probably due to programming practices...

How can I read the elements of an array backwards?

It appears to me that you are trying to do something very simple in a very convoluted way, probably due to programming practices...

oltre 6 anni fa | 1

| accettato

Risposto

Segmenting bones using Neural Network

If you do enough of these by hand first (different extreme cases hopefully around 25), you can create a library of bones, as I i...

Segmenting bones using Neural Network

If you do enough of these by hand first (different extreme cases hopefully around 25), you can create a library of bones, as I i...

oltre 6 anni fa | 2

Risposto

Deleting rows until a certain point

You can find the point by something along the lines of (you also pay attention to the dimensions of vectors, I didn't): data...

Deleting rows until a certain point

You can find the point by something along the lines of (you also pay attention to the dimensions of vectors, I didn't): data...

oltre 6 anni fa | 1

Risposto

How can i start one program from another and then run them parallelly?

Chekout "parfeval": http://www.mathworks.com/help/distcomp/parfeval.html

How can i start one program from another and then run them parallelly?

Chekout "parfeval": http://www.mathworks.com/help/distcomp/parfeval.html

oltre 6 anni fa | 0

| accettato

Risposto

Multi-feature matrix regression?

Use the function I created expressly for this purpose. And you are in luck, a lightning fast Leave One Out Cross Validation is a...

Multi-feature matrix regression?

Use the function I created expressly for this purpose. And you are in luck, a lightning fast Leave One Out Cross Validation is a...

oltre 6 anni fa | 0

| accettato

Risposto

Image Prcoessing - Automatic Region of Interest Extraction - Help!!

Ok here is what I could do in 5 mins with my above suggestions and a little more: 1. Get Blue channel with the green line on ...

Image Prcoessing - Automatic Region of Interest Extraction - Help!!

Ok here is what I could do in 5 mins with my above suggestions and a little more: 1. Get Blue channel with the green line on ...

oltre 6 anni fa | 0

| accettato

Risposto

I have an m file routine. How can I store the file along with its calling m file tree?

Try [fList, pList] = matlab.codetools.requiredFilesAndProducts(MainRoutines);

I have an m file routine. How can I store the file along with its calling m file tree?

Try [fList, pList] = matlab.codetools.requiredFilesAndProducts(MainRoutines);

oltre 6 anni fa | 0

Risposto

Optimization code. One line takses 86% of working time.

for k = 1 : K IND = label_n == k; prob_k = Probability(k); grad(k,:) = grad(k,:) ...

Optimization code. One line takses 86% of working time.

for k = 1 : K IND = label_n == k; prob_k = Probability(k); grad(k,:) = grad(k,:) ...

oltre 6 anni fa | 1

Risposto

Image Prcoessing - Automatic Region of Interest Extraction - Help!!

Since you didn't provide a clean image, I can only speculate. My strategy would be: # The region of interest seems "bluer" th...

Image Prcoessing - Automatic Region of Interest Extraction - Help!!

Since you didn't provide a clean image, I can only speculate. My strategy would be: # The region of interest seems "bluer" th...

oltre 6 anni fa | 0

Risposto

corr2 function with complex vectors.

If you have 2 complex vectors, why not just use corr instead? It should give you a valid coefficient.

corr2 function with complex vectors.

If you have 2 complex vectors, why not just use corr instead? It should give you a valid coefficient.

oltre 6 anni fa | 0

Risposto

Correlation between two datasets

There are 3 ways I am aware of that you can do this: # You find a way to make them have the same number of points and use the...

Correlation between two datasets

There are 3 ways I am aware of that you can do this: # You find a way to make them have the same number of points and use the...

oltre 6 anni fa | 0

Risposto

How to work with big data?

Use: M = dlmread(filename,delimiter,[R1 C1 R2 C2]) To access the file in chunks.

How to work with big data?

Use: M = dlmread(filename,delimiter,[R1 C1 R2 C2]) To access the file in chunks.

oltre 6 anni fa | 0

| accettato

Risposto

What is the matlab code for this R code?

if DD>0 IC1= (-B-sqrt(DD))/(2*A) IC2= (-B+sqrt(DD))/(2*A) if A>0 rej_fi=rej_fi+(Theil0>IC2 || Theil0<IC1)...

What is the matlab code for this R code?

if DD>0 IC1= (-B-sqrt(DD))/(2*A) IC2= (-B+sqrt(DD))/(2*A) if A>0 rej_fi=rej_fi+(Theil0>IC2 || Theil0<IC1)...

oltre 6 anni fa | 0

| accettato