How does the old man feel about Joe DiMaggio, how is this shown, and what does this say about…

How does the old man feel about Joe DiMaggio, how is this shown, and what does this say about the man’s character?

 

"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

this is an active contour method in python 2.7 I need to adjust just this program import Tkinter fro

this is an active contour method in python 2.7 I need to adjust just this program 

import Tkinter

from Tkinter import *

import os

import sys

import ImageTk, Image

import PIL

from PIL import *

from array import array

from turtle import *

import math

from math import pi

 

#creating a window

window=Tkinter.Tk()

window.geometry(“650×650”)

window.title(“Active Contour Implementation”)

window.configure()

 

 

#function for  open file 

 

    

#function for new form   

def OpenNew():

    openNew=Tkinter.Tk()

    openNew.title(“Welcome”)

    openNew.geometry(“500×500”)

    

    menubar = Menu(openNew)

    filemenu = Menu(menubar, tearoff=0)

    filemenu.add_command(label=”New”, command=OpenNew)

    filemenu.add_command(label=”Open”, command=openFile)

    filemenu.add_command(label=”Save”)

    filemenu.add_command(label=”Save as…”, command=saveAs)

 

    filemenu.add_separator()

 

    filemenu.add_command(label=”Exit”, command=OpenNew.quit)

 

    openNew.config(menu=menubar)

    openNew.mainloop()

    

#Enter the value

entr=Entry(window)

entr.pack(fill=Y)

entr.delete(0, END)

entr.insert(0, ”  input the value”)

 

 

#Active Contour Implementation

 

imgOpen=”image3.jpg”

 

image1 = ImageTk.PhotoImage(Image.open(imgOpen))

w = image1.width()

h = image1.height()

x = 0

y = 0

window.geometry(“%dx%d+%d+%d” % (w, h, x, y))  

Lbl = Tkinter.Label(window, image=image1)

Lbl.pack(side='top', fill='both', expand='yes')

Lbl.image = image1

 

print w

print h

 

newX=w/2

newY=h/2

 

 

print 'newwwwww'

 

print newX

print newY

 

n=150

s_radius=250

 

LCV=array(“i”)

for i in range (n):

    LCV.append(i)

        

L1X = array(“i”)

for i in range (n):

    L1X.append(i)

 

L1Y = array(“i”)

for i in range (n):

 L1Y.append(i)

 

L2X = array(“i”)

for i in range (n):

 L2X.append(i)  

 

L2Y = array(“i”)

for i in range (n):

 L2Y.append(i)   

 

BordersX = array(“i”)

for i in range (n):

 BordersX.append(i)   

     

BordersY = array(“i”)

for i in range (n):

  BordersY.append(i)  

    

xFill=[BordersX, -1]

yFill=[BordersY, -1]

 

 

#Set=color('red')

step_size=15

jump_threshold=25

#setWidth?

 

 

radius=s_radius

radius>10

radius=radius-step_size

 

if radius==s_radius:

   i=0

   while i

       x_0=radius *  cos ( i * (2*pi)/n)

       y_0=radius *  sin ( i * (2*pi)/n)

       x_0 = x_0 + newX

       y_0 = y_0 + newY

       BordersX[i]= x_0

       BordersY[i]= y_0

       LCV[i] = -1

       i+=1

   

pnt_cnt=0

j=0

while j

    if LCV[j]== -1:

        x_0=radius *  cos( i * (2*pi)/n)   + newX

        y_0=radius *  sin ( i * (2*pi)/n)  + newY

        

        x_1=((radius  – step_size) *  cos( i * (2*pi)/n)   ) + newX

        y_1=((radius  – step_size) *  sin ( i * (2*pi)/n)  ) + newY

        v_0 = getPixel(x_0, y_0)

       

        v_1 = getPixel(x_1, y_1)

        if gVal(v_0) – gVal(v_1)  > jump_threshold:

            

            LCV[i]=1

        else:

            BordersX[i]= x_1 

            BordersY[i]= y_1

            Pol=Tkinter.Canvas(window)

            Pol.pack()

            Pol.create_line(BordersX, BordersY)

            wait(20)

    pnt_cnt=pnt_cnt + 1

    i+=1

    

def gVal(v):

     red = (v>>16)&0xff

     green = (v>>8)&0xff

     blue = v&0xff

     return (00.56 * red + 0.33*green + 0.11 * blue)

 

# Menu Option

#File menu

menubar=Menu(window)

filemenu=Menu(menubar, tearoff=0)

filemenu.add_command(label=”New”,command=OpenNew)

filemenu.add_command(label=”Open”, command=openFile)

filemenu.add_command(label=”Save”)

filemenu.add_command(label=”Save As”,command=saveAs)

filemenu.add_separator()

filemenu.add_command(label=”Exit”,command= window.quit)

menubar.add_cascade(label=”File”, menu=filemenu)

 

#Edit menu

editmenu=Menu(menubar, tearoff=0)

editmenu.add_command(label=”Cut”)

editmenu.add_command(label=”Copy”)

editmenu.add_command(label=”Paste”)

editmenu.add_command(label=”Delete”)

editmenu.add_command(label=”Select All”)

menubar.add_cascade(label=”Edit”,menu=editmenu)

 

#Help menu

helpmenu=Menu(menubar, tearoff=0)

helpmenu.add_command(label=”About”, command=help)

helpmenu.add_command(label=”Help”, command=help)

menubar.add_cascade(label=”Help”, menu=helpmenu)

 

window.config(menu=menubar)

 

window.mainloop()

 

    • Posted: 4 years ago
    • Due: 07/12/2015
    • Budget: $8

     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

    Respond to the topics below in approximately 90 to 175 words. Explain all concepts in your own…

    Respond to the topics below in approximately 90 to 175 words. Explain all concepts in your own words. No more than 10% of any answer can consist of quotations. Cite all sources in APA format.
    1. Consider the behaviors you must engage in to achieve your goal of earning a college degree, such as reading, studying for tests, completing assignments, forfeiting leisure or family time, accumulating debt, etc., and then answer the following questions: What is the difference between intrinsic and extrinsic motivations? Are your school-related behaviors motivated more intrinsically or extrinsically? Explain your answer.
    2. Summarize the skills that can help to handle the feelings associated with stress, frustration, or anger with emotional intelligence.
    3. Researchers have examined the common belief that women are more emotional than men are. Summarize the findings of this research.
    4. All human beings experience similar emotions, but the way they are expressed can vary in different cultures. Explain what you learned about the influence of Western versus Asian culture on expressing emotion.
    Make sure that each answer to each question is 90-175 words.

     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

    Who were the muckrakers and what contributions did they make Who were the muckrakers, and what…

    Who were the muckrakers and what contributions did they make

    Who were the muckrakers, and what contributions did they make? Overall, what impact did these contributions have on the Progressive movement at large?

    Who were the muckrakers and what contributions did they make

     

    "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

    #1 Create an xml schema for a catalog of cars, where each car has child elements make, model, year,

    #1 Create an xml schema for a catalog of cars, where each car has child elements make, model, year, color, engine, number_of_doors, transmission_type, and accessories. The engine element has the child elements number_of_cylinders and fuel_system (carbureted or fuel injected). The accessories element has the attributes radio, air_conditioning, power_windows, power_steering, and power_brakes, each of which is required and has the possible values yes and no.

     

    #2 Create an XML document with at least three instances of the car element defined in the XML schema of exercise #1, and produce a display of the raw xml document.

     

     

    #3 Create a CSS style sheet for the XML document #2, and use it to create a display of that document.

     

      • Posted: 4 years ago
      • Due: 26/02/2016
      • Budget: $21
       

      "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

      9.70 The instrumentation amplifier in Figure 9.26 has the same circuit parameters and input voltages

      9.70 The instrumentation amplifier in Figure 9.26 has the same circuit parameters and input voltages as given in Problem 9.67, except that R1 is replaced by a fixed resistance R1f in series with a potentiometer, as shown in Figure 9.28. Determine the values of R1f and the potentiometer resistance if the magnitude of the output has a minimum value of |vO| = 0.5 V and a maximum value of |vO| = 8 V.

       

       

      "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

      Learning curves do have limitations. One key caution when using a learning curves is: The culture of


      MGT-455 Quiz 6 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Learning curves do have limitations. One key caution when using a learning curves is: The culture of the workplace, resource availability, and changes in the process will learning curves within the company Learning curves are often based on time estimates which means they are always accurate and thus do not need to be reevaluated Learning curves rarely differ from company to company, so learning curve information can shared between companies Learning curves differ from company to company as well as industry to industry so estimates should be developed for each organization Previous I Skip I Save & Next Learning curves do have limitations. One key caution when using a learning curves is: The culture of the workplace, resource availability, and changes in the process will not alter the learning curve, so there is no need to expend time revaluating learning curves within the company Learning curves are often based on time estimates which means they are always accurate and thus do not need to be reevaluated Learning curves rarely differ from company to company, so learning curve information can shared between companies Learning curves differ from company to company as well as Industry to industry so estimates should be developed for each organization

       

      "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

      The time value of money concept is one of the 3 major principles of the study and practice of financ

       

      The time value of money concept is one of the 3 major principles of the study and practice of financial management. It is used to evaluate potential investments,

       

      Unit 2: Time Value of Money

       

      Description:

       

      Time Value of Money

       

      Due Date: Sun, 11/29/15   Need to post on DB by 11/26/2015

       

      Type: Discussion Board

       

      Deliverable Length: 400-600 words

       

        

      The time value of money concept is one of the 3 major principles of the study and practice of financial management. It is used to evaluate potential investments,

       

      determine a rate of return on a project, calculate the required payments on a loan or annuity, and estimate a future value of funds currently invested and the

       

      present value of funds to be received at some future date. It is imperative that managers at all levels of business have a working knowledge of this topic. In your

       

      first task, you have been asked to engage your colleagues in a detailed and documented discussion about the time value of money concept:

       

       

       

      What it is, why it is important, how it is used, and generally, how the applications to single and periodic payments are computed using various calculation methods and formulas.

       

      In your initial post, identify and recommend at least 1 credible Web site that an investor can visit to find the current market value of market indexes such as the

       

      Dow Industrial Averages, and address at least 2 of the following:

       

      • What is the discounted cash flow concept, and why is it essential for financial managers to understand and employ this important concept?

      • What are the methods associated with evaluating single or periodic payments, and what is at least 1 application of each?

      • Discuss the different methods that can be used to calculate these amounts, and explain how at least 1 of these models can be used.

      • How can the time value of money models or formulas be used to determine the rate of return for an investment or the time it will take for a current sum to grow to a desired future amount?

      • Discuss the “Rule of 72” and how it can be used to estimate how long it takes for money to double at various rates of return.

       

      Identify and recommend at least 1 credible Web site that an investor can visit to find the current market value of market indexes such as the Dow Industrial Averages.

       

      Be sure to document your posts with in-text citations, credible sources, and properly listed references.

       

       

       

        • Posted: 4 years ago
        • Due: 26/11/2015
        • Budget: $12
         

        "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

        Does a user view always require multiple to support it? Explain.View Solution: Does a user view…

        Does a user view always require multiple to support it? Explain.View Solution:
        Does a user view always require multiple to support it

         

        "Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"