How to create a grayscale georaster image

Hi,
This is the code that i am using to create a georaster template image.
sdo_geor.createTemplate(idw_img, 21001,
'dimSize=(512,512,3) cellDepth=32BIT_REAL interleaving=BIP ',
null, 'TRUE');
Anyways, the above code works and when i try to export, i can see a rgb image file.
But, i need to create a grayscale image. Can anyone let me know how can i specify and create a grayscale georaster image. Please note that my cell values are decimals type.
Thanks,
Bal

Balaji,
In your second command, you copied the "*" from my post. That is not part of the command. It supposed to turn the text into bold. Sorry for the misunderstanding.
My suggestion was for you to try to work with a single-band image. I don't know what are the other commands you have in your code but are you sure that the error message "invalid band and layer number" is coming from sdo_geor.createTemplate? You might have some code after that is still expecting the 3 bands and that is where the error is coming from.
So here is the summary:
If what you want to see is a "grayscale" image and your data type is 32BIT_REAL, there is no need to 3 bands. If you have to have 3 bands. You can use GeoRasterViewer and play with the option "View>Show Layer Mapping" or alt+p to select the band you want to see. If you want to see band 1, select "1" for Red, "1" for Green and "1" for Blue and click on "Refresh".
Photo viewers can only handle well unsigned 8 bit integer. I suspect. On GeoRasterView you might try the "Image" processing option to find the best representation of the cell values of that image.
Regards,
Ivan

Similar Messages

  • How to create a seperate database image / disk?

    Has anyone found a way how to create a database image like the one Oracle provides for 11g to be used in conjunction with a system image (I'm refering to the "guest templates" Oracle offers)?
    I would like to create an image from an Oracle 10g R2-database, that ends up as a Xen-mountable image (e.g. "oracle10g.img"). So without the Linux OS inside. The OS wil reside in "system.img".
    So in the end the vm.cfg disk-entry will look like this:
    disk = ['file:/OVS/running_pool/1_vm_server_1/system.img,hda,w',
    'file:/OVS/running_pool/1_vm_server_1/oracle10g.img,hdb,w',
    ',hdc:cdrom,r',
    ]TIA!

    Bump... [No/any]one?

  • How to create a SelectItem with image before the label text?

    How to create SelectItems with image before the label text for selectMulitpleChoice, selectOneChoice, selectOrderShutltle, etc?

    you have to create a custom selectoechoice for this.. to have an image next to the seelct items..
    as mentioned above..
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/55-selectonechoicewithimages-170420.pdf

  • How to create a pop up image button?

    I want to know how to create a button, for when it is selected, an image pops up right next to it. Is there any way to do this? If so, how? Thanks for any help!

    Select the thumbnail image and link it to the larger image file.
    Use DW Behaviors Panel and hit the plus + sign.
    Choose Open Browser Window.  This will invoke another panel for adjusting the size and other attributes of your pop-up window.
    Hit OK.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to create server 2012 R2 image to be used as template for cloud?

    Hi,
    I need help to create windows server 2012R2 image that can be used as template for AWS or Azure or any other cloud provider.
    VM created from that template must
    1) be syspreped
    2) answer all setup questions
    3) must change computer name to unique name
    4) must automatically join VM to on-premise domain.
    I need Microsoft supported way to do that. Does creating unattended answer file will help? But, I don't want to provide domain joining credentials in plain text. Where should I keep that answer file so that it can be used during setup process.
    Is there any other ways to achieve that.
    Thank you.

    Hi ninenince,
    You can refer the following KB to hide the sensitive data in answer file, this is more about the MDT issue there have a specific forum to support the MDT question, more further
    about the MDT question please post to the MDT support forum.
    MDT support 
    forum:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=mdt
    The related KB:
    Hide Sensitive Data in an Answer File
    https://technet.microsoft.com/en-us/library/cc722019%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396
    How To encrypt a password in unattendend.xml
    https://social.technet.microsoft.com/Forums/windows/en-US/5e6a97b5-186c-40dd-a165-2cc3e7eb2682/how-to-encrypt-a-password-in-unattendendxml
    Additional, we can use a low permission account for the domain join action.
    The related third party article:
    Minimum Permissions Required for Account to Join Workstations to the Domain During Deployment
    https://jonconwayuk.wordpress.com/2011/10/20/minimum-permissions-required-for-account-to-join-workstations-to-the-domain-during-deployment/
    I’m glad to be of help to you!
    *** This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these
    sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use
    of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet. ***
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • PSE12: How to create gridlines on the image page then converted into a pdf? [was: N276]

    I want to download an image from the internet, for example, batman, create gridlines on the image page then converted into a pdf.  where on adobe photo shop element 12 can I do this.

    On way is to define a pattern:
    https://forums.adobe.com/thread/875370?tstart=0
    Another way is this neat free grid generator filter:
    http://www.richardrosenman.com/software/downloads/
    1. Add a blank layer above the picture layer, fill with white, and set Blend Mode to Multiply.
    2. Apply the filter. There are many options. Here I chose black lines on white background with 20 square boxes across. Note that the background should be pure white (255,255,255) so as not to change the original picture.
    You can also find lots of grid images on the Internet, for example a Google search on "grid" or "grid paper". As in the previous method, add this image above your picture and set its Blend Mode to Multiply.  Again, the background should be pure white.

  • How to create a full system image for Solaris 10 with ZFS

    Dear friend,
    could you please advice which way to create a full system image for Solaris 10 with ZFS is trusted and practically used?
    I'm searching the analogy like Norton Ghost or Acronis True Image but with ZFS support.
    I have x86 server Sun Netra X4270.
    Thanks in advance,
    Dina

    One more question Filip,
    is it correct, that I should make 2 separate backup for ispool and rpool?
    And is it important in which order to restore them from backup?
    bash-3.2# zpool list
    NAME    SIZE  ALLOC   FREE  CAP  HEALTH  ALTROOT
    ispool  136G  8.08G   128G   5%  ONLINE  -
    rpool   136G  44.1G  91.9G  32%  ONLINE  -
    bash-3.2# zfs list
    NAME                             USED  AVAIL  REFER  MOUNTPOINT
    ispool                          8.08G   126G    31K  /ispool
    ispool/iserver                  8.08G   126G  8.08G  /export/home/iserver
    rpool                           44.4G  89.5G  46.5K  /rpool
    rpool/ROOT                      39.1G  89.5G    31K  legacy
    rpool/ROOT/firstbe              39.1G  89.5G  14.1G  /
    rpool/ROOT/firstbe/export       20.1G  89.5G    32K  /export
    rpool/ROOT/firstbe/export/home  20.1G  89.5G  20.1G  /export/home
    rpool/ROOT/firstbe/opt           651M  89.5G   133M  /opt
    rpool/ROOT/firstbe/opt/SMAW      518M  89.5G   518M  /opt/SMAW
    rpool/ROOT/firstbe/usr          3.45G  89.5G  3.45G  /usr
    rpool/ROOT/firstbe/var           867M  89.5G   867M  /var
    rpool/dump                      1.00G  89.5G  1.00G  -
    rpool/swap                      4.25G  89.8G  4.00G  -
    Br,
    Dina

  • How to create an animation with Image Sequence?

    Im have Quicktime Pro and I want to make an animation. I tried selecting some pictures I have saved "random," but I could only select 1 at a time. So, Im thinking that making an Image Sequence is a separate operation from making it come alive? My question, how do I create an "image sequence?" Say I have a digital cam and I take 20 pictures? Thanks!

    NEVERMIND!!!! I figured it out!! So once I have all the photos (ex: 1,2,3,4,5,6,7...) in a folder, I open image sequence with photo 1 and then it automatically collects the other images! Got it! Im sorry!!

  • How to create read only disk image?

    I used to be able to create read-only encrypted disk images with Disk Utility in Mac OS 10.4.x (Tiger). In the Leopard version (10.5.7) of Disk Utility, the 'read only' option seems to be gone (but I can still do encryption). Does anyone know how this can be done?

    A blank empty read only disk image has never been possible. If it's read-only, it cannot be modified, and so it would be blank and empty forever. Not much point in that.
    If you want read-only and encryption on your finished disk image, you'll have to put your files into a folder, and then do File -> New -> Disk image from folder.

  • How to create a full windows image recovery partition ?

    Hi,
    It's been about a month since I remplaced my HDD, because the original one which has the recovery partition was currupted...
    So, I had to do a clean windows 8.1 x64 installation using my embedded windows 8 key
    Now I would like to create a recovery partition with a full windows image that can be executed with F10 on the start up. just like the one that came with the original HDD
    Please help...
    Thanks in advance !

    Be sure and request a usb recovery flashdrive. The cost is usually around $30.00 USD
    Ordering recovery media from HP
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • How to create table and insert images and audio files ...

    hello to all , i am doing my b.e cse .
    at current v r studing DB and pl/sql codes ....
    i just need to know simple way of code to insert images and audio files in a table .
    i tried some of these ,
    CREATE TABLE myTable(Document varbinary(max))
    INSERT INTO myTable(Document)
    SELECT * FROM
    OPENROWSET(BULK N'C:\Image1.jpg', SINGLE_BLOB)
    but not workiing
    it shows some errors.
    i use oracle 10g. thank u :) and also i tried using blob and bfile datatypes , table created but cannot insert values !
    ROBOK

    hello to all , i am doing my b.e cse .
    at current v r studing DB and pl/sql codes ....
    i just need to know simple way of code to insert images and audio files in a table .
    i tried some of these ,
    CREATE TABLE myTable(Document varbinary(max))
    INSERT INTO myTable(Document)
    SELECT * FROM
    OPENROWSET(BULK N'C:\Image1.jpg', SINGLE_BLOB)
    but not workiing
    it shows some errors.
    i use oracle 10g. thank u :) and also i tried using blob and bfile datatypes , table created but cannot insert values !
    ROBOK

  • How to create a full phone image from a Screen Capture?

    I have an app that I'm trying to market and want to use a full image of the iPhone with screen shots from my app
    The image would look similar to this
    http://draykenobi.files.wordpress.com/2009/08/iphone-app-store1.jpg
    The difference is that my screen capture would be shown on the iPhone. I know how to do the screen capture, but I really like the look with the phone around it.
    I have photoshop, but can't seem to find any templates where I could just add my screen shot into the psd.
    Does anyone know of how I can achieve this easily. Maybe there's an app that does this?
    Thanks

    iPhone images made available from Apple are here:
    http://www.apple.com/pr/products/iphone/iphone.html
    BUT The TOS state they can only be used for editorial purposes.
    We are looking at doing a billboard campaign to promote our App. Anyone know who to contact regarding using the images for advertising?

  • How to create a complete new image for Satellite A100 PSAA9E ?

    My Satellite A100 PSAA9E is so incredible slow that I think the only option is to uninstall everything. Mean how can I restore my laptop to its original condition inlc. latest driver units.
    best regards,
    stef

    Hi,
    Before making a new installation you can clean your system using software like TuneUp utilities. it's shareware but you can use it free for a month. It cleans the registry, removes duplicated files, and...
    If you want to restore to it's original condition, use recovery disks or Hdd recovery image (Pressing F8 on startup). If you didn't burn and hdd recovery image gone, you can order from Toshiba for money or get windows copy for installation (all the drivers you can find on Toshiba driver page)
    Greets

  • How to create a disjointed rollover image?

    Really need some help guys!
    I want to recreate this http://www.pacsun.com/on-the-byas/atlas-marled-zip-hoodie-1580810.html?start=2&cg=mens-hoo dies-fleece . When you rollover a differant angle on the sweatshirt it makes it so thats the enlarged photo. Does anybody have any idea on how to do that? Thanks!!

    Hello TyHoba,
    you could have a look at http://www.dynamicdrive.com/ > search "Featured Image Zoomer":
    http://www.dynamicdrive.com/search/search.php?zoom_query=Featured+Image+Zoomer+&zoom_per_p age=10&zoom_and=1&zoom_sort=0&x=6&y=7
    I use the first one of the long list.
    Good luck!
    Hans-Günter

  • How to create thumbnail of an image

    i have an image item in which i am uploading jpg files.
    i set the Sizing Style Property to Adjust but it creates uploaded image's height and width less compared to my image item's height and width.
    what would i do to display image of my image item's height and width?
    thanks in advance..
    i am working with oracle forms 10g.
    Edited by: rupearlkaushal on Jun 10, 2012 9:33 PM
    Edited by: rupearlkaushal on Jun 11, 2012 3:48 AM

    hi
    did you try to set Sizing style Crop to Adjust?
    oR
    check the following.
    http://spendolini.blogspot.com/2005/10/manipulating-images-with-database.html
    hope this helps you.
    sarah

Maybe you are looking for

  • How do I find 'Other' when it comes to my hard drive so I can delete unwanted files?

    Can someone please help me with this problem? When pulling up my system profiler, the catagories under storage are: Audio Movies Photos Apps Backups Other How do I find where the files that are located in the 'Other' group. So I can delete unwanted f

  • Help With Airport Extreme and External Hard Drive

    I just purchased the Airport Extreme and I couldn't have been happier. I have attached my western digital external hard drive, but I have run into a slight problem/dilemma which I'm hoping someone who is apple savvy can help me out. I live in a house

  • Other using all available space after update to iOS 8.3

    Before updating I had at least 10GB of free space, but ever since I updated to iOS 8.3, I am repeatedly receiving the Storage Almost Full error.  The last couple days I have deleted 2 or 3 GB of data and apps to free up space, but the error returns t

  • Web Server 6.1 - How recovery Key Pair File Password

    I have installed Sun Web Sever 6.1, i am initialized Trust Database, then I generate Request a Certificate for verisign, then verisign send me the Certificate but when i tray install the certificate he say me invalid password, I dont remenber the Key

  • Removal of grouping icon on advanced datagrid

    Hi Is it possible to remove the folder icon when you having grouping on the advanced datagrid? I ve done some googling but cant find a solution. Cheers Shaun