From: Oscar K. <osc...@ra...> - 2018-03-01 16:39:47
|
When you implement the sensor model, including the automatic detection of the metadata through the sensor model factory system, orthoigen will automatically include your sensor model when you load the image. Just make sure your model factory is registered with the ossimProjectionFactoryRegistry, I assume the image is in a supported format (TIFF?) When orthoigen loads an image, part of the open is to query the ossimProjectionFactoryRegistry for a projection (specifically a sensor model in your case). If your model can successfully instantiate itself from the available metadata on disk, the projection registry will return that instance to orthoigen. You just need to make sure that there isn't another model (RPC for example) that will find its own metadata in the TIFF or separate file (e.g., a .RPB file), because it would be returned before your model. You can add your model to the front of the registry to make sure your factory has the first opportunity to create your model. Look at the existing code and follow the execution using your IDE. You can run "ossim-info -p <image-filename>". This will exercise the factory code. Oscar <http://www.radiantsolutions.com/> Oscar L Kramer Senior Software Engineer +1.863.703.4535 office <//+1.863.703.4535> osc...@ra... On Thu, Mar 1, 2018 at 1:46 AM, Vedant Kolarkar <ved...@gm...> wrote: > Sir, > I want to implement a new model for CARTOSAT sensor. Previously I > used ossim's quickbirdrpc model for orthorectification using orthoigen. Now > i want to do the same for cartosat images. I'll go through the link you > shared and try to create a new class. After creating a new model, is it > possibe to interface orthoigen with it?? Thank you for your help. > > On Wed, Feb 28, 2018 at 9:24 PM, Oscar Kramer <oscar.kramer@ > radiantsolutions.com> wrote: > >> Sorry for all the repeat emails. I'm having trouble with the list server. >> >> >> <http://www.radiantsolutions.com/> >> >> Oscar L Kramer >> Senior Software Engineer >> +1.863.703.4535 office <//+1.863.703.4535> >> osc...@ra... >> >> On Wed, Feb 28, 2018 at 12:30 AM, vedantkolarkar < >> ved...@gm...> wrote: >> >>> Is it possible to use ossim-orthoigen in sensor modelling, if not can i >>> make >>> a new sensor model and incorporate orthoigen in it?? >>> >>> >>> >>> -- >>> Sent from: http://osgeo-org.1560.x6.nabble.com/Ossim-developer-f3764496 >>> .html >>> >>> ------------------------------------------------------------ >>> ------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> _______________________________________________ >>> www.ossim.org >>> Ossim-developer mailing list >>> Oss...@li... >>> https://lists.sourceforge.net/lists/listinfo/ossim-developer >>> >>> >> >> >> >> This electronic communication and any attachments may contain >> confidential and proprietary information of DigitalGlobe, Inc. If you are >> not the intended recipient, or an agent or employee responsible for >> delivering this communication to the intended recipient, or if you have >> received this communication in error, please do not print, copy, >> retransmit, disseminate or otherwise use the information. Please indicate >> to the sender that you have received this communication in error, and >> delete the copy you received. >> >> DigitalGlobe reserves the right to monitor any electronic communication >> sent or received by its employees, agents or representatives. >> >> > -- This electronic communication and any attachments may contain confidential and proprietary information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee responsible for delivering this communication to the intended recipient, or if you have received this communication in error, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this communication in error, and delete the copy you received. DigitalGlobe reserves the right to monitor any electronic communication sent or received by its employees, agents or representatives. |