-1
votes
0answers
12 views

Error using Imrotate in clockwise direction in MatLab

I have a binary image II1. I want to rotate this image in clockwise direction and find the indices in particular column of the image. so I used imrotate(II1,-theta) (theta is angle I specified - 6.54) ...
0
votes
1answer
41 views

compare the positions of the same object in 2 different pictures

I would like to compare the positions of the same object in 2 different pictures and get the difference between the positions in in terms of x and y coordinates.Suppose I have a picture with a square ...
0
votes
0answers
27 views

save a matrix into mysql by matlab

everyone.I need to save a matrix which is in matlab into a database of mysql,I kown mysql use blob to save big binary data,but when I am trying the following code,I get error,can anyone help me? f = ...
2
votes
1answer
38 views

Error reading an animated GIF file in Matlab

I read GIF files in the following way: [image, map] = imread(imagePath, 'frames', 1); However, reading the GIF image posted below I get the following error message: Subscripted assignment ...
2
votes
1answer
24 views

Combining GIF images and colormaps to 3-D image arrays

When I read a color JPEG image: jpgim = imread('path/to/image.jpg') I get an MxNx3 array. However, with GIF files I also need to read the colormap: [gifim, map] = imread('path/to/image2.gif') ...
1
vote
1answer
29 views

changing a group of pixel values at one time MATLAB

I've found borders of shadow regions in my image, and I can plot these borders on top of the image, but I would like to create a binary image where only the pixel values of these borders are equal to ...
-6
votes
0answers
32 views

there is error that image dimension matrix exceeds and there is error showing store(k)=WM_detect(ext_wm,orig_wm); [closed]

function WM_plot(r,c,ext_wm,orig_wm) for k=1:1000 wm=randn(r,c);%depending on the size of the watermark wm=uint8(wm);%if necessary store(k)=WM_detect(ext_wm,wm);%wrong ...
-4
votes
0answers
20 views

how to creat matrix/basis function of two dimensional DFT in MATLAB [closed]

I want to create matrix/basis function of two dimensional DFT - Discrete Transform Fourier in MATLAB!! Is there any suggestions ?
0
votes
1answer
29 views

DFT Matlab function

I've write a function that calculates the DFT of an image, My prupose is to show the amplitude spectrum without using the fftshift command. DFT_img.m looks like this: function f = DFT_img(a); [n ...
1
vote
0answers
30 views

Matlab SVM for Image Classification

I am using SVM function of Matlab to classify images that are read from a folder. What I want to do is first read 20 images from the folder, then use these to train the SVM, and then give a new image ...
1
vote
1answer
37 views

Matlab Data Cursor on grayscale image showing three channels

I have a grayscale uint8 image: I = ones(100,100) * 50; I = uint8(I); imshow(I); Now If I try to read a pixel value with the "Data Cursor" it shows instead the RGB value of the gray pixel. Is ...
0
votes
1answer
30 views

Normalization of handwritten characters w.r.t size and position

I am doing a project on offline handwriting recognition.In the preprocessing stage,I need to normalize the handwritten part in binary image w.r.t its size and position.Can anyone tell me how to access ...
-2
votes
1answer
46 views

“Out of memory” error for an image in matlab

I am capturing images via my camera Canon SX - 120 IS. But when I try to process these images in Matlab, "out of memory" error is displayed. The dimension of my image is 2736x3648x3 uint8 type. The ...
0
votes
1answer
17 views

the map in label2rgb function

I want to use the label2rgb function to construct a color image with a labeled image issued from a segmentation process. So I compute a color map n-by-3 which contain the meanvalue of each region ...
0
votes
1answer
44 views

how to change the pixel values in a rgb image in matlab

I have a rgb image, I want to change the pixel values greater than (r:175,g:255,b:55) to Nan in matlab, How can I do that. Please let me know

1 2 3 4 5 42
15 30 50 per page