![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/17263140_1578931960612_DEF.jpg)
Carson Purnell
Followers: 0 Following: 0
Feeds
making a label/category atlas of overlapping component images
Self-answer after topic ping: Binarization and component analysis are distractions. If every pixel/voxel needs one and only one...
12개월 전 | 0
| 수락됨
제출됨
randv - random vectors, with constraint axis
Generate random vectors on a unit sphere/circle/etc, and random vectors from a given axis based on cone-like constraints.
12개월 전 | 다운로드 수: 1 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/afc2890b-6c09-4be5-abdd-429711ba4a58/12364bf8-2a0b-4f9e-a7a7-f11c5797d158/images/1694627093.jpg)
질문
Octree implementation: how to quickly search through tree?
I need to do hundreds/thousands of searches comparing ~1e4 points against ~1e6-1e7 points in 3d. It's terribly slow. I currently...
대략 1년 전 | 답변 수: 1 | 0
1
답변Why is MATLABs knnsearch with KDTreeSearcher approx. 300 times slower than my own naive kd-tree implementation?
It isn't slower, you're just calling the function overhead 1000 times in a way that also bypasses all optimizations. instead of...
1년 초과 전 | 0
질문
Generating a distribution of points relative to closed surface (alphshape)
Is it possible to generate a set of points in a random distribution relative to a known surface? As in, a beta distribution upon...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
optimizing: fastest way to detect if ANY points are within distance N of points?
I'm creating a volume from a very large number of points, created by accumulating a large number of point cloud objects in a box...
1년 초과 전 | 답변 수: 2 | 0
2
답변질문
Inlined code segment slower than internal function pass - why?
I'm trying to speed up prototype code and have found a strange instance of speed increase when replacing standard inlined code i...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
Fastest selection of a coordinate in 3d array that fulfills a condition?
I have a relatively simple problem: I need to generate random coordinates of an array, but they must fulfill a condition. I thou...
1년 초과 전 | 답변 수: 2 | 0
2
답변Thinning 3d object borders to pixel thickness
I couldn't find any existing implementation of a 3d ridge detector using hessian matrices, but I found a much simpler solution t...
1년 초과 전 | 0
| 수락됨
질문
Thinning 3d object borders to pixel thickness
I am attempting to perform an operation in 3d similar to skeletonization, but instead of producing pixel-width lines I want to p...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
Skeletonize 3d cylinders
I'm having trouble figuring out a reliable way to draw lines marking the midpoints of mostly hollow cylinders in a 3d volume. De...
거의 2년 전 | 답변 수: 1 | 1
1
답변질문
making a label/category atlas of overlapping component images
I'm trying to create an atlas image from several different images that record occupancy of objects in a 3d space. Object type A ...
거의 2년 전 | 답변 수: 2 | 0
2
답변질문
Efficient way to read variable column number data from a mixed-format text file?
I'm trying to read in specific data from .cif files, which have an unfortunate text format. A relevant section is below: the sec...
거의 2년 전 | 답변 수: 2 | 0
2
답변제출됨
helper_pdb2vol - PDB files to atom coord list and volume
Generates a density volume from a PDB, and provides intermediate list of atom coordinates. Dramatically faster than pdbread.
대략 2년 전 | 다운로드 수: 1 |
pdbread function doesn't read individual models
Well I ended up needed to make my own pdb reader function for my purpose (generating density maps). Here's the function if anyon...
대략 2년 전 | 0
| 수락됨
getting a radial vector relative to a 3d shape of unknown orientation
I ended up having to write my own function to determine the major axis. https://www.mathworks.com/matlabcentral/fileexchange/113...
대략 2년 전 | 0
| 수락됨
Merge 2 columns with strings
given column 1==A and column 2==B, this stacks those columns without sorting. %example arrays A = {'a',1;'b',2}; B = {'c',11;'...
대략 2년 전 | 0
| 수락됨
How can the major axis of a 3d object be determined?
Seems like no matlab code has this functionality built in, so I ended up doing it myself. Demo code, assuming you already have a...
대략 2년 전 | 0
| 수락됨
제출됨
shapeaxis - compute the axis/orientation of 3d shapes
Provides a vector describing the major axis of any 3d shape represented by a grayscale 3d array.
대략 2년 전 | 다운로드 수: 1 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/c0fe497c-409f-45a2-b413-7222d2f1b47f/2a2cb03a-13c6-4992-a7d8-1dfe79b96572/images/1655322731.png)
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
대략 2년 전
질문
Indexing a range of a 3d matrix incredibly slow?
I have a function that does several different operations between a source and destination matrix (each 3d), generally inserting ...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
How can the major axis of a 3d object be determined?
I have some rodlike objects in 3d, below is an example. Is there a way to find its longitudinal axis? I'm trying to generate a b...
대략 2년 전 | 답변 수: 2 | 0
2
답변How to extract different (256,256) images from a (512,512) image and calculate the average of them?
Just loop through the step sizes and accumulate a sum, then divide by the count. imsiz = 512; im = rand(imsiz); step = 16; s...
대략 2년 전 | 1
| 수락됨
질문
getting a radial vector relative to a 3d shape of unknown orientation
I'm trying to generate a random 'bundle' of shapes in 3d space. The shapes are long, rodlike, and approximately cylindrical, i'm...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
pdbread function doesn't read individual models
The matlab pdbread function (and a similar function from a toolbox with the same codebase) appears to never correctly execute th...
2년 초과 전 | 답변 수: 2 | 0
2
답변질문
How can a curved surface be generated with a thickness and density?
I've got a weird problem here. I'm trying to generate a weird feature in 3d, a cell membrane EM density. Is there some way to ge...
2년 초과 전 | 답변 수: 2 | 0
2
답변How to fill a 3d volume with non-overlapping structures?
To answer my own question, I went with #1. it ended up being very efficient, combined with a refactoring of the function I was u...
2년 초과 전 | 0
| 수락됨
질문
How to fill a 3d volume with non-overlapping structures?
I have a problem that I haven't seem any general solution for in other answers. I need to randomly place arbitrary, irregular sh...
2년 초과 전 | 답변 수: 1 | 1