从外部相机导入图像,将其命名为 [英] Import an image from an external camera, crop it name it

查看:76
本文介绍了从外部相机导入图像,将其命名为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个可以从外部相机(canon dslr)导入图像的程序,它将被插入到计算机中,我想要裁剪图像,对每个图像进行相同的裁剪(即图像可能是5600像素根据图像的高度和宽度,2000像素将减少到4000像素×1500像素(中央雕刻)。



问题



我需要使用相机的哪些信息,并让程序识别相机(驱动程序等?),并从相机导入图像,(我想也许可以使用一些可以拍摄图像的软件并将其放在一个文件中,然后从文件中取出)可能会使它更容易,



并且是否有任何裁剪功能预制/拍摄并变成一个数组等或什么不是



注意,我是新手



我尝试过:



i到目前为止还没有尝试过任何事情,我所经历的所有答案都是针对WEBCAMS的外部相机,

i want to create a program which can import an image from an external camera (canon dslr) which will be plugged in to a computer, i want the image to be cropped, same cropping for every image(i.e image maybe 5600pixels by 2000 pixels will be reduced down to 4000pixels by 1500 pixels(CENTRALLY CROPPED), based on height and width of image.

THE QUESTION

what information will i need to use the camera, and have the program recognise the camera (drivers etc?), and import images from the camera, (im thinking maybe use some software that can take the image and place it in a file then take it from the file) might make it easier,

and is there any crop functions pre made/ take an immage and turn into an array etc or what not

note, im a newbie

What I have tried:

i havent tried anything thus far, all the answers i have been through are for WEBCAMS not external cameras,

推荐答案

这不是新手会发现容易的东西,因为你需要知道的东西太多了。我建议开始熟悉Java(参见 Java™教程 [ ^ ])。一旦熟悉了语言,就可以继续进行图像处理等工作。
This is not something that a newbie would find easy as there are too many things you need to know. I would suggest getting comfortable with Java to start with (see The Java™ Tutorials[^]). Once you are familiar with the language you can go on to things like image processing etc.


这篇关于从外部相机导入图像,将其命名为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆