Click here to Skip to main content
15,887,746 members
Everything / Processing

Processing

processing

Great Reads

by Thomas Nielsen - getCore
This article will take a dive into one of the reasons why code sometimes sands over.
by Grasshopper.iics
Easy Image Inpainting using Local Binary Pattern
by Jochen Haar
Class to manage the content of Comma Separated Value Files or to deal with Structured Tables in memory
by Rick Lunglhofer
Details the Implementation and use of a C Language Interpreter with a browser Interface running on an ESP32

Latest Articles

by Intel
Take Advantage of On-Chip Acceleration of Data Transformation in 4th Gen Intel® Xeon® Scalable Processors
by Jochen Haar
Class to manage the content of Comma Separated Value Files or to deal with Structured Tables in memory
by ADMGNS
A very simple method to resampling points from a digital image and drawing it as antique mosaics, dots (stippling) and Voronoi cells
by Rick Lunglhofer
Details the Implementation and use of a C Language Interpreter with a browser Interface running on an ESP32

All Articles

Sort by Updated

Processing 

18 Dec 2023 by Intel
Take Advantage of On-Chip Acceleration of Data Transformation in 4th Gen Intel® Xeon® Scalable Processors
31 Aug 2022 by FitzEmmy
Hi, I'm trying to complete a project in Processing using python, but I'm completely stumped. I've been at it for days now and I can't seem to get past some parts of it. Here's the full prompt: "You will create an interactive program that will...
31 May 2022 by Jochen Haar
Class to manage the content of Comma Separated Value Files or to deal with Structured Tables in memory
25 May 2022 by thehapiii
Hi there. I'm searching for an algorithm that can remove a range of defined colors from images with high accuracy .For i want it to be fast,the pointers must be used. Can anyone help me out? I have tried the following piece of code, but it's not...
22 Apr 2022 by ADMGNS
A very simple method to resampling points from a digital image and drawing it as antique mosaics, dots (stippling) and Voronoi cells
13 Dec 2021 by Sabah Elhadid
Hi Everyone,� I'm really new to processing and need some help. I hope my description will be explanatory enough.
 I have a set of 2000 jpgs apx. and what I need to do is to create the illusion of the 2k as if they’re moving past the viewers face...
13 Dec 2021 by Richard MacCutchan
To move images in a Window you just need to use a timer and every time it interrupts you should redraw the image at a new position to give the effect of movement. To produce the effects of zooming an image you need to use controls that allow you...
5 Nov 2021 by KINYUA TIMOTHY NJIRU
I am trying to align an image B with another image A, I have a method that should return the transformation that should align B to A with the minimum cost possible. I have gotten the derives to use in the method from a research paper that was...
6 Jun 2021 by Ethan Franco
Hello all, I am currently trying to make the game Hangman using Python in Processing. I have the code to run the game, as well as code for some visuals. The problem is combining the code I've written so far. The game code is written in standard...
7 May 2021 by Yumni
Hi I'm currently working on STM32 and I want to make my speaker work depending on it's PWM generation. I made the clock/pinout configuration and some parts of codes as written below, but I don't get why this code doesn't works. It doesn't make...
23 Mar 2020 by phil.o
First, you should not give the same name to a member field and to the parameter of a method (I'm talking about scale_size). You can even get rid of the parameter entirely and use the member field instead. Second, you are resetting the scale_size...
23 Mar 2020 by DragonNinjaBD
hello, im very new to coding. my college beginner's course uses Java script in Processing 3. for my project, i need to make my avatar scale to a different size every time he goes across the screen. the scaling using a while loop is what im having...
8 Nov 2019 by OriginalGriff
The problem is that when you zoom an image, you don't affect the underlying Bitmap - you just cause the Paint event to "compress" or "expand" the image before drawing it on the user's screen - which means that the "pixel under the cursor" has no direct relationship with the original image, as it...
8 Nov 2019 by larry118
Hi, I found this neat little example on scrolling a regular picturebox in vb .net a while ago. I apologize because I can't give credit where credit is due, but it works great for zooming except for one little problem, actually two. I need to show some info while mousing over the image such as...
8 Nov 2019 by #realJSOP
File size, the number of files and what you're doing to the data are all primary factors. Only you can determine the sweet spot, or if you should even implement any kind of threading.
8 Nov 2019 by Member 14646256
I am new to C# and working on a project. The project reads the multiple .csv files (in a folder) and parse them and show the results in the windows application. Although it processes the files very slow. So i had to ask can i use multithreading for reading files Or is there any other technique...
8 Nov 2019 by Richard MacCutchan
Multithreading is not guaranteed to make a great difference, and will depend on what your code is doing. The first thing to look at is where the slow processing actually occurs. Is the delay due to the speed of getting the data off disk, or in processing it once it's in memory?
8 Nov 2019 by RickZeeland
I would recommend using Task.Factory, see example here: Whats the best way of asynchronous parsing a CSV file in c# - Stack Overflow[^]
31 May 2019 by Rick Lunglhofer
Details the Implementation and use of a C Language Interpreter with a browser Interface running on an ESP32
28 Feb 2019 by Member 14129828
my code without error but don't save any frame. when I pause the video I want to save the current frame. What I have tried: namespace VideoCaptureApplication1 { public partial class Form2 : Form { private Capture _capture = null; Image frame; ...
28 Feb 2019 by Gerry Schmitz
If you didn't "step through the code" with the debugger to see what happened in every intermediate step, how do you expect someone else to? Step through the code and come back when you have a better idea where the problem is because no one else can. It's called "testing".
23 Sep 2018 by Member 13994924
I’m using Processing 3 to code and I'm pretty new but know some basics, so I wanted to make the game Snake. I’ve been able to make the square move in a grid and eat food then spawn new food, but adding a new square is giving me trouble. In the Snake class and void update() I’m trying to create a...
31 Aug 2018 by Slacker007
I think you need to make a cast here for cs in your function discs(). This link might help you or point you in the right direction. java - Cannot Find Method of an Object in ArrayList - Stack Overflow[^]
31 Aug 2018 by Member 13968996
I'm using Processing 3.0.2, and I'm trying to run a function I defined in a class from an ArrayList. Processing says "The function dis() does not exist." when it obviously does. What I have tried: I have an ArrayList called "cs," and it contains "Circle" objects. "Circle" is a class that I...
7 Jun 2018 by OriginalGriff
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action. Try it yourself, you may find it is...
7 Jun 2018 by OriginalGriff
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action. Try it yourself, you may find it is...
22 May 2018 by OriginalGriff
Yes, it's possible - but it's not a job for a beginner in any way. To be honest, it's not a job I'd want to "jump into" without spending a fair amount of time doing research into how to detect the pitch of a playing tune in Javascript: a quick google says it's likely to be possible, but I...
22 May 2018 by Member 13839779
Hey there! I'm a graphic designer and I know some CSS and HTML but I had an idea to complement a project and don't know how to make it happen! I don't mind learning a new language or learning how to make it but don't know what direction to go and don't even know if it's possible to do what I...
1 Dec 2017 by Perić Željko
You could try this : Problem solving - Wikipedia[^] Algorithm - Wikipedia[^] Software development process - Wikipedia[^] All the best, Željko Perić
8 Oct 2017 by Member 13452762
I am learning processing and there is an assignment question that tells me to use while loop to print out random numbers between -100 and 100, then print out the average of those numbers. I know how to do the first part but not the second... What I have tried: I didn't know any alternatives to...
8 Oct 2017 by OriginalGriff
You can create a loop, and inside it you have a variable which holds the current number. All you need is a variable which holds a running total (declare it outside the loop, and initialize it to zero), to add the current number to it each time round the loop, and a count of how many numbers you...
4 Oct 2017 by Member 13445625
Thanks for the reply, I solved it. I added counter and condition with it.
22 Jun 2017 by Member 13269839
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Threading.Tasks; using System.IO.Ports; using System.Windows.Forms.DataVisualization.Charting; ...
18 Apr 2017 by KarstenK
Take a look at the article Multiple face detection and recognition in real time. It handles face detection with opencv. Please use the search box or Google the next time before askimg the Q&A ;-)
18 Apr 2017 by Member 13131673
I need to input a lot of images and using haar detection to detect the people. However, I have some problem using opencv's haar detection. So can anyone give me some hints about how to implement this? What I have tried: I have tried to search some sample codes on my image, but they totally...
10 Jan 2017 by Jakub Szymanowski
The article presents idea and implementation of fundamental algorithms in image processing.
17 Nov 2016 by Richard MacCutchan
See flann in opencv - Google Search[^].
17 Nov 2016 by OriginalGriff
It doesn't quite work like that.We do not do your work for you.If you want someone to write your code, you have to pay - I suggest you go to Freelancer.com and ask there.But be aware: you get what you pay for. Pay peanuts, get monkeys.The idea of "development" is as the word...
13 Nov 2016 by Jack Vanlightly
In this article we'll look at common patterns in batch processing and how the Taskling libraries provide a simple and reliable way of using those patterns in your C# batch jobs.
27 Oct 2016 by Member 12819728
I am reading content from a file to be read into a char array in C. How could I delete words which are uppercase // or which start with a non-vowel? I really cant understand how to save the last c ==> how to check if you have space before vowel.int main (){ FILE* read_me =...
27 Oct 2016 by CPallini
A simple solution would be using a variable containing current state as eitherProcessing a valid word.Processing blanks.Processing a to-be-skipped word.Then, based on current state and next char, your program could establish correctly what to do.
27 Oct 2016 by Member 12819728
Yes indeed, in my opinion I should find a vowel and if we have space before it its TRUE, when we skip everything till other space. And this process continuous
19 Sep 2016 by TatsuSheva
I am doing an application in C# which open exe files like notepad, calculator.So, my aim is when I open an exe file like Word, a button is created automaticallyand then when I close the Word app, the button will be removed.Each app will have its own button when it is launched.I tried to...
14 Sep 2016 by Maciej Los
VisualBasic knows GetObject[^] method, which returns COM object or nothing (null). [EDIT]There's no C# equivalent method, unless you add a reference to Microsoft.VisualBasic (not recommended).Richard Deeming[^] wrote:There is a C# equivalent to GetObject -...
14 Sep 2016 by Alex Banu
this will end any MS Word, maybe this is a start :using System.Diagnostics;...Process[] word_apps= Process.GetProcessesByName("winword");foreach(var word_app in word_apps){ word_app.Kill();}
8 Jul 2016 by Member 12624805
Suppose that we are given the following code:int[] myArray = {4, 5, 6, 1, 2, 3, 21, 20};for (int i = 0; i
8 Jul 2016 by Patrice T
You should learn to use the debugger as soon as possible. Rather than guessing what your code is doing, It is time to see your code executing and ensuring that it does what you expect.The debugger allow you to follow the execution line by line, inspect variables and you will see that there...
7 Jul 2016 by OriginalGriff
Run it through the debugger and it'll become clear.i varies with each pass through the loop: 0, 1, 2, 3, 4So the element you put the value into starts with teh first and moves on to teh second, and so on.The value changes as well, but it starts with:myArray[length -1 - 0]And then...
12 Jun 2016 by David A. Gray
What happens when you have more items in your list than you have items in your control string?
6 Mar 2016 by Jakub Szymanowski
The article presents idea and implementation of Fourier Transform (DFT and FFT algorithms) in Digital Signal Processing.
27 Feb 2016 by razrx
Hi all, i have some problems regarding this code from : Extracting Text From Image (C#.net) ~ BitsByta[^]the provided code was converted into vb.net but i just keep getting this problem "Exception thrown: 'System.Runtime.InteropServices.COMException' in OCRtest.exeAdditional...
27 Feb 2016 by Patrice T
You should learn to use the debugger as soon as possible. Rather than guessing what your code is doing, It is time to see your code executing and ensuring that it does what you expect.The debugger allow you to follow the execution line by line, inspect variables and you will see that there...
5 Dec 2015 by mohitjain012
I was learning hadoop and I come to a doubt :Every slave node consists of a data node and task tracker, every data node consists of data blocks. Suppose we have a data node which has which has 10 data blocks of each size 64 MB.How the data of a data node is processed inside a slave node?...
24 Sep 2015 by Richard MacCutchan
Go to http://aforge.net/[^] and ask on their forums.
24 Sep 2015 by nanimam
Do anybody know about aforge.net filtergraytogray class from aforge.net 1.6.2..from where i can get this class ??i searchd in google..not found....Bec newer version aforge does not include these class file.Pls help ..realy needed
21 Sep 2015 by Thomas Nielsen - getCore
This article will take a dive into one of the reasons why code sometimes sands over.
17 Sep 2015 by Richard MacCutchan
If emgu does not list it then you need to post your query in their forums.Note: this is yet another off-topic question that you have posted. Please read Code Project Quick Answers FAQ[^] and try to do your own searching.
17 Sep 2015 by Richard MacCutchan
Please use Google to research subjects like this.
16 Sep 2015 by silvsten john
Hi...How to include a matlab dll to c# .net project....??Andhow to pack a matlab function in .net project..??
16 Sep 2015 by CPallini
There is no mention of C++ in your question body.Anyway, usually you might call C++ code packaged in a DLL via Platform Invoke[^].
16 Sep 2015 by silvsten john
Hi,Now i am working on an image processing project with c# .net.i required to find slic super pixel segmentation ..Ftom github I got a slic superpixel segmentation project (in c#) using opencv vlfeat...How to add/refer this project to my c# project???pls advice
15 Sep 2015 by User 11060979
First try to understand what CIELAB means. Than you will find that your "so called" Lab* Values are the components of a Lab* Vector in the Lab* ColorspaceIn very short:Lab* is a (three dimensinal) colour space. The "*" Comes from history to make a clear difference between the CIE-LAB space...
15 Sep 2015 by Sergey Alexandrovich Kryukov
This is a plain wrong question, "how differ"? Just learn how this color space works: https://en.wikipedia.org/wiki/Lab_color_space[^].Most questions about "difference" are inherently invalid. If you didn't get it yet, try to tell use the "difference" between apple and Apple. :-)—SA
15 Sep 2015 by silvsten john
Hi guysss..I am working with segmentation now...i need to convert l a b space color values to l a b vector...how its possible..??what is the difference bwn lab values and lab vector??how tp represent lab space vector??
14 Aug 2015 by i00
It seems you are trying to get the top left pixel of text?If you just have text and everything else is transparent you can just load the Metafile and call .GetBounds(Imaging.MetafileFrameUnit.Pixel) on it!Kris
28 Jul 2015 by ZurdoDev
Web code runs on the server. So, the code you have will attempt to launch NotePad on the server. It works when you do it in development because your machine is the server. I think you need to rethink what you are trying to accomplish with web code.
28 Jul 2015 by Kornfeld Eliyahu Peter
You have to go back and learn about web applications...Web - by its nature - is a disconnected application, where the two parts of the application exists and active in an exclusive way...It means that when the server active the client not and when the client active the server not...The...
28 Jul 2015 by Member 10527204
Hello i have added following code in my web application protected void Page_Load(object sender, EventArgs e) { System.Diagnostics.Process.Start("Notepad.exe"); } as an example i am using notepad.exe , actually i want any exe to open from webpage.this...
11 Jun 2015 by CPallini
It all depends on your 'real time' requirements, that is on the speed analog data is collected by the arduino device (an transmitted to your PC, data transmission could be the actual bottleneck). I would use the the language offering the more high level features (and richer library) the...
22 May 2015 by Sergey Alexandrovich Kryukov
It simply means that one of the images happens to have different pixel format. Different formats makes different memory layouts. You have to read the file and then read the property...
22 May 2015 by shreesoft
I want to extract blue color from image, I wrote code for it. I am using lockbits method in C#.24 bit image - BGR [0] = Blue[1] = Green[2] = RedHere is code - BitmapData bitmapdata = bitmap.LockBits ( new Rectangle( ...
6 May 2015 by Sergey Alexandrovich Kryukov
First part of my answer may come at surprise, because it's not even discussed in the Open CV documentation: strict background subtraction, even based on referenced background image (called background model), is theoretically impossible. This is because even two images provides incomplete...
6 May 2015 by Member 11670301
I am building an interactive installation using live video footage. English isn't my native language, sorry for possible mistakes.I want to use live webcam footage. The program should have a reference image of the background and should subtract that from the moving foreground. Every few...
3 Jan 2015 by Richard J. Algarve
Emgu CV - Select ROI (Region of interest) with the mouse in images that do not have the same measurements. This tip was prepared using the framework Emgu CV and C # .NET language.
6 Nov 2014 by Jakub Szymanowski
Article presents the problem of the detection and cancelation of impulse noise in acoustic signals using an Exponentially Weighted Least Squares (EWLS) and next step error prediction analysis.
3 Nov 2014 by Member 11203951
Hi, I have created an SSRS Custom Data Processing Extension to read a file kept on a windows server. I followed the steps given here http://www.codeproject.com/Articles/22946/Implementing-a-Data-Processing-ExtensionThe extension works fine in development box and reads the file correctly...
28 Oct 2014 by Member 11068482
after 4 week i find my problem and i should setup my camera driver and update it for my laptop but when i debug my code it say successful but Many Camera View windows open and after that when i use 'T' for tracking it have troubleshoot occur any body know what is the problem??!!!!i debug it...
26 Sep 2014 by mrinal bisht
I have an array of vaules in A [ ], i need to add gaussian noise to it .I am using this function for gaussian noise generation .double AWGN_generator(){ /* Generates additive white Gaussian Noise samples with zero mean and a standard deviation of 1. */ double temp1_d; double...
14 Sep 2014 by George Jonsson
You should go to the OpenCV official site for support. Welcome to opencv documentation![^]Here is an example from that site that looks like it shows what you want to do.Cascade Classifier[^]Quote:Use the CascadeClassifier class to detect objects in a video stream. Particularly, we will...
7 May 2014 by Richard MacCutchan
Google can[^].
7 May 2014 by Member 10791767
I have heard that FPGA is better than GPU. Can any one tell me why?
1 May 2014 by OriginalGriff
It doesn't quite work like that.We do not do your work for you.If you want someone to write your code, you have to pay - I suggest you go to VWorker.com and ask there.But be aware: you get what you pay for. Pay peanuts, get monkeys
15 Apr 2014 by GuyThiebaut
One way to process this sort of information is to import the data into raw tables at the database side.Then to move the raw data to staging tables and then on to the actual tables making any changes to data when moving data into the staging tables.I would recommend against manipulating...
15 Apr 2014 by Richard C Bishop
After you read the file into a DataTable/DataSet, convert the values in the rows you want to the appropriate numeric datatype. Add them together into another variable and use said variable to update the database with.
15 Apr 2014 by Member 10750764
Hello Y'all,I have a csv file to read through, no problem about reading through and processing it. see table...
29 Mar 2014 by CHill60
Further to Richard MacCutchan's post, someone else was asking a couple of days ago about Image Comparison. There may be more answers posted How To Find The Simillar Image From Couple Of Images[^]
29 Mar 2014 by Richard MacCutchan
And your question is? Although judging by what you have posted it is likely to be something along the lines of "I don't know where to start". Assuming I am correct, you need to use Google to find articles on image comparison, study them and then start to design your application.
29 Mar 2014 by Getrude Chando
I have to differentiate plastic water bottles of different sizes i.e. water bottles of different sizes will pass in front of a camera which will capture their image and brought it to PC for processing and I should be able to count a certain sized bottle and ignore others I have to make the...
17 Mar 2014 by Andreas Gieriet
Have a look at How to subtract one bitmap from another in C#/.NET?[^].CheersAndi
17 Mar 2014 by LyEliza
How do i subtract two images in C#?? i.e. i want the resultant image to contain only the differences. i am a student and new to C#. Pls help me out..i tried converting to color matrix and subtracting it but it didn't work out. MATLAB has direct option for subtracting images(imsubtract()). i am...
23 Feb 2014 by SOHAM_GANDHI
Video write and process image frames. This project has been made in EmguCV 2.4.9 version and Microsoft Visual Studio 2010 platform.
11 Feb 2014 by Uzi Granot
This project will give you the tools needed to compress and decompress files using the Deflate method of compression, and to read and write standard Zip files.
30 Jan 2014 by darne hitaro
A php code sent a query to the database say credentials from login page for verifying and something was returned say TRUE OR FALSE as status. Now my question is, if I do not know the code of the developer who wrote the login form, does there exist any way to find out what query is made to the...
30 Jan 2014 by Member 10562044
You can use this:..............................using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { ...
28 Jan 2014 by darne hitaro
How does request processing works out from the perspective of a php developer? More than that I'm concerned with e.g. once request is parsed through.htaccess ,mapped to the file and respone is sent back. The mechanism of how this response gets sent back to the client is what I eagerly want to...
5 Dec 2013 by Tharaka MTR
How to automate PNG and JPG image optimization
29 Nov 2013 by Mehdy Moini
Implementing a map as a tree, and finding the shortest path, between the streets, is what you will see.
23 Oct 2013 by M Rayhan
Simple wav2mp3 converter console application.
14 Oct 2013 by blitzkrieged
This is a demonstration of splicing an animated GIF (or any image) frame by frame without having to write to the disc.
1 Oct 2013 by Rui Jorge Carvalho
Fast and simple Bitmap processor...