Community Profile

Image Analyst

Last seen: Today
31.436 total contributions since 2010

Senior Scientist (male/man) and Inventor in one of the world's 10 largest industrial corporations doing image analysis full time. Ph.D. in Optical Sciences specializing in imaging, image processing, and image analysis. 40+ years of military, academic, and (mostly) industrial experience with image analysis programming and algorithm development. Experience designing custom light booths and other imaging systems. Experience with color and monochrome imaging, video analysis, thermal, ultraviolet, hyperspectral, CT, MRI, radiography, profilometry, microscopy, NIR and Raman spectroscopy, etc. on a huge variety of subjects. Member of the Mathworks Community Advisory Board. Be sure to click "View All" in my File Exchange to see ALL of my demos and tutorials: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

Professional Interests: Image analysis and processing

View details...

Contributions in
View by

Hold on function doesn't work
If you use yline() you don't need to use hold on. If you use plot(), you DO need to use hold on. Try this demo which shows you...

alrededor de 13 horas ago | 0

How do I reverse the convexhull?
If all you have is a convex hull, there is no way to get the original shape. For example, a polygon or square could hold an inf...

alrededor de 15 horas ago | 0

Help with battleship program hit and miss?

alrededor de 16 horas ago | 0

How to load data with using detectimportsoption
You forgot to attach example.wam so I made up one according to what you said. Try this: clc; % Clear the command window. f...

1 día ago | 0

How to Prevent Lowess 3D Curve From Dipping into Negative Values
Did you try fitresult = max([0, fitresult]); % bump negative values up to zero.

1 día ago | 0

My elseif condition is never checked. What to do?
To compare floating point numbers, you need to use ismembertol(), not ==. Like if ismembertol(r, in(i), .0001) See the FAQ: h...

3 días ago | 0

| accepted

How to detect hotspot from infrared image can i get the code for this
Do you have the thermal data? I think the cheapest FLIR One camera only gives you a pseudocolored image but if youi pay like \$1...

3 días ago | 0

Find sorrunding elements and element from an array
Try this: fprintf('Beginning to run %s.m ...\n', mfilename); y = [ 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0...

4 días ago | 0

| accepted

What am I missing?
You need to pass t into ParkingFees() and not loop over t, and return fee function fee = ParkingFees(t) if t == 1 ...

4 días ago | 0

| accepted

How to put for loop outcome into 1 column in right order
Can't you just say res(:, 1) = err(:); inside the loop? But every iteration will overwrite column 1 of course so not sure why...

4 días ago | 0

how to start graph in matlab from the origin?
You're doing something like calling xticks() or xticklabels() with only two values. Please show us all the code involved in cre...

4 días ago | 1

| accepted

How can I format cell inputs when using writematrix?
Correct. The new Excel functions do not allow formatting, and so I rarely use them. What's even worse is that if you start wit...

4 días ago | 1

| accepted

Cropping out two images from one big image by manually selecting the cropping are
Did you check out the documentation for imcrop(), or rbbox()?

4 días ago | 0

Error using horzcat function
se and sd are presumably arrays with exactly 181 * 251 * 391 elements. However 0 is not. You're going to have to make 0 an arr...

5 días ago | 0

сколько различных компьютеров можно активировать одновременно? могу ли установить одновременно на пк и ноутбук?

5 días ago | 0

Branching points in a VORONOI DIAGRAM
There is a shortestpath() function. Also see Steve's blog if you want to work on the image itself Exploring shortest paths – b...

6 días ago | 0

| accepted

How to convert my code block to recursive function?
You need the first line to be function newton() % Maybe with some arguments then somewhere in newton, you need to call newton ...

6 días ago | 0

code to detection the cars this code not counting cars properly How do i make it count correct ?
Here, try this: clc; % Clear the command window. close all; % Close all figures (except those of imtool.) clear; % Erase...

6 días ago | 1

Strange behaviour with imaqregister and imaqreset
You might delve into my attached InitializeVideoCamera() function and adapt as needed.

6 días ago | 1

Manually from c++ to matlab how?
Such a function in MATLAB might look something like this: function [A, dx2, a, b, c] EXampleC(domain) A = domain.A; dx2 = d...

6 días ago | 0

Rename jpg files in a folder
Try this: folder = pwd; % Wherever your input images are stored. outputFolder = fullfile(folder, '/renamed'); % Can be the sam...

7 días ago | 0

| accepted

How do you mark and extract an area from an imagesc-figure?

7 días ago | 1

Classification of voiced unvoiced frames
The first place to look is always the File Exchange. If it's not there, you will probably have to write it yourself, unless som...

7 días ago | 0

My university allows me to access to matlab but it's licence is expired can I extend it ?
That's a question that should be asked of your professor. If he/she expects you to use it, they should enable you to use it, ri...

7 días ago | 0

How to save resized image with original filename to a folder.
Try this: % Define input folder location. folder = '/Users/kimpitman/Documents/MATLAB/Vehicle/Test'; % Create output folder n...

7 días ago | 1

| accepted

Is it possible to disable the items of listbox using m-scripting?
Yes, in the listbox click event, just immediately disable (deselect) any item that you don't want clicked on by removing it from...

7 días ago | 0

How to find multiple means of an array
Yes, A(b:c) is A(2 : 1) which is null since your starting index, 2, is after your ending index, 1. So that's why it didn't work...

7 días ago | 0

| accepted

Trying to take the median values of all of the columns within a 16000x171 table
Try this: % Create sample data. col1 = rand(160, 1); col2 = rand(160, 1); t = table(col1, col2) % Convert table to matrix. ...

8 días ago | 0

| accepted