开发者

reading jpeg file based on Mirror Effect,Brightness and zoom Level

I am working on the gateway Simulator where Simulator will stream image/video to Data center I have JPEG file for 30 min(lot of individual JPEG images).

Data Center Center can request video/Image with varying value of these parameter.

Image Option

1. Mirror Effect (None,Column,Row,Row / Column)

2. Brightness (Normal,Intense Light,Low Light,MAX)

3. Zoom Level (1X, 2X, 4X, 8X)

Capture mode

Single S开发者_JS百科napshot- requests one image from the camera

Burst Number- NUMBER will gather N (1-65535) number of images from the camera

Burst Second-option produces a stream of images and will go until a CancelImageRequest command is sent

Continuous- option produces a stream of images and will go until a CancelImageRequest command is sent

Round-Robi-, is a mode to allow the user to get a single snapshot from each active and selected sensor

Schedule Continuous- THis is similar to Continuous except timing.

Now I need to read JPEG files based above mentioned option and send it to data center.

  1. I wanted to how I can enforce these Image option while reading the data.
  2. is there any Api which will allow reading JPeg imges on following Image option.
  3. If you have any suggestion please go ahead.


GDI+ has an Image class that can load JPEGs and manipulate them -
http://msdn.microsoft.com/en-us/library/ms534462%28VS.85%29.aspx
If you don't find then manipulation you're looking for you can use the Bitmap class that ingerits from Image and the BitmapData class that allows you direct access to pixels
http://msdn.microsoft.com/en-us/library/ms534420%28VS.85%29.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜