Can we generate  shares from a one dimensional image

hi friends,
we are doing a project on image processing.....i had taken an image and divided into 8 by 8 block and applied DCT
on the block resulting in two dimensional coefficients...using zig zag transformation i converted into 1-dimensional coefficients...now,after the encoding procedures i need to generate two shares....can anyone help me with this?

i just used the default DEPT table ...n used the code under when_button_pressed
DECLARE
CURSOR C1 IS
SELECT DEPTNO,DNAME,LOC
FROM DEPT;
filename VARCHAR2(256);
ConvID PLS_INTEGER;
AppID PLS_INTEGER;
Buffer VARCHAR2(5);
I NUMBER(3):=1;
J NUMBER(5):=1;
V_NUMBER VARCHAR2(5);
LEN NUMBER(5);
DNAME VARCHAR2(14);
LOC VARCHAR2(13);
OUT_FILE TEXT_IO.FILE_TYPE;
BEGIN
filename := GET_FILE_NAME(File_Filter=> 'EXCEL Files (*.XLS)|*.XLS|',DIALOG_TYPE=>2);
OUT_FILE:=TEXT_IO.FOPEN(filename,'W');
TEXT_IO.FCLOSE(OUT_FILE);
AppID := DDE.App_Begin('C:\Program Files\Microsoft Office\Office11\EXCEL.EXE'||' '||filename,DDE.APP_MODE_MINIMIZED);
--DDE.APP_FOCUS(APPID);
ConvID := DDE.Initiate('EXCEL.EXE',filename);
FOR R IN C1
LOOP
DDE.POKE(ConvID,'R'||J||'C1',R.DEPTNO,DDE.CF_TEXT,1000);
DDE.POKE(ConvID,'R'||J||'C2',R.DNAME,DDE.CF_TEXT,1000);
DDE.POKE(ConvID,'R'||J||'C3',R.LOC,DDE.CF_TEXT,1000);
J:=J+1;
END LOOP;
TEXT_IO.FCLOSE(OUT_FILE);
EXCEPTION
WHEN DDE.DDE_APP_NOT_FOUND THEN
MESSAGE('APP NOT FOUND');
WHEN DDE.DDE_APP_FAILURE THEN
MESSAGE('APP FAILED');
WHEN DDE.DDE_INIT_FAILED THEN
MESSAGE('INIT FAILED');
WHEN DDE.DMLERR_NO_CONV_ESTABLISHED THEN
MESSAGE('CLIENT FAILED TO ESTABLISH CONVERSATION');
WHEN OTHERS THEN
MESSAGE(SQLERRM);
END;
Now when i press the button this is what i get...
C:\Documents.xls cannot b found check the spelling of the file and file name location is correct
C:\and.xls cannot b found check the spelling of the file and file name location is correct ''
settings\administrator\My.xls cannot b found check the spelling of the file and file name location is correct

Similar Messages

  • I am using an NI PCI 6024 E board device for an analog output application. Can I generate two independent waveforms, one on each analog output channel?

    I am using an NI PCI 6024 E board device for an analog output application. Can I generate two independent waveforms, one on each analog output channel? In attach I send a example of my vi to control one chanel, but i need to control both but with diferent waveforms.
    Is the vi correctly programed to this propose?

    Yes you should be able to do that. look at the signal generation examples shipped with LabView
    You can create a 2 D array, with each row representing a wave form per channel. The number of points of the wave form (per row of the 2 D array) represent the number of points in the output buffer
    The wave forms can have different amplitudes/shapes, and therefore they are independent in this sense.
    However, you need to set the update rate,which is the same for both channels. The update rate together with number of points per buffer determines the frequency of the wave forms. This means the two wave forms will have the same frequency.
    To have different frequencies, you need to have say, on wave form with one cycle per buffer, and the other waveform have 2 cycles
    per buffer. in a case like that the frequency of the second channels is twice that of the first channel, and so on
    The two wave forms are then not truly independent, they may have different amplitudtes/shapes, but related in frequency.

  • Can you home share from a Mac to pc? I can only see the music list on the pc; it won't drag or copy to pc.

    Can you home share from a MacBook to a pc? I am only able to see the music list. I can play the music but it won't copy or drag to the pc. Thanks!

    http://support.apple.com/kb/HT3819 Are both computers activated on your account?

  • How can I generate email from report 6i.

    Dear Sir,
    When I click on e-mail button on report 6i (Win2k User) Generate following error:-
    Rep-4203 error occurred while a mail message.
    Rep-4220 There is a problem with the email subsystem.
    When I generate report from administrator then email generated no error occurred.
    Please help me how can I generate email from report 6i without administrator rights.
    Thanks and Regards
    Brij

    You can try this at form that calling your report;
    add_parameter(p_id,'DESFORMAT','HTML');
    hope this helps...
    defne
    ps: raporu cagiridigin form program units'ine, bu add_parameter'i eklersen, HTML olarak raporunu emailleyebilirsin...

  • How can I 'screen share' from my Lion machine to my old Tiger mac?

    I have a new MacPro running 10.7.3.
    I have an old Mac desktop running Tiger (10.4)
    I can't seem to screen share.
    I want to remotely control the old Tiger machine from my Lion one.
    I checked 'Remote Desktop' on the Tiger- but still no happiness.
    I CAN mount the drives from that older computer just fine.
    mark

    Mark, sorry for any misunderstanding, CoVNC is only needed if you want to control the newer one with the old one.
    On the old one enable...
    Personal File Sharing
    Remote Login
    Apple Remote Desktop
    Remote Apple Events
    On the ARD choice click Access Privileges and fill in what & who can do what.
    Easiest to sign into the old one with the old one's username & old one's PW if you checked that as OK on the old one.

  • Why can't I share from faces?

    I can use the share  buttons all day long from anywhere but the "Faces" folder in the Library, but as soon as I navigate to a photo or two in the Faces, the Share items gray out in the toolbar and the menu.
    Any hints or thought on how to fix this, or is this a known issue?
    Thanks!

    It's just how it works. (Faces is a highly specialized Viewer, with its own thumbnails and Previews.  Note that these "Faces" crops cannot be exported.  You can share the full image, and you can create your own cropped Versions, but you cannot access (and thus cannot export) Aperture's own Faces crop.)
    A couple of easy work-arounds for sharing the whole image:
    . For single images:
    . . right-click and show in Project
    . For multiple images:
      . . either select them all and create a new Album, or flag them and then go to Flagged View.

  • Can we generate forms from different locations on same account?

    We're thinking of subscribing for the unlimited forms plan. Would this plan allow us to generate forms (and receive reports) from various locations on the same account? Or would each location need its own account?
    Thanks, Meg

    Hi Meg;
    Depending on the roles each user needs to play, you could have one "Plus" membership that can have all of the "live" forms in it, that user could share forms and/or responses with the other users so they could collaborate in the editing and view responses and reports.  The permissions in the form (ability to use paid features) are based on the form author, so the "Free" level users could use the paid features in these forms that were shared by the one Plus membership.
    Here is some information on sharing forms: http://forums.adobe.com/docs/DOC-2462
    Also some good gneral Quick Start guides and How To's: https://www.acrobat.com/formscentral/en/library/how-to-make-create-survey-or-form.html
    In addition, if any of the free users were to create a form for the team they could export that form as a design file for the Plus member to import and then share.  Since the free user can only create one form, but have unlimited shared with them, and since the form rights are from the author the Free user wouldn't want to share the form, but instead export it so that when the Plus user imports it they are the author and when it is shared the form would have the Plus level features (I hope that made sense). 
    As far as organization there are no folders in FormsCentral at this time.
    Thanks,
    Josh

  • Can i home share from my macbook to my mums ipad or will it not work as we have different apple IDs?

    I want to share music from my itunes on my MacBook Pro to my mums ipad with homesharing? We have different apple ID's. Help!!!

    There are two ways to share your content. The simplest is just to use homesharing. Simply set up homesharing on each device from the iTunes advanced menu (you need to use the same details on each computer), providing the computers are on the same network they should see each other and can be found in the list on the left hand side of the iTunes window.
    The second way is to transfer the content to another computer, play it and authorise it to play content from that account by entering the original account password when prompted (this only needs doing once for each account, not for each tune)

  • Can't generate PDF from xdp and XML

    Hello,
    I'm new to livecycle and flashbuilder.
    I assigned as a task to send to a  livecycle server a xdp template and a XML file with the data in order to create the pdf.
    So far, I created a class with two methods that returns as a BLOB the strings of a xdp template and the XML data to populate the template.
    On the main application I'm calling the generatePDFOutput method from the OutputService and as far as I know I'm supposed to get a Blob which I can manipulate to save it as a PDF.
    What could be my error? or how should I approach this problem? I came here since I can't find some document that shows how to create pdf from a flex app using livecycle...
    I appreaciate your help.
    I attach below the code of the main class
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="initializeChannelSet();">
        <fx:Script>
            <![CDATA[
                import flash.sampler.Sample;
                import mx.messaging.ChannelSet;
                import mx.messaging.channels.AMFChannel;
                import mx.rpc.CallResponder;
                import mx.rpc.events.ResultEvent;
                import services.outputservice.OutputService;
                import valueObjects.BLOB;
                import valueObjects.OutputResult;
                import valueObjects.PDFOutputOptionsSpec;
                import valueObjects.RenderOptionsSpec;
                private var parentResourcePath:String="/";
                private var serverPort:String="192.168.3.46:8080";
                private function initializeChannelSet():void{
                    var cs:ChannelSet= new ChannelSet();
                    cs.addChannel(new AMFChannel("remoting-amf", "http://"+serverPort+"/remoting/messagebroker/amf"));
                    outputService.setCredentials("administrator","password");
                    outputService.channelSet=cs;
                protected function btn_clickHandler(event:MouseEvent):void
                var pdf:OutputService= new OutputService();
                var x:TestPDF= new TestPDF();
                var wsCall:CallResponder= new CallResponder();
                var out:PDFOutputOptionsSpec= new PDFOutputOptionsSpec();
                out.fileURI="D:\PDF_Output\test.pdf";
                var render:RenderOptionsSpec= new RenderOptionsSpec();
                wsCall.token=pdf.generatePDFOutput("PDF","Form.xdp","D:\\PDF_Output",out,render,TestPDF.D ata());
                var res:BLOB= wsCall.lastResult as BLOB;
                var result:ByteArray= new ByteArray();
                    result=res as ByteArray;
                var a:Number=2;
                protected function outputService_resultHandler(event:ResultEvent):void
                    // TODO Auto-generated method stub
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
            <mx:RemoteObject id="outputService" destination="OutputService" result="outputService_resultHandler(event);"/>
        </fx:Declarations>
        <s:Button id="btn" x="90" y="141" label="Button" click="btn_clickHandler(event)"/>
    </s:Application>

    build.xml file for Hibernate:
    <?xml version="1.0"?>
    <project name="Hibernate"
    default="schemaGenerator" basedir="C:\Hibernate">
    <property name="src.dir" value="src"/>
    <property name="classes.dir" value="classes"/>
    <property name="hibernate" value="hibernate-2.1"/>
    <property name="hibernate.mappings" value="mappings"/>
    <property name="jdbc" value="C:\oracle\product\10.1.0\Db_1\jdbc"/>
    <property name="hibernate.extensions" value="tools"/>
    <property name="hibernate.properties" value="properties"/>
    <path id="project.class.path">
    <pathelement location="${classes.dir}" />
    <fileset dir="${hibernate}">
    <include name="hibernate2.jar"/>
    </fileset>
    <fileset dir="${hibernate}/lib">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="${hibernate.extensions}/lib">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="${hibernate.extensions}">
    <include name="hibernate-tools.jar"/>
    </fileset>
    <fileset dir="${jdbc}/lib">
    <include name="classes12.jar"/>
    </fileset>
    </path>
    <target name="init"> <mkdir dir="${src.dir}"/>
    <mkdir dir="${classes.dir}"/>
    </target>
    <taskdef name="javaGen"
    classname="net.sf.hibernate.tool.hbm2java.Hbm2JavaTask"
    classpathref="project.class.path"/>
    <target name="javaGenerator" depends="init">
    <javaGen output="${src.dir}">
    <fileset dir="${hibernate.mappings}">
    <include name="Catalog.hbm.xml"/>
    </fileset>
    </javaGen>
    </target>
    <target name="compile" depends="javaGenerator">
    <javac srcdir="${src.dir}"
    destdir="${classes.dir}">
    <classpath refid="project.class.path"/></javac>
    </target>
    <taskdef name="schemaGen"
    classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask"
    classpathref="project.class.path"/>
    <target name="schemaGenerator" depends="compile">
    <schemaGen properties="${hibernate.properties}/hibernate.properties" quiet="no">
    <fileset
    dir="${hibernate.mappings}">
    <include name="Catalog.hbm.xml"/>
    </fileset>
    </schemaGen>
    </target>
    </project>

  • Can't generate code from class diagram

    I have installed Studio Enterprise 8. I tried to create a class, but when I right-clicked on a class, there was no "Generate Code" on the contextual menu.
    I've tried the Help guide as pasted below. Would appreciate anybody's help. Thanks.
    To generate code:
    In the Projects window or in a diagram, right-click the element or elements for which you want to generate code.
    In the Projects window, this code generation function is supported for entire UML projects and for individual diagram elements.
    On the contextual menu, choose Generate Code. The IDE generates source code for all of the target items and displays the code in the Source Editor.

    Thanks, but I still have problem.
    File / New Project
    UML / Java Platform Model
    Name: UMLTest Location: D:\UML Unchecked Generate Code
    The UMLTest Project appears in the Project Window
    --- So far so good
    File / New Project
    General / Java Application
    --- There is no General category
    Under Category: Samples, Standard, UML, Web
    Under Samples, there is general, but project = Anagram Game.
    I still can't create a Java application from scratch.
    Using Web and Standard, I must provide ANT

  • Can't generate thumnails from iPhoto videos in iMovie 11

    I opened iMovie 11 a little while ago and it asked if I wanted to generate thumnails Now or Later from the videos in iPhoto.  I clicked on the "Later" button.  I have been using iMovie for at least 5 years and have always clicked on the Now button as far as I can remember.
    But I had just remembered that I wanted to change the file names of my new videos in Aperture before generating the thumnails in iMovie, so I did that.  But when I went back to iMovie, there was no dialog box asking me if I wanted to generate the thumnails from the new videos or not.  I have closed iMovie, rebooted, and still there is no dialog box.  I can't find the option on the menu to generate the thumbnails.
    The videos are not gone, they still appear in both iPhoto and Aperture, but I want to edit them in iMovie.  I'm hoping there's a simple solution.
    Travis

    Ok I solved it myself.  I just made a 2 second video and imported it to Aperture, then when I opened iMovie again, it loaded the 2 second clip as well as all the previous new videos that it won't load before.

  • Can Papyrus generate UML from XML or XSD?

    I'm looking for a way to model an XML schema and I thought Papyrus would be able to help me. But now I'm not so sure, or at least I haven't found a way to do it yet.
    Is there some way in Eclipse (whether using Papyrus or something else, of course preferably free) to generate a UML representation of an XML schema?
    Thanks!

    Hi,
    You can use the EMF model importer to import a model from XSD and then
    export it to UML.
    Use the "File -> New -> Other..." menu action, take "EMF Generator
    Model" in the wizard, and choose XSD as the import source. When you
    have finished, you should end up in the editor for a *.genmodel
    resource. EMF will have created an *.ecore from your schema. The
    Generator menu has an option to export the model. Choose UML in this
    wizard and see what you get. You can initialize the Papyrus diagrams
    for the resulting *.uml resource if you like.
    HTH,
    Christian
    On 2015-07-22 20:27:16 +0000, Thom DeCarlo said:
    > I'm looking for a way to model an XML schema and I thought Papyrus
    > would be able to help me. But now I'm not so sure, or at least I
    > haven't found a way to do it yet.
    >
    > Is there some way in Eclipse (whether using Papyrus or something else,
    > of course preferably free) to generate a UML representation of an XML
    > schema?
    >
    > Thanks!

  • Can't receive messages from just one group. Can receive messages from each of the individuals in the group separately

    I am not receiving messages from one particular group of people on my phone.  I am receiving other group messages and can receive messages from each person in the group individually.  iPhone 5c.

    I am right there with you. This describes my problem to a T. Only other issue I am having is group texts. Iphone users who include me in a group text still send as imessages as well, so even if I text them first and they reply, it send as an imessage. Get it together apple.

  • I can't receive emails from only one sender

    In last month I have not been able to receive emails from one sender...in my address book.

    So just one person can't send you an email but everyone else sends to you and you get them? Then perhaps that sender isn't sending to your correct email address.

  • Lost most of my music by mistake. how can I retrieve it from the one back up that I have on the computer

    I have one backup in  my computer but have been unable to retrieve it

    Music is not included with the iPhone's backup.

Maybe you are looking for

  • External Monitor Has A Blue Tint

    I've had my iMac for about 4 years and I just hooked up an external monitor. I bought the monitor a good while ago and it has been basically sitting in a closet for a few years. Just bought a Mini-DVI to VGA adapter and when I hook the monitor up, th

  • Conflicting Operating systems - How to Uninstall

    I am having major problems. Here's my question: Currently when I go to STARTUP DISK, I have the following choices: Mac 10.4.3 on Mac HD (my boot drive) Mac 10.2.5 on Mac HD1 Mac 10.3.9 on Mac HD2 Mac 9.2.2 on Mac HD2 Mac 9.2.2 on Mac HD I would like

  • Calculation based on date key figures in BEx

    Hi Friends, Hi Friends, I need to creat report for sales order data, which involved the calculation based on dates. In my cune iam having the data at the granual level with the dates as key figures. the calculation that i need to do is VTW = Actual P

  • Number of business days (excluding holidays) ?

    Hi All, What is the SQL query to find number of business days (excluding holidays) between 2 given dates ? List of Holidays will be maintained as a separate table. I need a SQL query rather than a stored procedure or function. I am using oracle 9i. T

  • Multi planning area

    Hi Gurus, I have no access to the system at the moment. Can I create a new multiplanning area using an existing cube used in another multiplanning area already ? Please advise. Thanks Sanjay