Image recognition

I would like to do some work with nitty-gritties of computer visualization. I am looking for a way to read individual pixels of data, analyze them programmatically, and modify them. Which language is best suited for this (Python, C ++, Java ...)? What is the best file format?

I do not need super-fantastic software / APIs ... I am looking for basic principles.

+5
source share
10 answers

If you need speed (you probably always want speed with image processing), you will definitely have to work with raw pixel data. Java has some real flaws, since you cannot access memory directly, which makes access to pixels rather slow compared to direct access to memory. C ++ is, of course, the language of choice for production, using image processing. But you can, for example, also use C #, since it allows you to use unsafe code in certain areas. (Look at the scan0 property of the bitmapdata class pointer.) I have successfully used C # for image processing applications, and they are certainly much faster than their Java counterparts. I would not use any scripting language or java for such a purpose.

+7

, , , Python. , PIL ( Python), ( , , desaturate, crop ..), .

, , , , ( , ).

+4

C/++ , , , C, , .

+2

( OP, - , , , .)

, - , , , , , . , C/++ Intel IPP (, Intel).

+1

(, ), Python http://www.scipy.org/PyLab - , .

+1

, .

- , ++ - .

, java. , , java . , , - . Java API ( , java2d. API)

++ ( python), , . libgd

+1

? . , , Python Java ( ) . ++, , , Java-, . - ( OpenCV) , , ++.

+1

: ++ OpenCV

+1

, , , .

: , , , .

, , , :

  • C, . , , ( ), , . , C-.
  • Octave/MatLab: , C, . , , . , , , .
  • Python: -- , , Google Facebook. , , Python, . , ( , ), , Python , OpenCV. , , Octave/MatLab.

, , , .

, wetware (), , , .

, , , C/++, Saint Graal : . -, , , ( , ), -, , , C/++.

Of course, you can always do all of the above in C / C ++, but how much time are you willing to spend to reinvent the wheel?

+1
source

Short answer? I would say that in C ++ you have much more flexibility in working with raw memory fragments than with Python or Java.

0
source

All Articles