Answered
3d surface from 2d slices
Perhaps doc fill3

15 years ago | 0

Answered
"index exceeds matrix dimensions" error.
It probably means that whatever variable you're using to index is already defined elsewhere and not redefined in your code. Type...

15 years ago | 0

Answered
Receive emails in matlab
You could use urlread on a web-based email system. I'd guess there are better ways though. Good Luck!

15 years ago | 0

Answered
how to make pixels to black if it is more or less than threshold
Call the below function with blkproc: X = blkproc(I,[64 32],@Black211) %%Save the below as Black211.m function out = ...

15 years ago | 0

| accepted

Answered
Detect Colors in a white image
in a unsigned 8bit integer image (uint8) (just example) I = your_image assert(isa(I,'uint8'),'For this example I is expecte...

15 years ago | 1

| accepted

Answered
how to calculate black pixel ratio by dividing image into blocks
blkproc(I,[32 64],@(x)sum(~x(:))/sum(x(:))) Won't the result by 10x10?

15 years ago | 0

| accepted

Answered
image segmentation
Okay, use IMFILL or POLY2MASK to generate a logical mask and then multiply it by the image to preserve the content inside the ma...

15 years ago | 0

| accepted

Answered
image segmentation
doc imfill doc poly2mask

15 years ago | 0

Answered
Eliminating different regions based on height/width ratio calculated by boundingbox
Actually, given a label matrix you don't even need to use REGIONPROPS to find the boundingbox. You could just use ACCUMARRAY an...

15 years ago | 0

Answered
Eliminating different regions based on height/width ratio calculated by boundingbox
Then you'll need to write something similar to bwconncomp to use the above. Or you can make a few modifications to and use bwlab...

15 years ago | 0

Answered
Separating Objects in an Image
Voxel surface area/count are both very easy. Marching Cubes is significantly more difficult and, to my knowledge, there's nothi...

15 years ago | 0

Answered
MATLAB one-liners
Here's another from a thread today: Given a connected components analysis (bwconncomp) and some criteria for objects to meet:...

15 years ago | 1

Answered
Eliminating different regions based on height/width ratio calculated by boundingbox
Extract the Bounding Box of all of them, do the comparison, set the bad ones to false. CC = bwconncomp(I); RP = regionprops(...

15 years ago | 0

Answered
Large Integer problem
John D'Errico's vpi on the file exchange: <http://www.mathworks.com/matlabcentral/fileexchange/22725-variable-precision-integer...

15 years ago | 0

| accepted

Answered
How to invert a sample?
doc fliplr doc flipud

15 years ago | 3

| accepted

Answered
Creating tables from a program?
You could also do: z = (0:50).'; fprintf(' Integer, Integer^2\n-------------------\n'); disp([z,z.^2]);

15 years ago | 2

Answered
bwlabel()- clarification and manipulation
1) 4-connected means the (2d) pixels must be sharing a side 8-connected means the (2d) pixels can be sharing a side or a co...

15 years ago | 0

Answered
i am doing my project n fingerprint pore modeling.
We can help you write the code if you can show us what you've done/tried so far, why it does/does not work, what you provide./[e...

15 years ago | 0

| accepted

Answered
Increase Memory Available for MATLAB
The easy way would be to buy a new computer with 64bit OS and 64bit MATLAB.

15 years ago | 2

Answered
Finding objects in a grayscale image
Make your grayscale image into a binary image using a set of logical operations that isolate your object. Then call bwlabel

15 years ago | 1

Answered
Image Dilation
doc imdilate doc bwdist doc convn

15 years ago | 0

Answered
numerical integration error
You need a '.' before your '^', i.e: Y = X.^(...)

15 years ago | 0

| accepted

Answered
FEVAL error in implementing Newton's method.
Ashley, It would be worth your time to review the syntax and methodology covered in these two documents: doc function doc...

15 years ago | 0

Answered
FEVAL error in implementing Newton's method.
fn(old) dfn(old) Are what you want. Not feval.

15 years ago | 0

Answered
Can I create a matrix of size 10000X10000?
Yes it's possible, I do it all of the time. You could get a 64bit version of MATLAB. Or you could use 'single' instead of 'dou...

15 years ago | 1

Answered
Linearly spaced vectors
x2 = [x(1:end-1), x(2:end)] x2 = num2cell(x2,2) y = cellfun(@(x)x(1):increment:x(2),x2,'uni',false) %Scd

15 years ago | 0

Answered
Issue with fractional step-sizes
How can you store data in the i.5th location?

15 years ago | 1

Answered
to find edge value of a object
the_edge = edge(I); edge_value = I(the_edge); You're going to have to be more specific if you want meaningful help.

15 years ago | 0

| accepted

Load more