Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated text UI #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 21 additions & 23 deletions imagelab-blocks.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ Blockly.defineBlocksWithJsonArray([
nextStatement: null,
colour: 345,
tooltip:
"This operator allows you to detect edges of an image of both horizontal and vertaical direction Moreover it is a first order derivative.",
"Detects image edges horizontally and vertically using first-order derivative.",
helpUrl: "",
},
{
Expand All @@ -1049,7 +1049,7 @@ Blockly.defineBlocksWithJsonArray([
nextStatement: null,
colour: 345,
tooltip:
"This operator allows you to detect edges of an image in both horizontal and vertaical direction. Moreover it is a second order derivative.",
"Detects image edges horizontally and vertically using second-order derivative.",
helpUrl: "",
},

Expand Down Expand Up @@ -1081,31 +1081,29 @@ Blockly.defineBlocksWithJsonArray([
nextStatement: null,
colour: 195,
tooltip:
"Distance Transformation generally takes binary images as inputs. In this operation,the gray level intensities of the points inside the foreground regions are changed to distance their respective distances from the closest 0 value.",
"Distance Transformation assigns gray intensities based on distance from the nearest 0.",
helpUrl: "",
},
{
type: "transformation_laplacian",
message0: "Apply laplacian with %1 depth",
args0: [
{
type: "field_number",
name: "ddepth",
value: 0,
min: -10,
max: 10,
},
"type": "transformation_laplacian",
"message0": "Apply laplacian with %1 depth",
"args0": [
{
"type": "field_number",
"name": "ddepth",
"value": 0,
"min": -10,
"max": 10
}
],
previousStatement: null,
nextStatement: null,
colour: 195,
tooltip:
"Laplacian Transformation is also a derivative which is used to find edges in an image.It is a second order derivative mask.Moreover, there are two classifications: Positive Laplacian and Negative Laplacian.Unlike other operators, Laplacian doesn't take out edges in any particular direction, but it takes out edges in inward edges and outward edges.",

helpUrl: "",


},
"previousStatement": null,
"nextStatement": null,
"colour": 195,
"tooltip": "Laplacian detects image edges using a second-order derivative, capturing inward and outward edges.",
"helpUrl": ""
}

,
]);

/*
Expand Down
1 change: 1 addition & 0 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -351,3 +351,4 @@ a.action-menu-item {
.image-preview-div::-webkit-scrollbar-track {
background-color: rgba(0, 0, 0, 0);
}