Answered
Display 2-D grayscale image with vector normal arrows
Yes. Use, |slice| to plot your image and then overlay the |quiver3| on it. Quick example: I = double(repmat(imread('camer...

15 years ago | 0

| accepted

Answered
Web interface is broken
Yes. I have this issue as well, posting a comment three or four times and it looks like it hasn't posted. I saw the same with ...

15 years ago | 1

Answered
cubic equations
Yes you'll need to create the object as a |syms| docsearch syms factor to factor it.

15 years ago | 0

Answered
Counting the non nan observations in a matrix by row
sum(A==A,2); Variant

15 years ago | 4

Answered
Counting spheres within a certain radius of a sphere in a dense packing
I'm going to think out loud on this one: if you make three lists of you coordinates, each sorted by a different primary and sec...

15 years ago | 0

| accepted

Answered
[DISCONTINUED] Wish-list for MATLAB Answer sections.
* The inverse of being able to mark a question to follow: being able to mark a question (or even an author) not to follow so tha...

15 years ago | 1

Answered
Array of neuralnet structs
I think you want _TR, NET_ to be cell arrays or struct arrays? NET = cell(20,1); %cell arrays for.. NET{K} = cfn...

15 years ago | 3

| accepted

Answered
how to develop a matlab coding on watermarking for medical images
V = load('mri'); V = squeeze(V.D); V(3:5,3:80,:) = 255*ones(3,78,size(V,3)); %Add 3x78 block of white to top of matrix implay(...

15 years ago | 0

Answered
cancel running program with crtl+c - is it possible to recover the processed data?
All data inside the function is cleared since it has its own workspace and that workspace is terminated. The easiest way woul...

15 years ago | 0

Answered
need code for image thinning , use rosenfeld algorthm and stentiford algorthm
doc imfilter or if you're like me and don't like |imfilter| because it's evil doc conv2 will take care of that algo...

15 years ago | 0

Answered
Image processing
Use a |for|-loop to work through all of the files in the output from |dir|. doc dir *MORE* imshow('cameraman.tif'); hol...

15 years ago | 1

Answered
3d point colouring - 21 by 21 by 21 matrix
What about something like |slice|? doc slice

15 years ago | 0

| accepted

Answered
Image Processing
New_Image = kron(your_image,ones(8)); Kronecker Tensor Product

15 years ago | 0

Answered
nargin
|nargin| means _"number of arguments in"_. In the above code it looks pretty useless: if nargin < 2 %do stuff end |na...

15 years ago | 3

| accepted

Answered
What is your time zone?
Currently: GMT-0400 In the winter late fall->winter->early spring: GMT-0500

15 years ago | 0

Question


What is your time zone?
We've had a bunch of meta/Answers related threads going through here so here's another one. It's not uncommon to see people won...

15 years ago | 8 answers | 1

8

answers

Answered
I've divided my image into various regions. Now i need to find centroid of each region so that i can calculate RGB components of the centroid i've found. Im unable to find the cenroid of each region.
cents(32).Centroid %32nd centroid Or you can convert to a cell array (I recommend): cents = {stats(:).Centroid}.'; ...

15 years ago | 0

| accepted

Answered
m files as Function Inputs !!
d = delayMethod('file1.mat','file2.mat'); calling something that uses the inputs: function d = delayMethod(filename1,f...

15 years ago | 0

Answered
What does Answers provide that CSSM, Stack Exchange, etc do not
With CSSM, never used Stackoverflow or others: Pros: * When I click |Submit|, it actually submits and appears _instantly_, not...

15 years ago | 1

Answered
How can you program to automatically rename imported data?
values = importdata('uXYPPBVCH4.mat');

15 years ago | 0

Answered
The future of CSSM and Answers
I do miss some of the long theory (not all of it necessarily related to ML) discussions on CSSM (Walter helps here) and I feel l...

15 years ago | 1

Answered
Identifying duplicates and deleting duplicates
vcat = [v1', v2']; vcat(isnan(vcat)) = inf; %assuming no infs! vu = unique(vcat,'rows') vu(isinf(vu))= nan; v1 = vu(:,1).'; v...

15 years ago | 3

Answered
Bug in symbolic toolbox?
It's seeing I as the sqrt(-1). What is your goal by doing it this way? why not just syms A I A+I ? The other e...

15 years ago | 0

Answered
read binary number
doc fread sounds like what you might be looking for.

15 years ago | 0

| accepted

Answered
Hardware for Image processing project
This doesn't seem like a question about MATLAB. I would recommend looking at commercial websites and maybe asking their tech su...

15 years ago | 0

Answered
Threhold selection of floating point number
Of course there is: doc histc doc diff doc sign doc min doc findpeaks %on max(x)-x; etc.

15 years ago | 0

Answered
how to measure displacement by correlation method of two images(before and after deformed) using 3d graph ?
[junk, idx] = max(reshape(getCorrelation(Image1,Image2),[],1)); [row col] = ind2sub(max(size(Image1),size(Image2)),idx); Ther...

15 years ago | 0

Answered
Vectorizing bsxfun
dists2 = squeeze(sum(bsxfun(@minus,rX,reshape(rXClass',[1 numDim nClass])).^2,2))/D; With all three sizes equaling 150, I ha...

15 years ago | 0

Answered
visualizing binary 3D arrays (Voxel Data)
There are many ways to do this, a few for you to look at: doc isosurface doc patch doc slice

15 years ago | 0

Answered
finding last non-zero value from column
[junk, idx] = max(flipud(M),[],1); %flip it and find first maximizer idx = size(M,1)-idx+1 for 3d: [junk, idx] = max(...

15 years ago | 0

Load more