Deleting background Elements 5
Hello guys:
It's me again:
Ok. I thing I "got the drift" on the magic extractor. I have the background eliminated from the background; how do I get rid of these weird areas on the outline and in the face? Here's my after, if it works:
(I seem to be having trouble with the pixentral site--I upload the photo, then copy and past the URL that's at the top of the screen, then when I use the address it says image not available. What am I doing wrong there?)
I know you will let me know if you can't see the pic!
Tks guys!!!
http://www.pixentral.com/show.php?picture=1ITnhicj9Cfrx65qGjfkoanOQGl4A0
Hi Connie,
It looks like the Magic Extractor tool isn't up to the job for this particular image. This means that you are going to have to 'master' the art of making selections.
The principle is quite simple, you need to drawer a line around the parts of the image that you wish to retain. Then you can make changes to the parts of the photo that are contained within the selection, or as others have said, you can 'invert' the selection to make changes to the background.
* Open the original image in the Editor.
* Look for the icon of a Magnifying Glass in the tool palette on the left hand side of of your screen and click on it (or hit Z on your keyboard to activate it).
* On the toolbar that appears immediately above the image you will see the various options that are available with this tool. One of them is a button labelled 'Actual Pixels'. Click on it.
The image may appear too big to be displayed in its entirety on your screen but don't worry, you are simply going to be wiewing and working with the image at 100% size.
* Next, look for the icon of a Hand in the tool palette and click on it - in my version of PSE it is immediately below the magnifying glass (or hit H on your keyboard to activate it).
When you roll your mouse pointer over the image, the mouse icon appears as a little hand. If you press and hold down your mouse button whilst whilst rolling your mouse pointer over the image you'll actually move the image. Move the image until you can clearly see the top of the girl's head on your screen. This is where I suggest you start to make your selection.
* You're nearly ready to start 'selecting'. First you need to activate the selection tool in the tool palette. By default, it looks like a lasso but this may have been changed. You can always hit L on your keyboard to activate it.
* Notice how some of the tools in the palette have a little arrow in the bottom righ hand corner of their icons? This means that other similar tools are available but are currently hidden from view. If you click on the Lasso tool and hold down you mouse button the others will be revealed. I want you to select 'Polygonal Lasso Tool' from the list.
* OK we're ready to go! Move your Mouse Pointer to the exact point where the top of the girl's hair ends and the background begins. Click once with your mouse. You have just dropped an anchor onto the image. If you move your mouse around you will see a line connecting the anchor to the current mouse position.
* Move your mouse a small distance to right of the anchor. Again, click where the hairline ends and the background begins. You have just dropped another anchor.
* If you continue in this fashion, clicking at small intervals and dropping anchors, you will eventually trace all around the girl.
It can be quite time consuming at first, but this is one of the best ways to make selections because you have full control over where you dropped your anchors and therefore what it included in the selection.
A word of warning, don't double click in error! It will immediately make a connection to the start point.
A final quick tip. If you get to the edge of your screen and the image runs off, press and hold down the space bar on your keyboard, this will temporarily activate to hand to enable you to move the image to reveal more. As soon as you release the space bar, the icon will revert to a lasso and you can continue clicking.
Good luck!
Mark
Similar Messages
-
How to delete background noise on home video
How do I delete background noise on home video? Am transferring old Sony Camcorder tapes to DVD, using Adobe Premier Elements 11, Windows 7
Grandmaomi
Do you want to delete the whole audio from your home video and replace it with something else or do you want to do as you describe "delete background noise on home video"?
If the latter, a lot will be dependent on the nature of the background noise? Have you worked with any of the audio effects under fxEffects Tab/audio effects.
http://help.adobe.com/en_US/premiereelements/using/WS4B8135DA-083C-42eb-B09E-65070ECBC889. html#WSF8CBE888-6702-4f8b-A85E-71B4B1531883
Please see the description of the audio effects described under "audio effects" in the above Adobe document on Effects Reference.
If one of these noise removal audio effects does not work for you, you might explore Noise Reduction in the free audio editor Audacity.
http://wiki.audacityteam.org/wiki/Noise_Removal
We will be watching for your review of the above and your results.
Thank you.
ATR -
HOW TO DELETE DUPLICATE ELEMENT IN A VECTOR
Hi everybody!
If I've a vector like this vectA={apple,orange,grape,apple,apple,banana}
and I want final result be vectB={apple,orange,grape,banana}.
How should I compare each element in vectA and delete duplicate element. Like here duplicated element is apple. Only one apple remain in the vectB.
Any help,
Thanks.Hello all. Good question and good answers, but I would like to elaborate.
To begin with, you specifically asked to map the following:
{apple,orange,grape,apple,apple,banana} ==> {apple,orange,grape,banana}
Both of cotton.m's solutions do NOT do this, unfortunately. They are both useful in particular cases though, so think about what you're trying to do:
cotton.m's first solution is best if order does not matter. In fact, as flounder first stated, whenever order doesn't matter, your most efficient bet is to use a Set instead of a List (or Vector) anyways.
Set vectB = new HashSet(vectA);This code maps to {banana, orange, grape, apple}, because HashSets are "randomly" ordered.
cotton.m's second solution is good if you want to impose NEW ordering on the List.
Set vectB = new TreeSet(vectA);This code maps to {apple, banana, grape, orange}, because TreeSet uses alphabetical-order on Strings by default.
java_2006, your solution is the most correct, but it's a little verbose for my taste :)
more importantly, the runtime-efficiency is pretty bad (n-squared). calling Vector.contains performs (at worst) n comparisons; you're going to call it n times! Set.contains usually performs 2 comparisons (constant, much better), so I suggest you USE a Set to do the filtering, while still sticking with your good idea to use a List. When the ordering is "arbitrary" (so can't use TreeSet) but still relevant (so can't use HashSet), you're basically talking about a List.
I think saving A LOT of time is worth using A LITTLE extra space, so here, let's save ourself some runtime, and some carpal-tunnel.
import java.util.*;
class Foo {
public static void main(String[] args) {
String[] fruits = {"apple","orange","grape","apple","apple","banana"};
List l = Arrays.asList(fruits),
m = filterDups(l);
System.out.println(m);
// remember, both of the following methods use O(n) space, but only O(n) time
static List filterDups(List l) {
List retVal = new ArrayList();
Set s = new HashSet();
for (Object o : l)
if (s.add(o))
retVal.add(o); // Set.add returns true iff the item was NOT already present
return retVal;
static void killDups(List l) {
Set s = new HashSet();
for (Iterator i = l.iterator(); i.hasNext(); )
if (! s.add(i.next()))
i.remove();
// honestly, please don't use Vectors ever again... thanks!
// if you're going to be a jerk about it, and claim you NEED a Vector result
// then here's your code, whiner
public static void mainx(String[] args) {
String[] fruits = {"apple","orange","grape","apple","apple","banana"};
List l = Arrays.asList(fruits);
Vector v = new Vector(l);
killDups(v);
System.out.println(v);
} -
To delete Cost Element that already has posting.
Hi,
I need to delete Cost element that already has posting. I used KO04 error msg. KS133 Deletion is not possible (depend records exist in table COEP). Cummulative balance already zerorise.
Thank you.
Moderator: Please, search SDNHi, it's better not to use in productive.
See here IMG-Controlling-General Controlling-Production Start-Up Preparation-Delete Test Data-Delete Transaction Data and then Delete Cost Elements -
Delete of Element in Form for COPA line item report
Hello
I would like to change a form used for a COPA line item report - delete an element, which has been included for years. Unfortunately I got message, that 'You cannot delete, because element xxx is dependent'.
If I insert a new element if have no problems to delete it afterwards.
Can anybody help me?
Thanks in advance.
Best regards
Søren Kirch
LOGSTOR A/SHi,
To my knowledge, you cannot delete the element until you assign the new one in the form if only single element is assigned.
In case anymore element is there, there can be possibility this element is taken into consideration for making formula.
Regards,
Harish -
hi all,
i am working on ECC6.0.
i am not able to find the path to delete background job completly.
can any body give me the navigation for the same in ECC6.0
Thanks in advancehi
hopen ths wll help
To delete a background job explicitly, use:
BP_JOB_SELECT to obtain the jobname and job number of the job that you wish to delete.
You can select jobs according to all of the criteria available in the interactive background processing management system:
Jobname: Using a well-planned naming convention for your jobs will help you to select them precisely.
Job number
Name of the user who scheduled a job
Specifications for the start-time window/no start time scheduled
Start dependent upon predecessor jobs
Start dependent upon an event and event argument
Job status (preliminary, scheduled, ready, running, finished, aborted).
BP_JOB_DELETE to delete the job. The job log is deleted as well, if the job has already been run.
A job cannot delete itself. Also, a job that is currently running cannot be deleted. However, you can have it deleted automatically if it is completed successfully. See the DELANFREP parameter of JOB_OPEN.
Sample Program: Deleting a Background Job
Data declarations: BP_JOB_SELECT
DATA JSELECT LIKE BTCSELECT.
DATA SEL_JOBLIST LIKE TBTCJOB OCCURS 100 WITH HEADER LINE.
Sample selection criteria
JSELECT-JOBNAME = 'Name of job'.
JSELECT-USERNAME = SY-UNAME.
CALL FUNCTION 'BP_JOB_SELECT'
EXPORTING
JOBSELECT_DIALOG = BTC_NO
JOBSEL_PARAM_IN = JSELECT
IMPORTING
JOBSEL_PARAM_OUT = JSELECT
TABLES
JOBSELECT_JOBLIST = SEL_JOBLIST
EXCEPTIONS NO_JOBS_FOUND = 1
SELECTION_CANCELED = 2
OTHERS = 99.
In this example, the program loops over the internal table
SEL_JOBLIST and deletes each of the jobs that was selected.
Alternative: Have the user select the job to be deleted
with BP_JOBLIST_PROCESSOR. For an example, please see
Sample Program: Wait for Predecessor Job with JOB_CLOSE.
LOOP AT SEL_JOBLIST.
CALL FUNCTION 'BP_JOB_DELETE'
EXPORTING
FORCEDMODE = 'X'
JOBNAME = SEL_JOBLIST-JOBNAME
JOBCOUNT = SEL_JOBLIST-JOBCOUNT
EXCEPTIONS
OTHERS = 99.
ENDLOOP. *
FORCEDMODE deletes the job header even if other portions of the
job cannot be deleted from the TemSe facility, where they are
held.
FORCEDMODE can be used without fear of causing problems in the
System. Any TemSe problem that affects background jobs can be
resolved directly in the TemSe system and does not require the
job header.
regards
navjot
reward if helpfull -
Delete xml element not used in document
Hi,
If you have a number of texts tagged with an xml element and then delete the text, the element still exist in the structure.
You can see the element still connected to a text, by the blue diamond on the element symbol.
But i want do delete the elements that have no connection to texts, but cant find the right property to look for.
In Java script CS4.
Anyone knows?
/MikaelIf the (text) element is unplaced, its parentStory will be an XmlStory rather than a Story.
So try:
var elements = app.activeDocument.xmlElements[0].xmlElements.everyItem().getElements();
for (var i = elements.length - 1;i >= 0;i--){
if(elements[i].parentStory.constructor.name === "XmlStory"){
elements[i].remove();
This is untested. If you have tagged graphics frames it will need to be modified to not error on those.
Jeff -
How to delete an element in arraylist??
here i have an array list which contain details of an address book
I want to delete one element in the list
but its not deleting
Could anyone please take a look and help me
tank u in advance!!
else if (X.compareTo(F)==0)
{System.out.println("Pour supprimer une fiche : saisir le NUM INDEX.");
Integer c1 = new Integer(0);
Z = clavier.readLine();
c1=Integer.valueOf(Z);
System.out.println("Vous allez supprimer la fiche "+c1);
for( Iterator it= l.iterator(); it.hasNext();) {
Object p =it.next();
relations R=(relations)p;
if (R.getnumero()==c1)
l.remove(l.indexOf(p));}
for( Iterator it1= l.iterator(); it1.hasNext();) {
Object o =it1.next();
if (o.getClass().getName()=="carnetadresses.contact")
((relations) (o)).affiche();
}break;
}It's a good thing you use code tags for posting here. Could you now consider using code conventions?
- Why is the second loop nested in the first one? (this second loop looks weird anyway...)
- The Iterator has a remove method. You should use it in such case.
- Looks like you have a malpositioned/misused break statement (which is probably the reason why nothing happen, as it terminates the for loop after the first iteration.) -
How to delete an element in an array...(simple way)
hi,
Newbie here... please help how to delete an element in an array list?
there are alot of codes but they're complicated for a newbie like me..
(simple codes would be better ..:) thank you...makk_88 wrote:
since u want the simple method.....
just overrite the position of the element that need to be deleted with the next element in the array..
by doing this, element need to be deleted will not be accessibe..
i think u got..what i'm saying.
thnx..Mak,
Say we wish to delete the second element of an array a[1]. Do you really believe that a[1] = a[2] somehow magically deletes a[1]? I really don't think so Tim.
Two eggs, minus 1, equals two eggs? Interesting theory, but I think you're probably wrong.
*@OP:* My advise is just use an ArrayList.
Cheers. Keith. -
Hi!
I have a problem with my program. i have an array and in this array a several numbers. With the "In Range and Coerce" function i want to prove if the the array element is inside or outside of my limitations. If my array element is in the outside of my limitation, the code in the case structure should delete this element.
I need this program, because the array is displayed on a graph and i want only display the date, which is in the limitations.
I hope somebody could help me!
Best regards,
Peter
Labview 7.1 on Windows 2000
Attachments:
array.jpg 54 KBHallo Peter
Das Problem tritt auf, weil du immer wieder das selbe Array liest.
Die Knoten am Loop sollten Shift-Register sein, damit das Array, bei dem das Element gelöscht wurde, bei der nächsten Iteration gelesen wird. Allerdings musst du dann auf einen While-Loop umstellen, da du ansonsten Elemente lesen willst, die es im Array nicht mehr gibt.
Anbei eine mögliche Lösung.
Hoffe es hilft weiter.
Thomas
Using LV8.0
Don't be afraid to rate a good answer...
Attachments:
RemoveElements.vi 32 KB -
Hi,
I would like to delete an element in the tree.
but I was able to delete only the rootNode
Could you help me. thanks
IPrivateTreeView.ITreeNodeNode rootNode =
wdContext.nodeTreeNode();
IPrivateTreeView.ITreeNodeElement level2Delete = null;
level2Delete = rootNode.currentTreeNodeElement( );
// I would like to do somethink like that
level2Delete.REMOVE_ELEMENTHi Philippe,
it's sooooo easy This is a snipped from the IWDNode API
* Removes an element from the node collection. If an ICMIObservableList is
* bound to the node, this list is modified!
* @param element The element to be removed
* @return <code>true</code> if the element was in.
boolean removeElement(IWDNodeElement element);
so you simply have to call
wdContext.nodeTreeNode().removeElement(level2Delete);
Hope that helps.
Regards
Stefan -
I have created 5 elements of a node . I want to delete nodes. But it is giving error .
Context
sample (node ) [ cardinality 0...n , selection 0..1 ]
name (attr)
number(attr)
code :
public void onActioncreate(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActioncreate(ServerEvent)
for(int i=0;i<5;i++){
IPrivateClearnodeElements.ISampleNode node =wdContext.nodeSample();
IPrivateClearnodeElements.ISampleElement ele = node.createSampleElement();
ele.setName("Name "+i +" : " );
ele.setNumber(i+"");
node.addElement(ele);
//@@end
public void onActionclear(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionclear(ServerEvent)
wdComponentAPI.getMessageManager().reportSuccess(wdContext.nodeSample().size()+"");
for(int i=0;i<5;i++)
try{
wdContext.nodeSample().removeElement(wdContext.nodeSample().getSampleElementAt(i));
wdComponentAPI.getMessageManager().reportSuccess("Deleted : "+ i+"");
catch(Exception e)
wdComponentAPI.getMessageManager().reportSuccess(e.getMessage()" : " i+"");
//@@end
output :
5
Deleted : 0
Deleted : 1
Deleted : 2
Index: 3, Size: 2 : 3
Index: 4, Size: 2 : 4
Why it is not able to delete the last two node elements ????????????????//
Also any other way is there to delete elements of the node?
SriniHi srinivasa,
You have used the code to delete the element
for(int i=0;i<5;i++)
try{
wdContext.nodeSample().removeElement(wdContext.nodeSample().getSampleElementAt(i));
wdComponentAPI.getMessageManager().reportSuccess("Deleted : "+ i+"");
catch(Exception e)
wdComponentAPI.getMessageManager().reportSuccess(e.getMessage()" : " i+"");
Now.. See getSampleElementAt(i) method returns the element of i th element. On that case you have to use
getSampleElementAt(0). In that case it wiil return 0ih element end 0th element will be deleted. After deletion the 0th element 1st element will move to the 0th position.
So. in that way you can delete all the elements. -
Deleteing Photoshop Elements 4.01 on a Mac
Any idea's on how I should go about deleteing Photoshop Elements 4.01 on a Mac that now has Photoshop Elements 6.00 installed on it without screwing up the Photoshop Elements 6.0 installation?
Just put it in the trash and then go to your home>library>preferences folder and throw out the PE 4.0 Settings and Paths folders.
-
Background Element Size issue in Column Chart
Hi All,
I am trying to add multiple chart to hbox dynamically with each chart having vbox as an background element and only first and last chart is having axis.
for example shown in below image three column chart are getting added out of which second chart dosn't contain either axis on left or right.
I am facing a problem in making background element of same size means there should not be size difference as shown below:
How can i make all the vboxes that i have used of same size ?
Thanks in advance.Spacing is done based on the number of columns in the chart. It is better to use one chart and group the data accordingly. It is possible to add multiple axis for a chart
-
Deleting data elements and domains
hi guys,
how do i delete data elements that i had previously created in ztables (they are zelements and zdomains)permanently. thanks in advance.from the same place where u created them ie go to
SE11> Use menu option Dictionary Object> Delete
or
SE80 > Use menu option Workbench>Edit Object>Click the tab Dictionary>use the Delete icon
Regards,
Suresh Datti
Maybe you are looking for
-
I have .me and .mac email accounts on my iPhone 4. I thought I had successfully transitioned from MobileMe to iCloud, but something must be wrong. iCloud seems to work fine on my computer and, with the exception of two email accounts, seems to be fin
-
A&D ADSUBCON: wrong qty in delivery for subcontr.PO with more than one item
Hi gurus, i created a subcontracting PO with 2 item: item 10 for 200 PC and item 20 for 500 PC. When i create a delivery, using ADSUBCON (because i have to managed special stock E), the delivery quantities are wrong. I mean: I obtain a delivery with
-
Creating an email account?
Hi, I just bought a new macbook today, and have just put it on, done everything, it's all great! BUT... when you click on mail you have to type in things to configure it... how do you do that? I have a hotmail account, does it work with a hotmail acc
-
Table-Header to Excel-Header (Kopfzeile)
Hi, I defined a Header-Text using cl_salv_wd_header. I expecetd to see it in corresponding Excel-Header (Kopfzeile) after export, but i can't see this text anywhere. How can I export it to Excel? Thanks for tipps. Berti
-
Zen Vision: M Charging Probl
I bought a Zen Vision: M six or seven months ago, and since then the player has been great, my only problem with it is it is notorious for freezing when I try to change songs. This happens rarely, but when it does I have to do a full system reset. An