Answered
change Black and White - Image to Black & Red Image
You need to define the colormap: imshow(BW,[0 0 0; 1 0 0]) % 0's are black and 1's are red

12 years ago | 0

Answered
ellipses on image
Use <http://www.mathworks.com/help/toolbox/pde/ug/pdeellip.html pdeellip> (if you have the PDE toolbox): pdeellip(xc,yc,a,b,...

12 years ago | 0

Answered
[DISCONTINUED] MATLAB Answers Wish-list #2 (and bug reports)
How about a link on the left hand navigation for FAQ and posts like Walter's on tags?

12 years ago | 1

Answered
add picture in matlab
do you have the image processing toolbox? if so: I = imread('imagename.extension'); The result will be a 2- or 3-D matri...

12 years ago | 0

| accepted

Answered
cropping manually and automatic using matlab
*Manual method:* scenenum = input('Please enter the number of scenes you wish to crop: ') for m = 1:scenenum mask...

12 years ago | 0

Question


Creating vector of all numbers in a cell array.
This is probably an easy solution, but I cannot figure it out. I have an |m x m cell array| where each cell contains a |1 x ...

12 years ago | 3 answers | 0

3

answers

Answered
Problem trying to access labeled portion of images (updated 7/5)
I switched to |*.**| over *|immultiply()|* and I haven't run into the error message again. This may not mean I am out of the wo...

12 years ago | 0

Question


Problem trying to access labeled portion of images (updated 7/5)
*UPDATE:* <http://dl.dropbox.com/u/56764179/data_dump.mat data_dump.mat> unique(diff(unique(endpts_labeled))) ans = ...

12 years ago | 3 answers | 0

3

answers

Answered
for loop doesn't seem to loop
You're not specifying the row of A that you are writing the data to, so each loop it just places [PVtech(i,:) WTtech(i,:)] into ...

12 years ago | 0

| accepted

Answered
How can I deblur an image given the original PSF?
<http://www.mathworks.com/help/toolbox/images/ref/deconvlucy.html doc deconvlucy> the documentation mentions similar functions....

12 years ago | 0

| accepted

Answered
Delete unique element in column
Based off of Jan's answer: A = [1 2; 1 3; 3 4]; [B, I, J] = unique(A(:,1),'last'); NewMatrix = A(I,:);

12 years ago | 0

Answered
How to implement 'Medfilt1' function into Simulink
If you have the Video and Image Processing Blockset, use the 2D median filter and change the "Neighborhood size" to 1xN or Nx1 (...

12 years ago | 1

| accepted

Answered
If condition without loop
A(A>0 & A<=1) = 1; A(A>1 & <=2) = 2; Of course if you'd like to do this continuously (constantly rounding values, not ju...

12 years ago | 0

Answered
me not like new lay out of this section! (not a question)
What is the value of having a *"Home"* and *"Search"* link on the navigation panel (upper left hand side) if both link to the sa...

12 years ago | 1

Answered
vector index of consecutive gap (NaN) lengths?
Thomas' answer is faster, but here is my go: A = [2 4 NaN 7 9 NaN NaN NaN 32 NaN NaN 8]; idx = isnan(A); [B n]= bwlab...

12 years ago | 1

Question


Finding distance between endpoints of image segment: PixelList vs 'endpoints'
New Code: %% Calculate Tortuosity disp('Calculating tortuosity of large segments'); V = thin8-imdilate(cr...

12 years ago | 2 answers | 1

2

answers

Answered
Filling with color the space between to polynomial curves to represent error area.
Check out this FEX submission, it should do what you want: <http://www.mathworks.com/matlabcentral/fileexchange/13188-shade-...

12 years ago | 0

Answered
Reshaping Blobs in a Binary
use region props area measurements and dilate the centroid points with a disk structuring element with the appropriate radius (a...

12 years ago | 0

Question


Help understanding the imbothat function.
I am using the function _imbothat_ as part of a larger image processing algorithm and it works great for what I need (I found th...

12 years ago | 1 answer | 1

1

answer

Answered
How to segment 2D breast images using fuzzy c-means algorithm
I am guessing you are using a DICOM file since this is a CT image? If so, use Image = dicomread(filename); (Help page ...

12 years ago | 1

Answered
Small simple question about displaying multiple pictures or objects
% Generate random pictures PicNum = 5; PicSize = 100; J = zeros(PicSize,PicSize,PicNum); % Always good to preallocate...

12 years ago | 1

| accepted

Answered
Local maxima
<https://www.google.com/search?q=local+maxima+matlab>

12 years ago | 0

Answered
Generating reconstructed image from a sinogram without using 'iradon'
<http://www.wepapers.com/Papers/78923/Filtered_Backprojection_Algorithm_in_MATLAB.ppt> That may help you.

12 years ago | 0

Answered
noise removel
I = 3 * sin(.3*[1:500]')*ones(1,500) + 3 * cos(.2*[1:500]')*ones(1,500) + 0.5*ones([500 500]); % Generate random sine wave im...

12 years ago | 0

Answered
algorithm strategy
http://scholar.google.com/ have fun.

12 years ago | 0

Answered
How to make a FOR loop to be efficient
Perhaps break this into two separate iterations where the first optimization happens more crudely using parameters spaced more g...

12 years ago | 0

Answered
Background Subtraction
There are various methods to better segment your image and most are best dealt with on a case by case basis. Check out Image ...

12 years ago | 0

Answered
Getting rid of NaN from 1 by n matrix
A =[1,NaN,2,3,NaN,4,5,NaN,6,7,NaN,NaN]; A(isnan(A)) = [];

12 years ago | 0

| accepted

Answered
block processing of a matrix
threshold = 50; matrix = rand(32,32)*255; median_matrix = medfilt2(matrix,[3 3]); diff_matrix = median_matrix - ...

12 years ago | 1

Answered
Radon Transform
http://www.mathworks.com/help/toolbox/images/ref/radon.html ?

12 years ago | 0

Load more