Shared Samples

Try out source code samples stored in Bitbucket repositories.
Showing results for 
Search instead for 
Do you mean 

Application imageViewProjected

by Technical Evangelist on ‎09-09-2015 07:13 AM - edited on ‎03-29-2016 11:18 AM by Anonymous (409 Views)

Example Type

Application

 

Purpose

To demonstrate how to use embeded viewer.

To demonstrate how to use re-projection tool.

 

Files

            imageViewReprojected.c         (C source code)

            resource.h                               (Resource header)(windows only)

            Eml.ico                                     (ERDAS Icon)(windows only)

imageViewReprojected.vcproj (Visual Stuido 2005 Project)

imageViewReprojected.dsp     (Visual Stuido 6 Project)

            readme.txt                               (Where to copy, how to run)

 

Interface

 demo.jpg

 

 demo1.jpg

 

How to use

 

 

Button

Meaning

New View

Create a new instance of this program.

Load Image..

load a image to both left and right viewer, so actually both left and right viewer display the same image.

Note: If loaded image doesn’t have a projection, you can not do re-projection.

Fit Left Image

Fit left image to left embedded viewer

Fit Right Image

Fit Right image to Right embedded viewer

Link

will link right image to left image, so if you move left image, right image will move as well.

Default

set default zoom to right image.

Set Projection

Re-projection to Right Viewer. Now left viewer will have original projection, while right viewer will have modified projection.

you will notify the change by looking at the status bar.

The new projection will be stored in temp file, and it will be discarded when close.

 

 

 

 Source Code

https://bitbucket.org/HGDN/hgdn_erdas_imagine/src/e1ade3b7d148b0f2f1aa6427044dfa4bce6226ee/App_image...

 

Overview
Contributors