学图像处理和软件开发哪个好找工作
学好了都是好找
用安卓语言开发一款图片处理软件,开发思路是怎么样的?
图形处理需要用到OpenCV 你先把要做的功能类写出来 然后写一个主的activity,可以选择图片,然后调用功能类做图片处理,然后保存到指定位置
想从事图像处理软件工程师 应该具备哪些软件,编程语言呢?
离散余弦变换的知识,photoshop几乎人人都会用,要是可以自己用C或C++、JAVA等等开发出一个软件,那就牛了.祝你好运!
用C++加上OpenCV进行图像处理开发
整个项目的结构图:
编写DetectFaceDemo.java,代码如下:
[java] view
plaincopyprint?
package com.njupt.zhb.test;
import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.core.MatOfRect;
import org.opencv.core.Point;
import org.opencv.core.Rect;
import org.opencv.core.Scalar;
import org.opencv.highgui.Highgui;
import org.opencv.objdetect.CascadeClassifier;
//
// Detects faces in an image, draws boxes around them, and writes the results
// to “faceDetection.png”.
//
public class DetectFaceDemo {
public void run() {
System.out.println(“\nRunning DetectFaceDemo”);
System.out.println(getClass().getResource(“lbpcascade_frontalface.xml”).getPath());
// Create a face detector from the cascade file in the resources
// directory.
//CascadeClassifier faceDetector = new CascadeClassifier(getClass().getResource(“lbpcascade_frontalface.xml”).getPath());
//Mat image = Highgui.imread(getClass().getResource(“lena.png”).getPath());
//注意:源程序的路径会多打印一个‘/’,因此总是出现如下错误
/*
* Detected 0 faces Writing faceDetection.png libpng warning: Image
* width is zero in IHDR libpng warning: Image height is zero in IHDR
* libpng error: Invalid IHDR data
*/
//因此,我们将第一个字符去掉
String xmlfilePath=getClass().getResource(“lbpcascade_frontalface.xml”).getPath().substring(1);
CascadeClassifier faceDetector = new CascadeClassifier(xmlfilePath);
Mat image = Highgui.imread(getClass().getResource(“we.jpg”).getPath().substring(1));
// Detect faces in the image.
// MatOfRect is a special container class for Rect.
MatOfRect faceDetections = new MatOfRect();
faceDetector.detectMultiScale(image, faceDetections);
System.out.println(String.format(“Detected %s faces”, faceDetections.toArray().length));
// Draw a bounding box around each face.
for (Rect rect : faceDetections.toArray()) {
Core.rectangle(image, new Point(rect.x, rect.y), new Point(rect.x + rect.width, rect.y + rect.height), new Scalar(0, 255, 0));
}
// Save the visualized detection.
String filename = “faceDetection.png”;
System.out.println(String.format(“Writing %s”, filename));
Highgui.imwrite(filename, image);
}
}
package com.njupt.zhb.test;
import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.core.MatOfRect;
import org.opencv.core.Point;
import org.opencv.core.Rect;
import org.opencv.core.Scalar;
import org.opencv.highgui.Highgui;
import org.opencv.objdetect.CascadeClassifier;
//
// Detects faces in an image, draws boxes around them, and writes the results
// to “faceDetection.png”.
//
public class DetectFaceDemo {
public void run() {
System.out.println(“\nRunning DetectFaceDemo”);
System.out.println(getClass().getResource(“lbpcascade_frontalface.xml”).getPath());
// Create a face detector from the cascade file in the resources
// directory.
//CascadeClassifier faceDetector = new CascadeClassifier(getClass().getResource(“lbpcascade_frontalface.xml”).getPath());
//Mat image = Highgui.imread(getClass().getResource(“lena.png”).getPath());
//注意:源程序的路径会多打印一个‘/’,因此总是出现如下错误
/*
* Detected 0 faces Writing faceDetection.png libpng warning: Image
* width is zero in IHDR libpng warning: Image height is zero in IHDR
* libpng error: Invalid IHDR data
*/
//因此,我们将第一个字符去掉
String xmlfilePath=getClass().getResource(“lbpcascade_frontalface.xml”).getPath().substring(1);
CascadeClassifier faceDetector = new CascadeClassifier(xmlfilePath);
Mat image = Highgui.imread(getClass().getResource(“we.jpg”).getPath().substring(1));
// Detect faces in the image.
// MatOfRect is a special container class for Rect.
MatOfRect faceDetections = new MatOfRect();
faceDetector.detectMultiScale(image, faceDetections);
System.out.println(String.format(“Detected %s faces”, faceDetections.toArray().length));
// Draw a bounding box around each face.
for (Rect rect : faceDetections.toArray()) {
Core.rectangle(image, new Point(rect.x, rect.y), new Point(rect.x + rect.width, rect.y + rect.height), new Scalar(0, 255, 0));
}
// Save the visualized detection.
String filename = “faceDetection.png”;
System.out.println(String.format(“Writing %s”, filename));
Highgui.imwrite(filename, image);
}
}
3.编写测试类:
[java] view
plaincopyprint?
package com.njupt.zhb.test;
public class TestMain {
public static void main(String[] args) {
System.out.println(“Hello, OpenCV”);
// Load the native library.
System.loadLibrary(“opencv_java246”);
new DetectFaceDemo().run();
}
}
//运行结果:
//Hello, OpenCV
//
//Running DetectFaceDemo
///E:/eclipse_Jee/workspace/JavaOpenCV246/bin/com/njupt/zhb/test/lbpcascade_frontalface.xml
//Detected 8 faces
//Writing faceDetection.png
package com.njupt.zhb.test;
public class TestMain {
public static void main(String[] args) {
System.out.println(“Hello, OpenCV”);
// Load the native library.
System.loadLibrary(“opencv_java246”);
new DetectFaceDemo().run();
}
}
//运行结果:
//Hello, OpenCV
//
//Running DetectFaceDemo
///E:/eclipse_Jee/workspace/JavaOpenCV246/bin/com/njupt/zhb/test/lbpcascade_frontalface.xml
//Detected 8 faces
//Writing faceDetection.png
图形图像软件开发用的什么工具
现在有很多图形处理库,你学习下你面的函数在应用到你的软件就行了. 2D,3D的都有.
安卓android开发–图像处理
File dir = new File(FILE_DIR);
if (!dir.exists()) {
dir.mkdirs();
}
File bitmapFile = new File(FILE_DIR + bitmapName);
if (!bitmapFile.exists()) {
bitmapFile.createNewFile();
}
FileOutputStream fos = new FileOutputStream(bitmapFile);
bitmap.compress(Bitmap.CompressFormat.PNG, 100, fos);// PNG是透明的,JPEG则是不透明的
fos.close();
这是我从我代码里贴的,希望可以帮助到你
想买个笔记本,做图像处理、软件开发用,要求NviDIA独立显卡,处理器至少是i5的.求建议!!
这个的话 主流五千到七千左右的价位笔记本都能做到了 要商务点的 就ThinkPad 要好看的 就sony 要一般的 dell 华硕
C++图像处理和Android开发哪一个比较好呢
从今年找工作的角度来讲可能图像处理热门一点,可以去研究所,不像公司那么累,要的地方也多点,公司研究所都要.当然如果你学得特别好,哪一个都不错.总体来讲,软件方面,感觉今年弄数字图像处理的比较好找工作.当然,如果你是几年后毕业,具体什么就业形势还不一定,还是自己好好学吧.
开发图像处理软件用什么语言比较好
opencv只是图像处理函数库提供简单的文件读取,图像显示功能要实现界面,还是要用vc,然后文档里用opencv函数读图视图里,用ondraw显示图像,不过还是比较麻烦,要知道windows显示图像的机制
本人研一,做图像处理软件开发,想把硬件也学些,准备学ARM或DSP,不知道该如何选,怎么开始
没学过单片机也罢 做图像处理直接上DSP 没必要非倒回去再学单片机了 模数电对你的硬件设计会有一定帮助 做软件开发也最好要有块开发板 去DSP论坛转转 现在做图像的挺多