Réponse apportée
storing image information in a 2-d array
Hello, That's true. You can use *blockproc* from Matlab. It's simple to use. B = blockproc(A,[M N],fun) *A* is in...

environ 14 ans il y a | 2

| A accepté

Réponse apportée
vector median filter
for 1D median filtering, Matlab has command *medfilt1* Eq: medfilt1([4 3 5 2 8 9 1],3) ans = 3 4 3 ...

environ 14 ans il y a | 2

| A accepté

Réponse apportée
is there an alternative of thresholding an image automatically rather than setting it manually?
Actually function *im2bw* automatic select threshold value if you do not pass any parameter except the input image. Or try...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
To extract the random integer into a file
If you get a little confused with fread and fwrite, then you can try another command *fprintf* n *fscanf* Here I give you...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
To extract the random integer into a file
You can use *fwrite* command to write array into binary file. And you can use *fread* to read data from binary file

environ 14 ans il y a | 1

Réponse apportée
counting the number of objects
Hello, Pat. It is possible to count the nails. You just need to perform some morphologichal operations, such as erosio...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
shape based object identification from an image?
Have you check this?? http://www.mathworks.com/matlabcentral/fileexchange/20666-shape-recognitionmany-shape

environ 14 ans il y a | 1

| A accepté

Réponse apportée
select data from specific range
If size of i and j are same, then f = load('200012.txt'); lat = f(:,1); lon = f(:,2); sla = f(:,3); i = 2...

environ 14 ans il y a | 1

Réponse apportée
select data from specific range
Hello, I have a text file formated : 1 90 100 1 96 101 1 95 102 2 ...

environ 14 ans il y a | 2

| A accepté

Réponse apportée
Circle packed with Circles
Here the code : First, you need to create a m-file function [X Y] = circle(center,radius,n) THETA = linspace(0, 2...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Circle packed with Circles
Hello, Did you meant?? With diameter = 3 <<http://i1196.photobucket.com/albums/aa410/nasa078/Mathworks/diameter3.jpg>> ...

environ 14 ans il y a | 2

Réponse apportée
Error-Reference to non-existent field
No, I have checked your file 'DisA.mat' and there is no variable named 'DisA'. It's better if you try to change your code : ...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
ADDING GAUSSIAN NOISE TO VIDEO
Hello, I just use video 'xylophone.mpg' from Matlab. You can use your own video [any .avi, .mpg, etc] from your drive. ...

environ 14 ans il y a | 4

| A accepté

Réponse apportée
selecting an image from folder
Then you just need to pass your feature vector 1x80 and feature vector of query image in suppose that dataset1 is feature...

environ 14 ans il y a | 2

Réponse apportée
circle centered on the object
Here the code if you consider to use rectangle I = imread('di-5Y01.jpg'); object = imread('obiect1.jpg'); [m n o] = s...

environ 14 ans il y a | 2

Réponse apportée
circle centered on the object
Hello, Why don't you use rectangle?? Why must circle?? I have my code detect the exact area if you consider to use rectang...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
selecting an image from folder
path='D:\photos\'; jpeg_files = dir(fullfile(path,'*.jpg')); for cnt = 1 : 21 I{cnt} = imread(fullfile(path,j...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Image Processing - How to separate barcode from the background
Hello, Kim Here I have the code to do segmentation on your barcode image. I hope this helps rgb = imread('barcode.jp...

environ 14 ans il y a | 2

| A accepté

Réponse apportée
circle centered on the object
Hello, It's quite simple. You just need to increase or decrease the 'corr_offset' values with small random value. I = im...

environ 14 ans il y a | 1

Réponse apportée
identifying objects in a picture containing several objects
Just the same code. You just need to change the I and J with your 'reference' image and the object clear; clc; I...

environ 14 ans il y a | 2

Réponse apportée
identifying objects in a picture containing several objects
Hello, Why don't you use command 'normxcorr2' from Matlab?? Here I have a sample code : clear; clc; I = imread...

environ 14 ans il y a | 5

| A accepté

Réponse apportée
matrix manipulation
Just use [] for any column or row that you want to remove. Eq : A = round(10*rand(10)); B = A; B(3, :) = []

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Handle 2 axes in one GUI
Hello, I have modified your code : http://www.mediafire.com/?338im32b9cx3ckd

environ 14 ans il y a | 2

| A accepté

Réponse apportée
Opening a file and loading a function from another script
Hello, Dan I have a function file named 'fun1.m' stored in any folder. The function 'fun1' takes 2 input argument [x and y...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Cut An Image
clear; clc; I = imread('tamp9f.png'); Icrop = imcrop(I); bw = im2bw(Icrop); imshow(bw); pause; Ifill = imf...

environ 14 ans il y a | 3

| A accepté

Réponse apportée
writing a cat file
Hello, Pat I just give you small example. Then, I hope you can use it or do modification on it for your purpose. cle...

environ 14 ans il y a | 2

| A accepté

Réponse apportée
writing an image into a new folder
Maybe you are seeking for this sample code : clear; clc; I = imread('peppers.png'); J = imread('onion.png'); K...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Display JPEG file in GUI
Fisrt you need to read your image that saved in your drive. Eq : I = imread('C:\My Document\Filename.jpg'); imsho...

environ 14 ans il y a | 1

| A accepté

Réponse apportée
Group string based on charachter
a='1/23s'; i = findstr(a,'/') b = a(1:i-1) c = a(i+1:end)

environ 14 ans il y a | 2

| A accepté

Réponse apportée
intersection of multiple images
I got little confused with your question. Let me pick one picture. <<https://lh3.googleusercontent.com/-YBcnm-uSlcg/TtnLP2lmFN...

environ 14 ans il y a | 1

Charger plus