Is there function that can transform a image file into a matrix?

Hi,
Is there function in java that can transform a image file into a matrix? What kind of library should be used?
thx

It would be ****** nice if we could provide an example but we got more important things to do than stand around and wipe your bottom. Get off that fat thing and find out yourself.
Took me under a minute to find this link, is it really that hard for you kind of people to search? you know what the word means or looks like?
http://forum.java.sun.com/thread.jsp?forum=20&thread=363117

Similar Messages

  • Is there anyone that can convert a GB project into a MIDI file for me, please?

    I don't know how to convert a GB project to midi, and midiO doesn't work with my PSR-E433.
    Can anyone help me?

    I suggest you post your question on Microsofts own forums for their Mac software: http://www.officeformac.com/productforums as Apple discussions only provide support for Apple products

  • I shot video on a Panasonic P2 and I'm trying to import the MXF files to Final Cut Pro but when I try to import, the only thing that imports is a blurry image of each clip. There's no audio and no video...how can I import MXF files into Final Cut Pro?

    I shot video on a Panasonic P2 and I'm trying to import the MXF files to Final Cut Pro but when I try to import, the only thing that imports is a blurry image of each clip. There's no audio and no video...how can I import MXF files into Final Cut Pro?

    at the end, you say "import preferences", which program are you describing?
    So im safer using footage that is remotely being pulled from iphoto...
    vs
    using footage that is imported into FCP from imovie?
    Is there anything i can do in fcp to make this footage more reliable or safer or more stable as i pull remotely from iphoto?
    All the footage, and all the libraries to all programs, or on a new pegasus 12tb raid 5 setup fyi.

  • SSAS- DAX expression : Is there any DAX function that can return multiple values ?

    Hi,
    Iam in search of a DAX function that can return multiple values as result. please find below scenario where i want to implement the same.
    I have three  Tables: Table A (typeid, Cost, Qty ) ,Table B (typeid, Cost, Qty ) , Table C ( typeid,Typename ) .
    Table A                                       Table B                               
    Table C
    type id  cost  Qty             type id   Cost    Qty                 
    typeid  typename
    1           100    100                3         300     
    300                  1           aa
    2           200    200                4          400    
    400                  2           bb
                                                                                             3           cc
                                                                                             4          
    dd 
    i have to club cost and Qty of two tables(four measures)  as two measures in the  UI report. There are more columns in these tables that restrict the  UNION of the tables.(for the sake
    of understanding , i have not mentioned the othr columns). In the UI report(Execl 2013-power pivot) iam plotting these measures against the
    Table C.Typeid. Hence the measures drill down against each 
    Table C. Typeid as shown below:
    Typeid  Table A.cost  Table A.Qty  TableB.cost  TableB.Qty                              
    1              100             100
    2              200             200
    3                                                    
    300             300      
    4                                                    
    400             400
    My requirement is to club these measures so that the report will be as below
    Type id  cost   Qty
    1          100    100
    2          200    200
    3         300     300
    4         400      400
    Since i cannot club these in model,as a work around, i created a calculated measure in excel(Analyze tab->Calculations->olap tools->calculated measure) with the condition as below:
    new cost = IIF (ISEMPTY(TableA.cost)="TRUE",TableB.cost,TableA.cost)
    new Qty = IIF(ISEMPTY(TableA.Qty)="TRUE",TableB.Qty,TableA.Qty) and dragged these new measures into the report. It was working fine as expected.
    But  this functionality of Creating calculatedmeasure in excel report is possible only in 2013 excel version.
    Now the requirement is to get the same result in 2010 excel. Can you please help me in implementing the same in 2010 excel? or any other alternative method to bring the columns in model itself. I tried to create a measure in table A with DAX expression as
    : new cost :=CALCULATE(SUM(Table B.cost),ISBLANK(TableA.cost)) -> but this will return only 1 result .i need Sum(Table A.cost) also if it is not blank.
    Thanks in advance

    You can use SUMX ( 'Table A', 'Table A'[Cost] + 'Table B'[cost] )
    However, if you install the latest version of Power Pivot in Excel 2010, it supports the ISEMPTY function, too.
    http://support.microsoft.com/kb/2954099/en-us
    Marco Russo http://www.sqlbi.com http://www.powerpivotworkshop.com http://sqlblog.com/blogs/marco_russo

  • Generic custom control that can display an image or swf?

    Hi,
    I want to create a custom control that can take an image or swf as an argument and display it in the same way.
    If the programmer uses this control (which essentially is a button with custom display) I want him to be able to just state the source and the text that is to be shown. Like this:
       <myControls:myButtonControl descriptionText="swf object" symbolObject="{Application.application.shape01swf}">
    or
       <myControls:myButtonControl descriptionText="img object" symbolObject="{Application.application.shape01img}">
    where shape01swf and shape01swf are embeded objects as follows:
       [Embed("../assets/swf/Shape01.swf")]
        public var shape01swf:Class;
       [Embed("../assets/images/Shape01img.jpg")]
       public var shape01img:Class;
    Which kind of object should I create in my custom control that can display this?
    Right now I have created a Class that extends VBox so that I can display the image/swf above the descriptionText.
    (I am using Flex 3.)

    Aha, so the Image control can use an swf as a source as well?
    I just assumed that it could not and I would have to use the SWFLoader to do it.
    So, this is my solution:
            override protected function createChildren():void{
                iconField = new Image();
                addChild(DisplayObject(iconField));
                textField = new Text();
                addChild(DisplayObject(textField));
                super.createChildren();
            private function init(e:Event):void{
                iconField.source = symbolObject;
                textField.text = descriptionText;
    Thanks!

  • Problem during installation of iTunes 10.7 on Win7 x64. Is there anybody that can help me?

    Hello everyone!
    I've a problem during installation of Itunes 10.7 on Window 7 x64. I had installed v11 but i don't like it, so i've uninstalled correctly this version and i have downloaded v10.7
    The message, translated in english, is:
    UNKNOWN \ Components \ ... \ 2B0163E6D0340BE2758E9BEDD8.
    Make sure you have sufficient access to that key, or contact your support staff.
    I don't know how to do...I don't want to format my pc
    I have already tried to erase all the "apple" folders on directory C:\, but nothing to do...
    Is there anybody that can help a poor italian boy, please?
    Thanks a lot,
    Teo

    Thx Polydorus!
    this evening i'll try and i'll tell you if it works!
    Teo

  • For the last 2 days whenever I try to upload photos from my iPhoto page to facebook I get an error message: Bad Image There was a problem with the image file.  I haven't knowingly changed any settings on iPhoto or facebook. Can anyone help, please ?

    I need help with uploading photos from iPhoto to facebook. I could do it till 2 days ago. Now any new photo I try to upload gives me an error message:
    Bad Image
    There was a problem with the image file. 
    Please help.

    Can you drag it to the Desktop?

  • I need a BAPI or function that can create a PO without the purchase req.

    I need a BAPI or function that can create a PO without the reference to a purchase requisition. We are creating "direct POs" (with no reference to PR) manually. And we have a large amount of documents to create. I can't figure out if BAPI_PO_CREATE and BAPI_PO_CREATE1 can help us by doing this, because I've understood this BAPIs creates POs only with the reference to a purchase requisition.
    Thanks in advance!!
    Sebastian

    Sorry I'm late guys, I couldn't replay your posts because I was busy.
    Charlie,
    ...just because we have the data already in the SAP system.
    My client doesn't want purchase requisitions to be created from the PM orders. Instead he asked us to create the purchase workflow by generating direct purchase orders from the PM orders, basically taking the information from the purchase agreement within the order's tasks. Maybe you don't understand a bit what I'm saying, but let me get this straight: we can't use LSMW because data doesn't come from a legacy.
    Ian,
    ...after all, and like you've said, we're gonna use BAPI_PO_CREATE1 for creating the POs. Today I finally realized that, purchase requisitions aren't mandatory for the bapi to perform the process. If something goes wrong, I'll let you know.
    Thanks anyway for your attention.
    Sebastian

  • Lee3 May 25, 2012 5:36 AM  I have attempted to download with Bootcamp the Windows 7 drivers but the dowload will not progress past 25%!     Is there someone that can assist me with this issue?  : /

    Lee3
            May 25, 2012 5:36 AM   
    I have attempted to download with Bootcamp the Windows 7 drivers but the dowload will not progress past 25%!
    Is there someone that can assist me with this issue?
    :>/

    How long did you wait for the download to run?  The last time I downloaded the Windows support files for Boot Camp, it was going very slowly, so I swapped away to another task.  Several minutes later I came back and it had moved a little, but not much, so I went on with other things.  When I got back to it several hours later, the download had completed.  Perhaps you just need to let it go overnight to perform the downloads...

  • Error 136 Functions that can be compossed must declare a return type

    Hello,
    I have downloaded the EF Final Release driver and Im working with Oracle 11g express.
    I have the following Procedure:
    PROCEDURE ProductosPedido(
    Datos Out SYS_RefCursor) IS
    BEGIN
    OPEN Datos FOR
    SELECT Nombre,
    TO_NUMBER(Precio * (SELECT SUM(unidades)
    FROM DETALLES_PEDIDO
    WHERE PRODUCTO = PRODUCTO.ID)) Importe
    FROM PRODUCTO;
    END;
    And the following config section:
    <oracle.dataaccess.client>
    <settings>
    <add name="System.Productospedido.RefCursor.Datos" value="implicitRefCursor bindinfo='mode=Output'"/>
    <add name="System.Productospedido.RefCursorMetaData.Datos.Column.0" value="implicitRefCursor metadata='ColumnName=Nombre;BaseColumnName=Nombre;BaseSchemaName=System;BaseTableName=Producto;NativeDataType=nvarchar2;ProviderType=NVarchar2;DataType=System.String;ColumnSize=50;AllowDBNull=true;IsKey=false'" />
    <add name="System.Productospedido.RefCursorMetaData.Datos.Column.1" value="implicitRefCursor metadata='ColumnName=Importe;NativeDataType=number;ProviderType=Decimal;DataType=System.Decimal;AllowDBNull=false;IsKey=false;ColumnSize=8'" />
    </settings>
    </oracle.dataaccess.client>
    I have imported succesfully in my EF Model, but when I try to consume the Procedure it gives me Error 136 Functions that can be compossed must declare a return type
    Any solutions?
    Thanks and best regards!

    A stored procedure does not have a ReturnType, therefore IsComposable="false" and it cannot be used in LINQ queries.
    This limitation is imposed by EF and not by ODP.
    You may want to create a stored function which has a ReturnType ref cursor, and include this stored function into your model. Then, under the same namespace, you create a class with a "stub" method/function and use EdmFunction() to map this stub to the stored function. For example,
    class myFuncClass
    [EdmFunction("Model.Store", "MY_STORED_FUNC_1")]
    public static <your_complex_type_or_DbDataRecord> MyFunc_1(int? column1, ...)
    throw new NotSupportedException("Direct calls are not supported");
    You should be able to call myFuncClass.MyFunc_1(x) in your LINQ query. Your stored function MY_STORED_FUNC_1 will be called in the generated query.

  • TS1538 i have tried all of these troubleshooting techniques, have taken it to an apple shop and had my ipod restarted and wiped but still no luck, is there software that can reunite my ipod with my laptop?

    i have tried all of these troubleshooting techniques, have taken it to an apple shop and had my ipod restarted and wiped but still no luck, is there software that can reunite my ipod with my laptop?

    What do you mean by "reunite". Are you experiencing connectivity issues between your iPod Nano and your iTunes on your PC? If yes, in what do these issues consist? Are there any error messages you are being returned?

  • Is there anything that can't be defined with annotations?

    HI,
    Is there anything that can't be defined with annotations and can only be defined in the faces-config.xml?
    Thanks.

    A few more things that cannot be defined in faces-config.xml are:
    - Localization information
    - ELResolver
    - Application Factories
    - Renderers
    - Validators etc.

  • My system keeps shutting off unexpectedly after updating it to OS X 10.8.2 (12C60). is there anything that can be done to correct this?

    My system keeps shutting off unexpectedly after updating it to OS X 10.8.2 (12C60). is there anything that can be done to correct this?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output andWi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I tried to update my macbook pro, the screen is now frozen. My track pad hasn't been working for awhile and my disc drive is broken. IS there anything that can be done without buying a new laptop. It was bought in 2009

    My track pad has not been working properly for awhile and my disc drive it damaged. I went to update my macbook pro to maveric and it is now frozen and not allowing me to click anything. Is there anything that can be done to fix this without buying a new one? Its from early 2009

    ShelbyMackenzieLynne,
    when you say that your disc drive is damaged, do you mean your MacBook Pro’s hard disk drive, or do you mean its SuperDrive (the CD/DVD drive)?
    When you’d updated your MacBook Pro to Mavericks, did the installation succeed, and subsequently freeze up? Or did it freeze up during the Mavericks installation?
    Which version of OS X was installed on your MacBook Pro before you’d installed Mavericks?
    Are you currently able to boot into the Mavericks recovery partition? To see if you can do so, hold down a Command key and the R key while starting up your MacBook Pro.

  • Is there any script or batch program that can pick a xml file...

    Hi,
    Is there any script or batch program that can pick a .xml file from a folder and place it in a different folder on the same directory periodically without using an XI interface.
    Thanks,
    np

    Hi Nadini,
    Please refer below link for how to sechdule a batch file.
    [Schedule Batch File-How to?|http://www.tech-archive.net/Archive/WinXP/microsoft.public.windowsxp.general/2006-04/msg01349.html]
    And please refer below links for how to write a batch file and other one as batch file commands.
    http://www.wikihow.com/Write-a-Batch-File
    http://www.aumha.org/a/batches.php
    these two links was a click away in google :).
    regards
    Aashish Sinha

Maybe you are looking for

  • Performance reduced under Bootcamp after EFI update on Macbook Pro Retina

    after i upgraded EFI on my retina macbook pro the proformence reduced to unusable. under heavy load under bootcamp windows7. the cpu clock drops and as well as cpu clock. this is the screen shot of gpu clock monitoring from windows u can see the gpu

  • Buzz/hum when connected to krk studio monitors

    ok so i have an imac (3.06 ghz intel core duo). i had a klipshe 2.1 speaker system connected with no problems. then i bought a pair of krk rokit 6's studio monitors and just have a whole lot of humming now. so far ive connected headphones to my imac

  • Which laptop is better for school?

    Which apple laptop is more suited for school work?  The Air, or Pro?  And if it is the Pro, should I buy now, or wait for the new one?

  • Printing Selection-Screen while printing ALV Grid output display

    Hi, I have a requirement wherein I want to print the Selection Screen also while printing the output in simple ALV grid Display. Currently when I print the ALV output report, only the header and the Body of the ALV is getting printed. But the require

  • Windows Server 2008 R2 Service Pack 2

    Does anyone know when we can expect Service Pack 2 to be released?  The latest info I can find here is from 2012 and still no Service Pack 2 for this version of Windows Server. Thanks!!