DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2010
    Location
    I live in Bekasi Indonesian
    Posts
    3

    "Question VB.NET"

    My name is Latifa from Indonesian...
    I need help to finishing my final project.

    I get reference from my lecturer, and I get contraints in Coding Visual Basic.Net.

    This is the Code :
    Code:
    Private Sub OpenFileDialog1_FileOk(ByVal sender As System.Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles OpenFileDialog1.FileOk
            Try
                Dim source As Bitmap = New Bitmap(OpenFileDialog1.FileName)
                Width = source.Width
                Height = source.Height
                Pixel = ImageProcessing.ImageProc.GetGreyscale(source)
                For Me.i = 0 To Pixel.GetUpperBound(0)
                    Dim StringCluster As String = String.Format("ValueClusterPixel {1}:{0}", Pixel(i), i)
                    Debug.WriteLine(StringCluster)
                Next
            Catch ex As Exception
                MsgBox(ex.ToString)
            End Try
        End Sub
     
    Sub Save()
            Try
                Dim FormSave As New FormSave
                Dim FileSaveName As String
                FormSave.ShowDialog()
                If FormSave.DialogResult = DialogResult.OK Then
                    Dim output As Bitmap
                    output = ImageProcessing.ImageProc.WriteBitmap(warnaPixel, Lebar, Tinggi)
                    output.Save("E:\" & FileSaveName & ".jpeg", Imaging.ImageFormat.Jpeg)
                End If
            Catch ex As Exception
            End Try
        End Sub
    When I running this program, I get error " ImageProcessing.ImageProc has not been Declared"

    Pixel = ImageProcessing.ImageProc.GetGreyscale(source)
    output = ImageProcessing.ImageProc.WriteBitmap(warnaPixel, Width, Height)


    I dont know why. . .I think the Problem is in media storage but I can't Fix it.


    I want make Final Project about Unsupervised Classification For Image map to Analysis Land Use, I want Process the Image in storage media ex: C:\
    and not shown in Picture box but directly in storage media and save directly too in storage media.Can you Help Me Please. . .


    Thank You

    Latifa
    Last edited by Hack; 07-22-2010 at 07:37 AM. Reason: Added Code Tags

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,649
    Welcome to DevX

    The error you get makes perfect sense. ImageProcessing is not declared. What is it?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Jul 2010
    Location
    I live in Bekasi Indonesian
    Posts
    3

    Smile "Question VB.NET"

    Thanks to reply , I was very Glad because finally there's someone respond my question.
    I just found out that

    Pixel = ImageProcessing.ImageProc.GetGreyscale(source)

    ImageProc is handler for Whitebox Image Processing API, Whitebox Geospatial Analysis Tools (GAT).
    Do you know about that?And How the Plugins works?Where can I get the Plugins?


    Very Appreciate your Help


    Latifa

  4. #4
    Join Date
    Feb 2004
    Location
    Longueuil, Québec
    Posts
    577
    This is a tool to specialized for a forum such as this one.

    Just Google the name, and you should find it.
    Jacques Bourgeois
    JBFI
    http://www3.sympatico.ca/jbfi/homeus.htm

  5. #5
    Join Date
    Jul 2010
    Location
    I live in Bekasi Indonesian
    Posts
    3

    Smile

    Thanks JBourgeois I'll try. . .

Similar Threads

  1. vb.net question
    By trains58554 in forum .NET
    Replies: 7
    Last Post: 12-21-2007, 01:47 AM
  2. vb.net forms question
    By trains58554 in forum .NET
    Replies: 28
    Last Post: 10-27-2007, 05:27 PM
  3. ms access database question using vb.net 2003
    By trains58554 in forum Database
    Replies: 3
    Last Post: 10-27-2007, 06:00 AM
  4. Question about WebBrowser VB.NET
    By Mansur in forum .NET
    Replies: 2
    Last Post: 07-06-2006, 05:53 AM
  5. VB.Net Class Design Question
    By jrothlander in forum .NET
    Replies: 3
    Last Post: 07-01-2006, 09:55 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links