Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I'm putting the finishing touches on a GUIDE (MATLAB) developed GUI. I wanted to add tooltip strings to help the user but I don't want to overwhelm the user. Here are some examples of tootip strings that I have so far:
These are tooltip strings for 4 radio buttons that I have in a radio-group panel.
Apply annotation to highlighted region of the selected electrode pair
Apply annotation to entire data range of selected electrode pair
Apply annotation to entire data-set of selected lead (6 electrode
pairs)
Apply annotation to entire data-set for both leads (12 electrode
pairs)
This is the tooltip string for a toolbar push button
Press to start annotating. Depending on selected mode, a highlight
tool or window will appear
Are these too long or are they an acceptable length? Currently they convey all the information that I need to convey to the user. If these are too long, what could I do to shorten them?
Bonus question: Is there a general short-hand that is used for these types of user "hints" or "tips"?
I find them a little too long and convoluted. I don't know all your buttons, but if you don't have a button to specify a subrange, I would not mention 'entire range' and just omit that. Same with 'apply annotation'.
Compare:
Apply annotation to highlighted region of the selected electrode pair.
to
Apply to highlighted region of selected pair.
Similarly:
Apply annotation to entire data-set of selected lead (6 electrode pairs)
to:
Apply to selected lead of 6 electrode pairs.
Also, if the button already says 'annotate', there is no need to repeat it.
Press to start annotating. Depending on selected mode, a highlight tool or window will appear
to:
Show highlight tool or window to annotate
What I do generally is to keep it to the main point and rather exclude info that make it too long. If a wall of text pops up, people quickly lose interest.
If your GUI has ways to undo what you did with a button press, a curious press to see what it does is also a good thing.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have an image of Lego bricks which I have segmented in order to get only the blue and red colored bricks.
I also have two templates of bricks that I want to find.
I want to count the number of each of the template bricks in the image. I thought of counting the number of circles on top of the bricks, but some of the bricks are flipped. How could I do this?
Counting the number of circles on top of the bricks could be a very difficult task. A better solution is to look after better properties such like the relation between the hight and the width of the brick.
A possible start for segmentation is as follows:
E = regionprops(L,'all'); % E contains all properties
area = cat(1, E.Area) % saves the area in a variable
cp = cat(1,E.Centroid) % saves the center of the object
figure,imshow(label2rgb(L));
hold on; plot(cp(:,1), cp(:,2), 'b*'); % displays the center of the objects
It will show you your segmentation and will display some information about the properties of the obejects. From there on you will be able to look for what properties you are watching for and can select them in if statements. Depending on your image and your selected properties this could take up to 10 properties but most likely will be around 5.
For further information look here: MATLAB segmentation overview
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am learning flutter in most of my UI tutorial they are using this type of color code
0xfffbb448
I need to know what type is it? Where I can find these color codes? Try to find on google but not able to find which type of color code is this.
The color code 0xFFfbb448 is how you define a hexadecimal color in flutter. It starts with 0x, then 2 digits that represents the opacity/transparency, and then the last 6 digits is the color code Hex #.
You can get the 6 digit color code # from many sources such as https://htmlcolorcodes.com/ or https://www.w3schools.com/colors/colors_picker.asp
You may also find the 2 digits transparency code from sources such as https://gist.github.com/lopspower/03fb1cc0ac9f32ef38f4
An example:
Colors.blue.withopacity(0.5) would be the same as Color(0x800000FF)
where 80 means 50% opacity, and #0000FF is Hex color code for blue
There are many sources out there and similar questions like the below link to find out more.
How do I use hexadecimal color strings in Flutter?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I want to determine area of circular object in image below using MATLAB. Can someone explain codes for doing that? I got thresholded image but I did not proceed more.
If the binary image is img, and it contains only values 0 (background) and 1 (object), or it is a logical array containing true and false, and all the object pixels are considered part of the object, then sum(img(:)) is the area of the object in pixels.
If the segmented image contains multiple objects, or noise, it will have to be filtered first to leave only the pixels that belong to the one object.
To convert the area in pixels to an area in physical units you need to know the size of a pixel. This is often obtained by adding a ruler to the image.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a ply image. I want to color it according to my requirement.
1. (.ply) image from kinect
2. Change the rgb value of all point in cloud
e.g
.ply image where all points in the cloud are to be in yellow or blue color.
I have been able to display it using Matlab command "scatter3" but also want to save the colored point cloud as a new point cloud by "pcwrite" function of Matlab.
To answer properly to this question I should know which version of Matlab are you using. If you are using Matlab 2015a you should have these three function
pcread to read a 3D point cloud (.ply file);
pcshow to show a 3D point cloud;
pcwrite to write a .ply file.
Let's say your image is called "airplane.ply".
To properly use that you first read the image using:
ptCloud = pcread('airplane.ply')
then you will notice that ptCloud has different field. One of that regard the color, and is the one you have to change. To do so you have to specify a colour for each point in the cloud. So:
pointscolor=uint8(zeros(ptCloud.Count,3));
pointscolor(:,1)=255;
pointscolor(:,2)=255;
pointscolor(:,3)=51;
since [255 255 51] is the yellow color.
Then assign this matrix to the ptCloud.Color.
ptCloud.Color=pointscolor;
See the result:
pcshow(ptCloud)
and save the file:
pcwrite(ptCloud,'ptCloud.ply')
where 'ptCloud.ply' is the name you want to assign to the file.
This question already has answers here:
Set data tips programmatically?
(2 answers)
Closed 7 years ago.
How to show data tip message on a matlab plot programmatically with only a mouse click, and without using Data Cursor, to show custom messages in different positions like the following:
"You can't." From the "Tips" section of the help page for the function datacursormode:
You place data tips only by clicking data objects on graphs. You cannot place them programmatically (by executing code to position a data cursor).
But people do achieve this with hacking, like here. The short version of what they are doing is
h = ezplot('sin(x)')
cursorMode = datacursormode(gcf);
hDatatip = cursorMode.createDatatip(h);