# image processing

• ## Histogram Equalization error in freq(255) freq(256) values2018-07-20

my initial code for histogram equalization computes freq(1) to freq(254) perfectly and computes freq(255) and freq(256) wrongly. Wrongly as in the result at freq(255) is the summation of the actual result at freq(255) and freq(256). And freq(256) alw

Tags: image, matlab, image processing
• ## Vidioc_Querymenu: Invalid Argument error2018-03-11

I wrote a code that works fine in windows, but when I bring it over to linux (raspbian) I get VIDIOC_QUERYMENU: Invalid Argument. The section of code that gives me this problem is this section: The rest of the code works fine. Does anybody know how t

• ## How to Plot line using matlab and Radon Transformation?2017-12-29

I used this code to detect lines from images using the Radon Transform function radon(). I = imread('C:\Users\AMiNE\Desktop\sequance 2\Daylight_00010.jpeg'); L=rgb2gray(I); BW = edge(L); imshow(I) figure, imshow(BW) theta = 0:179; [R,xp] = radon(BW,t

• ## Convert indexed image into grayscale2017-10-09

How can I convert an RGB or indexed images into gray scale without using B=ind2gray(A,map) from MATLAB? --------------Solutions------------- I don't understand why you just can't use ind2gray.... but if you really have to implement this from first pr

Tags: image, matlab, image processing
• ## Is there any regularity-detection tool for regions inside an image?2017-10-01

I'm working on MATLAB on some regions inside an image. I'm at a point in which I would like to be able to separate regions which exhibit some kind of regularity (e.g., being circle-ish or square-ish) from regions which does not resemble any known fig

Tags: matlab, image processing
• ## What is the difference between LBP and LBPV?2017-08-12

if the Local binary pattern is efficient approach why came Local binary pattern variance.i need your help. --------------Solutions------------- The local binary pattern (LBP) is an efficient approach for texture classification and is categorized as a

• ## Detecting vehicle at traffic light using Matlab2017-05-12

i have write a code to detect vehicle between two picture.first image is the reference image.the second image is the capture image. the problem is if i want to use live video to detect the vehicle,what code should i add to my code? i want to use live

Tags: matlab, image processing
• ## Delaunay triangulation : Matlab2016-10-13

I was trying to write a code using Delaunay triangulation method and I got a plot with some bunch of triangles. But how can I verify whether what I plotted is correct or not? or whether the triangles are from the desired points or not? I = bwmorph(I,

Tags: matlab, image processing
• ## R raster - counting black pixels within an extent2016-10-04

My question is based upon this. Answers on that page solved the problem that i was facing at that time. My new question is - Below code plots two square on my image. For each square, I want to count how many black color pixels are within it. My origi

Tags: image, image processing, raster
• ## opencv java modify pixel values2016-08-05

I've been trying to convert some opencv C++ code in opencv java and I can't seem to get pixel division to work properly. I take a meanshiftsegmented mat that I convert to grayscale then to 32F. I then compare the most downsampled then upsampled image

Tags: java, opencv, image processing
• ## how to detect edges in an image having only red object2016-05-21

I have an image, in that image all red objects are detected. Here's an example with two images: But when i proceed that image for edge detection method i got the output as only black color. However, I want to detect the edges in that red object. r=im

Tags: image, matlab, image processing
• ## Detection of defacts during video rendering ( which algorithm to use)2016-01-28

I would like the system to pin point/highlight the deformed area to the user during video rendering. Lets say currently I have an image with a list of squares as shown in the image below, this is the original image without defects. In the following i

• ## How to do a bimodal histogram specification using opencv?2016-01-20

I'm equalizing an image before finding the contours as a method of shape detection. This does not always yield good results and I'm wondering how to perform a histogram specification using OpenCV's tools I've found theory on the literature about hist

• ## grayscale image creation 16 bits2015-11-28

I am using openCV for the first time. I am using openCV3 and XCode to code it. I want to create a 16 bit grayscale image but I want to the data I have is defined such that 4000 is the pixel value for white and 0 for black. I have the information for

• ## How would I integrate the contourArea() function in my OpenCV program?2015-10-14

My code is for the purposes of detecting various shapes based off the number of vertices they have. I've finally accomplished that and it works perfectly for simple images like shown here: However for this thresh image: it creates hundreds of shapes

• ## Fast sub-image comparison in C#2015-10-06

I'm working on a photographic mosaic algorithm. There are 4 steps involved: Determine segment regions Determine cost of each candidate image at each segment region Determine best assignment of each candidate image to each segment region Render photog

• ## How to find the most fitting X Colors to represent an image?2015-08-23

Let's say we have an Image with [1..n] pixels of the format (r,g,b). We can now choose X colors also of the format (r,g,b) to generate a second same sized image. Each of these X colors will represent n/x freely choosen pixels of our new image. Now we

Tags: colors, image processing
• ## How to decide which stepPattern to use in DTW algorithm2015-08-23

I'am a little bit confused on which stepPattern to use with DTW algorithm. I have to admit that a month ago i didn't know the existence of that algorithm. So the story starts with a specific type of images comparison. As you can see below, is the way

• ## How to identify if a specific person is present in multiple images. The specific person detail is fetched from a reference image Android2015-07-28

I need to compare multiple images with a reference image, wheather that person in that reference image is present in any of other images. Is this possible. I have setuped OPENCV library and dont know how to use it. I came to know that this library is

• ## matlab code for jpeg compression and decompression2015-03-24

i m working in my project,i have given my code below where i am unable to get the compressed image as well as reconstructed image and cant plot the graph bpp vs psnr.please help me out.its urgent enter code here clc;clear all;close all;`` A=imread('c